Highlighted
Absent Member.. Absent Member..
Absent Member..
271 views

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

0 Likes
3 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Unix server host connection- command time out

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.

"HP Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'
Tags (1)
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Unix server host connection- command time out

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

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Unix server host connection- command time out

Hello,

 

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

 

Regards,

Ana Acosta-Diaz

"HP Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.