[SR-Users] What could cause an intermittent fault (28) with http_query()?

Tim Chubb tim.chubb at voicesimplified.com
Sun Feb 1 11:11:41 CET 2015


I will try and capture a failure with high verbosity enabled, although I doubt its DNS as I have had the same issue using an IP address in the URI as well as using a domain name in it….

From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Brandon Armstead
Sent: 01 February 2015 05:21
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] What could cause an intermittent fault (28) with http_query()?

What happens if you run the daemon in foreground / high verbosity ?  Paste error logs back here.  My guess would be there is some kind of blocking happening, ie DNS lookup possibly try using an alternate resolver ?

Sent from my iPhone

On Jan 30, 2015, at 10:19 AM, Tim Chubb <tim.chubb at voicesimplified.com<mailto:tim.chubb at voicesimplified.com>> wrote:
Hi All

I seem to be experiencing an intermittent fault with the utils http_query() method.  We are implementing a routing and white list component that is accessed via a REST api, however i have observed several occasions where this is logged:
Jan 30 16:04:17 vs-kam-prod02 /usr/local/sbin/kamailio[13184]: ERROR: utils [functions.c:149]: http_query(): failed to perform curl (28)

The indicated error number (28) seems to suggest a timeout is occurring with curl, however examining a capture of network traffic when this happens shows that a http request is not sent from the server to the destination at all, usually attempting a second call results in everything working correctly.

As stated its intermittent in its nature and so I cannot reliably trigger this issue, other than through sheer repetition, so any ideas as to what could be causing this issue would be gratefully received,
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150201/f518d481/attachment.html>


More information about the sr-users mailing list