use Outbound rest api send request by midServer get StatusCode :0 The request failed: Request not sent to uri....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 11:15 PM
I send an outbound request to the target server through the mid server
StatusCode:0
error message:The request failed: Request not sent to uri= xxxxx: org.apache.commons.httpclient.HttpException: The host did not accept the connection within timeout of 10000 ms *.xxxx
This looks like a network connect problem
My route looks like this:
ServiceNow -> Mid Server(in my local PC) -> target Server
1.ServiceNow -> Mid Server(in my local PC)
mid Server's Status is Up and mid Server's Validated is Yes
Can this indicate that the connection from servicenow to mid server is normal?
2.MidServer(in my local PC) -> target Server
in my local PC ,ping target Server is normal ,This indicates that my PC to target server is normal
Can this indicate that the connection from mid server to target Server is normal?
Does it seem that the mid server and the target server cannot be connected?
Is there any way to verify my idea? I don't know what to do
and What other circumstances may cause this problem?
supplement:The target server is running normally, and other applications on my local PC can directly access it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 02:11 AM
hi, it means the connection on network level looks Ok. Please check logs on the target server to see error messages there as well.
And try to set to false the following system property "com.glide.communications.httpclient.verify_hostname" and let us know if it helped.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 04:47 AM
Hi,Appli
Thank you.I tried. But it doesn't work.
This WARNING appears in the log of the mid server
WARNING *** WARNING *** OCSPCheck connection timeout: http://ocsp.digicert.com
WARNING *** WARNING *** Request not sent to uri= https://xxxxx: org.apache.commons.httpclient.HttpException: The host did not accept the connection within timeout of 10000 ms *.xxxx: The host did not accept the connection within timeout of 10000 ms *.xxxxx
Do you have any other ideas? I can't find anything wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 09:30 PM
Hi, please check if outgoing traffic is allowed to the Entrust OCSP server from the MID Server host. MID server requires access to ocsp.entrust.net.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2022 06:46 PM
hi everyone,By mid server browser, Does the browser refer to the browser of the host where the mid server is located?
My mid server is installed on a Windows server virtual machine
The target server can be opened on the browser of the virtual machine
Can this prove that 2 is normal?
However, the rest API is still timeout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 10:27 PM
Thanks to
Mid server OCSPCheck connection, timeout: http://ocsp.digicert.com - Now Platform - Question - Servi...