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-24-2022 11:56 PM
Hi,
1) Ok
2) You still need to check if MID server can reach the target server over the port of REST endpoint. Consider to call REST web service URL from the browser on MID server, to see if the request will timeout or not.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2022 06:18 PM
Thank you.Can you tell me how to confirm 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2022 06:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2022 08:44 PM
What is the browser of mid server?
Is it the local browser where my mid server is installed?
I tried. The local browser on the server where my mid server is located can open this URL