glide.rest.outbound.ecc_response.timeout system property use?

imran rasheed
Tera Contributor

We are facing an issue with integrations where POST calls are getting timeout intermittently. These are Synchronous POST calls which goes through MID Server. While checking with vendor they suggested us to go with Asynchronous method and waitforresponse(time). And also set the property set the glide.http.outbound.max_timeout.enabled system property to false & add property glide.rest.outbound.ecc_response.timeout with integer type to add the seconds.

1. I don't understand the fact why do we need to add property  glide.http.outbound.max_timeout.enabled  to false , because we are already setting waitforresponse(time) through Asynchronous method.

2. glide.http.outbound.max_timeout.enabled  to false - Will this property affect the timeout of 30 seconds for other Synchronous integration calls? I mean will it affect other Synchronous POST call integrations globally?

3. Why do we need to add property glide.rest.outbound.ecc_response.timeout, when we already have glide.http.outbound.max_timeout.enabled system property to false is set & waitforresponse(time) is set for asynchronous calls?

6 REPLIES 6

imran rasheed
Tera Contributor

@SaiRaviKiran Akella  @Ankur Bawiskar  Need your help on this.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please find responses below

1. I don't understand the fact why do we need to add property glide.http.outbound.max_timeout.enabled to false , because we are already setting waitforresponse(time) through Asynchronous method.

- If glide.http.outbound.max_timeout.enabled is set to true and a value is passed in the waitForResponse() method, the system uses the smallest value from either the waitForResponse() method or the glide.http.outbound.max_timeout system property.

refer below links

Outbound REST Web Services RESTMessageV2 and SOAPMessageV2 execute() vs executeAsync() Best Practice...

Web services release notes

Synchronous Outbound Web Service Calls Timing Out After 30 seconds Following Upgrade

After an upgrade, outbound REST or SOAP messages may start to time out

How can I avoid the "No response for ECC message request with sysid=xxx after waiting for 30 seconds...

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

By default, the property "glide.http.outbound.max_timeout.enabled" is not set in an instance. So when I am changing a method to Asynchronous and add waitforresponse(60). Will it work? I tried setting this up, but still it got timed out in 30 seconds.

What is the need for property "glide.rest.outbound.ecc_response.timeout" to be set, when "glide.http.outbound.max_timeout.enabled" is being already set.

 

Not much aware on that part

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader