Unix server host connection- command time out

Hi,

 

 

For few servers , host connection by sheel is shoing command time out error.

 From communication logs, i found the error is  as below

 

CDATA: Key exchange failed: Timeout when connecting to server 

 

 

What is this error and how to resolve this?? 

 

I changed shell command timeout value from 15000 to 20000 from global settings but still getting same error. Please find the communication log attached herewith

 

Please suggest.

 

 

with regards,

Nick

  • Hi Nick,

     

    Based on the communication log provided, the following entries were found:

     

    <log start="16:05:16" severity="debug">NTCMD: Timeout trying to connect to remote agent, try increasing credential timeout value</log>

            <CONNECT start="16:05:58" duration="42253" CMD="client_connect" RESULT="" IS_NULL="Y" type="uda" credentialsId="42590_1_CMS">

                   <ERROR class="com.hp.ucmdb.discovery.library.clients.ddmagent.AgentSessionException">

                           <message>[CDATA&colon; java.net.ConnectException: Connection timed out: connect]</message>

                           <stacktrace>

            ……….

            ………….

            <log start="16:05:58" severity="debug">Got AgentSessionException</log>

            <log start="16:05:58" severity="debug">UDA: Connection timed out</log>

            <log start="16:05:58" severity="debug">Reporting error code 401 to framework.</log>

            <log start="16:05:58" severity="debug">Error message is: SSH: Connection timed out</log>

            <log start="16:05:58" severity="debug">Reporting error code 400 to framework.</log>

            <log start="16:05:58" severity="debug">Error message is: NTCMD: Timeout trying to connect to remote agent, try increasing credential timeout value</log>

            <log start="16:05:58" severity="debug">Reporting error code 401 to framework.</log>

            <log start="16:05:58" severity="debug">Error message is: UDA: Connection timed out</log>

    </execution>

     

    Which indicates two of the credentials have the timeout set to 20000 and the other to 25000.

     

    We suggest to test the credential from Data Flow Probe Setup and see if you can connect. Then increase the timeout in the credential definition.

     

    Please, let us know the results.

     

    Thank you.

  • Hi,

     

    Thanks for the reply.

     

    I checked the server ssh connecion by putty but it takes times to connect.

     

    I think this is the reason why it is showing command time out.

     

     

    Please let me know what is key exchange error ??

     

     

    with regards,

    Nick

  • Hello,

     

    Where, at what stage are you seeing this " key exchange error message"

     

    Regards,

    Ana Acosta-Diaz