Error: Endpoint cannot be created in this endpoint type. Details: No result until timeout reached.

Document ID : KB000004510
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Receive the following when creating an SSH Device SAM endpoint:

Error: Endpoint cannot be created in this endpoint type. Details: No result until timeout reached. 

 

Cause:

This could be because the Java Connector Server is bound using only IPv6. Executing the following command should allow you to determine this:

# netstat -na|grep 20411 

If it returns the following:

tcp 0 0 :::20411 :::* LISTEN 

But not:

tcp 0 0 0.0.0.0:20411 0.0.0.0:* LISTEN 

Then it is bound using only IPv6

Resolution:

To fix this, you either need to make sure that the server hosting the Java Connector Server can be resolved using IPv6 (e.g. add to hosts file or DNS), or force the Java Connector Server to use IPv4:

1) Edit /etc/init/im_jcs.conf 

Find: 

JVM_OPTIONS="-Xms256M -Xmx512M" 

Modify to: 

JVM_OPTIONS="-Xms256M -Xmx512M -Djava.net.preferIPv4Stack=true" 

 

2) Restart jcs: 

/etc/init.d/im_jcs restart