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

Title: [SOLVED] Web Services timeout in URS 8.1 does not seem to work
Post 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
Title: Re: Web Services timeout in URS 8.1 does not seem to work
Post by: Kubig on June 08, 2023, 08:57:17 AM
Those options do not work as expected - try to use following function within routing strategy :

SetCallOption['request_timeout','1000']
Title: Re: Web Services timeout in URS 8.1 does not seem to work
Post by: Gef Buneri on June 08, 2023, 09:21:16 AM
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.
Title: Re: Web Services timeout in URS 8.1 does not seem to work
Post by: terry on June 21, 2023, 11:08:19 PM
...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
Title: Re: Web Services timeout in URS 8.1 does not seem to work
Post by: Gef Buneri on June 23, 2023, 07:23:01 AM
Thanks Terry.