Connection timed out: connect

Hi All,

We are trying to call a HTTPS URL from Webmethods using pub.client:http
It is throwing this error : Connection timed out.

But the same URL when accessing in browser, it is working. Any suggestions what might be causing this issue here.

Below is the URL details :

This gives response as ‘yes’ or ‘no’ . From browser, this is working but WM throwing error.

Hi Sangamesh,

are you invoking via Browser and via service from the same box?
Can you check with traceroute or ping if the request takes the same time to get answered approx.?

You might want to try to tweak the timeout parameter for the https invocation in your service to see if anything changes.


In addition;
Do you have a proxy configured in your browser that your haven’t in your Integration Server ?

1 Like

In addition to the excellent points above, I find these diagnostics useful:

  • OpenSSL SSL client: Use command format: openssl s_client -connect <hostname>:<port>
    (for example: openssl s_client -connect
    This command is also able to use client certificates.
  • Curl
    (for example, curl -v)
  • Easily verify IS can connect to a third party. You simply invoke pub.client:http via your web browser and point it to the remote website
    (for example, http://<IS>:5555/invoke/pub.client:http?url=

The first two tools (openssl and curl) must be run from the command line, after logging into your IS box. There are versions available for both Windows and Unix.

1 Like

Hi Sangamesh,

Can you check whether the timeout parameter have been set in your the pub.client:http?
If no, make sure server configuration parameter had set, because if you do not specify a value, Integration Server will uses the value of the server configuration parameter.


1 Like

Hi John,

I have configured proxy and tried testing. Below is the response I am getting :

“The request was rejected by the HTTP filter. Contact the server administrator.”

Any idea on this issue?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.