How to make long-running RESTMessageV2 call using MID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2015 05:13 PM
Hi All,
I am on Fuji Patch 8.
The endpoint is expected to take 11 minutes to respond, but the call from REST message times out.
Here is the ECC response:
<results error="The request failed: Socket timeout" probe_time="185236">
I have also set the property:
glide.rest.outbound.ecc_response.timeout to 1500000
glide.http.timeout to 1500000
glide.http.connection_timeout to 1500000
Here is the code I run:
var restMessage = new sn_ws.RESTMessageV2( 'ABC', 'get' );
restMessage.setEccParameter( 'skip_sensor', 'true' );
restMessage.setStringParameter( 'url', 'https://abc.blah.com' );
restMessage.setStringParameter( 'resource_name', 'books' );
restMessage.setStringParameter( 'query', 'active=TRUE' );
restMessage.setHttpTimeout(150000);
restMessage.execute();
Why is this timing out at roughly 3 minutes?
Are the parameters having no effect?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 01:55 AM
Hi,
Did you ever get a solution for this?