org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within

AaravOjha
Tera Contributor

when i post data to a endpoint i m getting the below error can someone please help 


org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 10000

1 REPLY 1

AttilaVarga
Mega Sage

This error message usually means that the host (the system, which initiates the HTTP request) is not able to connect to the endpoint (HTTP server).

 

First I would check the followings:

- The URL which is used in the HTTP request is set up correctly or not. You can see the details in the HTTP Log (sys_outbound_http_log)

- Is the HTTP Service available from the ServiceNow instance?

- Is the HTTP Service available from another tool?