REST timeout

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2020 07:10 AM
Hi all,
I see timeout errors when connecting to a REST API and not sure what's going on.
We are trying to connect to Oracle Enterprise Managers REST API from ServiceNow. When I use the Postman client from my laptop, it works fine but I had to connect to my corporate VPN and use a self-signed certificate for the same. Below is the output from Postman.
When I try to connect from ServiceNow, it times out and here is the error in the ECC Queue
Below is the REST code that I am executing.
Below property is enabled in our ServiceNow instance
Thanks,
Ravish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2020 07:18 AM
Hi,
You might have to increase the property
refer below links for more help
glide.rest.outbound.ecc_response.timeout system property use?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2020 07:22 AM
Hi,
try setting higher value to this property
- Property:
glide.http.outbound.max_timeout
- Description: Specifies the number of seconds that RESTMessageV2 and SOAPMessageV2 APIs wait for a response from a synchronous call. The maximum value is 30 seconds.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2020 10:34 AM
thanks Ankur. So far i tried both and it did not work. it seems to be related to be a self signed certificate issue as the postman tool also seems to be asking for it before processing. i need to add one to the MID server. would you know what is the correct documentation for the same
is it https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/mid-server/task/add-ssl-certificates.html
or https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/general/task/t_UploadACertificateToAnInstance.html