Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Gef Buneri on June 08, 2023, 08:51:12 AM
-
I have configured the http_conn_idle_timeout in the web section of URS's options, but when the interaction reaches the web service block in the strategy, if it does not get a response it stays there indefinitely (maybe is not exactly idle). I set soap_conn_idle_timeout too, but in this senario the request is an HTTP POST, not SOAP.
Is there a way to set an "absolute" timeout to force the request to abort if there is no return from the request?
Best,
Gef
-
Those options do not work as expected - try to use following function within routing strategy :
SetCallOption['request_timeout','1000']
-
So using a local override, same as a DB request.
It works, thank you very much Kubig, I didn't think this method was applicable to web services, I usually use it for DB interactions.
-
...idle_timeout options have different usage - how long to keep unused open connections in cache of connections that httpbridge support.
Option that controls how long to execute requests to external services is default/request_timeout
-
Thanks Terry.