[OpenSIPS-Users] Async rest_client timeout
Callum Guy
callum.guy at x-on.co.uk
Thu Nov 2 08:29:56 UTC 2023
I wanted to follow up with confirmation that opensips is behaving
normally here and an issue with delayed HTTP is in fact occurring
outside of the server.
My apologies for any confusion.
Best regards,
Callum
On Tue, 31 Oct 2023 at 16:21, Callum Guy <callum.guy at x-on.co.uk> wrote:
>
> Hi All,
>
> I'm seeing a small number of sessions reporting timeouts for async
> rest_client post requests. These occur at peak times for system load
> and present the following error:
>
> ERROR:rest_client:_resume_async_http_req: connected, but transfer timed out (5s)
>
> The return code is -3 and HTTP response arrives as 0. My web server
> itself shows that the requests complete in <200ms. The
> _resume_async_http_req errors arrive ~400ms after the request was
> issued.
>
> I suspect that something is exhausted (i.e. too many async or curl
> sessions) however I am not aware of any configuration options that
> would help.
>
> The following settings are employed:
>
> modparam("rest_client", "connection_timeout", 4)
> modparam("rest_client", "curl_timeout", 5)
> modparam("rest_client", "max_async_transfers", 250)
> modparam("rest_client", "ssl_verifyhost", 0)
>
> Can anyone offer advice on where I should be looking to resolve this issue?
>
> version: opensips 3.2.10 (x86_64/linux)
> libcurl-7.76.1-23.el9_2.1.x86_64
>
> Many thanks,
>
> Callum
--
Voting link <https://generalpracticeawards.com/supplier-voting-2023/> (it
takes less than 20 seconds!)
*0333 332 0000 | x-on.co.uk
<https://www.x-on.co.uk> | ** <https://www.linkedin.com/company/x-on>
<https://www.facebook.com/XonTel> <https://twitter.com/xonuk> ** |
**Practice Index Reviews <https://practiceindex.co.uk/gp/x-on>*
*Our new
office address: 22 Riduna Park, Melton IP12 1QT.*
X-on
is a trading name
of X-on Health Ltd a limited company registered in
England and Wales.
Registered Office : Glebe Farm, Down Street, Dummer, Basingstoke,
Hampshire, England RG25 2AD. Company Registration No. 2578478.
The
information in this e-mail is confidential and for use by the addressee(s)
only. If you are not the intended recipient, please notify X-on immediately
on +44(0)333 332 0000 and delete the
message from your computer. If you are
not a named addressee you must not use,
disclose, disseminate, distribute,
copy, print or reply to this email. Views
or opinions expressed by an
individual
within this email may not necessarily
reflect the views of X-on
or its associated companies. Although X-on routinely
screens for viruses,
addressees should scan this email and any attachments
for
viruses. X-on
makes no representation or warranty as to the absence of viruses
in this
email or any attachments.
More information about the Users
mailing list