After upgrading to Madrid, Kingston Patch 14 or higher, or London Patch or higher, outbound API messaging, RESTMessageV2 and SOAPMessageV2 API calls, may start to time out after 30 seconds for a response. But before the upgrade the timeouts did not occur.
You might see errors such as this in the logs:
Error: No response for ECC message request with sysid=nnnn... after waiting for 30 seconds in ECC Queue
London Patch 7 (or higher)
Kingston Patch 14 (or higher)
In Madrid, London Patch 7+, and Kingston Patch 14+, two system properties were added on the backend:
glide.http.outbound.max_timeout with a maximum value of 30 seconds
glide.http.outbound.max_timeout.enabled with a default value of true
The property glide.http.outbound.max_timeout specifies the number of seconds that RESTMessageV2 and SOAPMessageV2 APIs wait for a response from a synchronous call, and the default and maximum value for this property is 30 seconds. As a result, outbound REST and SOAP API calls will start to time out after waiting 30 seconds for a response.
1. Add the following system property on the UI:
2. Use the waitForResponse() method to set the timeout in the REST or SOAP messages. Here are some examples:
The properties glide.http.outbound.max_timeout and glide.http.outbound.max_timeout.enabled may not be documented in the Kingston and London documentation since they were added to these releases in later patches.