[SR-Users] http_query failed to perform curl (28) errors

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 17 15:26:30 CEST 2015


Hello,

On 16/06/15 02:00, Armen Babikyan wrote:
> Hello,
>
> I am running across the same issue as described here:
>
> http://lists.sip-router.org/pipermail/sr-users/2015-February/086796.html
>
> Was there a resolution to this issue?  I come across this issue fairly regularly.  Unlike the OP, however, I do not have any luck by retrying my query: when I place my http_query within a while loop and keep 1-second delays between calls, all consistently fail with error 28.  After long pauses, http_query()s start to work as expected.
>
> I think that previous thread mentions DNS as a possible culprit. Is http_query using libcurl's preferred resolver, or is it using Kamailio's built-in DNS cache?  I really doubt my local resolver is cause of the issue here.
>
> Any insight is appreciated.  Thanks!
>
The internal dns cache is used only for sip operations. I haven't
checked the sources, by I expect that http_query() is passing the url as
it is to underling libcurl code.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com




More information about the sr-users mailing list