Just wanted to ask if you need my help to test/check/etc.
________________________________
Alexandru Covalschi
VoIP Engineer and System Administrator
tel: +373 673 98 493
21 нояб. 2017 г., в 11:58, Alexandru Covalschi
<568691(a)gmail.com> написал(а):
Kamailio is actually starting, please take a look at that debug=4 log file:
https://filebin.net/r54y3jkmzdyk9zak/syslog_http_client_query_failed.txt
<https://filebin.net/r54y3jkmzdyk9zak/syslog_http_client_query_failed.txt>
at line 1042 http_client module is successfully loading, but at line 12785 it fails to
load http_client_query
Also please check line 50385 in
https://filebin.net/352vff41fwx7uowg/syslog_http_query_curl_6.txt
<https://filebin.net/352vff41fwx7uowg/syslog_http_query_curl_6.txt>
I'm using http_query here with 5.0.4 http_client, you can see that http_client makes
a request, but afterwards it returns curl error 6, but the weirdest thing is - at line
19887 I request token from the very same IP address, only url is changed, and it actually
works fine.
________________________________
Alexandru Covalschi
VoIP Engineer and System Administrator
tel: +373 673 98 493
> 21 нояб. 2017 г., в 10:44, Daniel-Constantin Mierla <miconda(a)gmail.com
<mailto:miconda@gmail.com>> написал(а):
>
> But then kamailio is not starting, or?
>
> Can you provide all the error message as they are printed in syslog file? File, line
and other details are part of the logs message, allowing to identify the location in the
source code where that happens ...
>
> Cheers,
> Daniel
>
> On 21.11.17 09:38, Alexandru Covalschi wrote:
>> It is still one of the issues
>>
>> ________________________________
>> Alexandru Covalschi
>> VoIP Engineer and System Administrator
>> tel: +373 673 98 493
>>
>>> 21 нояб. 2017 г., в 9:40, Daniel-Constantin Mierla <miconda(a)gmail.com
<mailto:miconda@gmail.com>> написал(а):
>>>
>>> Hello,
>>>
>>> in your email in this thread, you said:
>>>
>>> > When I try to change http_query to http_client_query it fails to load
with error "failed to find command http_client_query".
>>>
>>> Is it still the case, or that was sorted out?
>>>
>>> Cheers,
>>> Daniel
>>>
>>> On 20.11.17 22:43, Alexandru Covalschi wrote:
>>>> Works ok on 4.4.6. So I suppose it's a weird 5.0.4 + my environment
bug. I'm rolling back to 4.4.6 right now, will keep one 5.0.4 machine for testing (on
debian 9)
>>>> Let me know if I can provide any dumps/cores etc.
>>>>
>>>> ________________________________
>>>> Alexandru Covalschi
>>>> VoIP Engineer and System Administrator
>>>> tel: +373 673 98 493
>>>>
>>>>> 20 нояб. 2017 г., в 23:29, Alexandru Covalschi <568691(a)gmail.com
<mailto:568691@gmail.com>> написал(а):
>>>>>
>>>>> So the weirdest thing is Kamailio actually sends the request, but it
returns curl error 6 in the answer variable. I have a plenty of clonned servers and same
behaviour is on all of them, also just now tried on a fresh debian 9 - same result.
I'm inside a virtual machine (vmware), but not sure it matters...
>>>>>
>>>>> ________________________________
>>>>> Alexandru Covalschi
>>>>> VoIP Engineer and System Administrator
>>>>> tel: +373 673 98 493
>>>>>
>>>>>> 20 нояб. 2017 г., в 22:37, Alexandru Covalschi
<568691(a)gmail.com <mailto:568691@gmail.com>> написал(а):
>>>>>>
>>>>>> I often get WARNING: http_client [functions.c:281]:
curL_query_url(): Couldn't resolve host, while I don't even use hostnames.
>>>>>> After I changed IP address to hostname (which I've added into
/etc/hosts) nothing changed. It seems like a weird bug, but I've no idea - is it CURL
or kamailio, but when I execute curl from shell it is working fine. I have google dns in
resolve.conf and nslookup is also working ok.
>>>>>> Can anyone help me with that?
>>>>>>
>>>>>> ________________________________
>>>>>> Alexandru Covalschi
>>>>>> VoIP Engineer and System Administrator
>>>>>> tel: +373 673 98 493
>>>>>>
>>>>>>> 20 нояб. 2017 г., в 22:06, Alexandru Covalschi
<568691(a)gmail.com <mailto:568691@gmail.com>> написал(а):
>>>>>>>
>>>>>>> t
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users(a)lists.kamailio.org <mailto:sr-users@lists.kamailio.org>
>>>>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>>>
>>> --
>>> Daniel-Constantin Mierla
>>>
www.twitter.com/miconda <http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>>> Kamailio Advanced Training -
www.asipto.com <http://www.asipto.com/>
>>> Kamailio World Conference - May 14-16, 2018 -
www.kamailioworld.com
<http://www.kamailioworld.com/>
>
> --
> Daniel-Constantin Mierla
>
www.twitter.com/miconda <http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
> Kamailio Advanced Training -
www.asipto.com <http://www.asipto.com/>
> Kamailio World Conference - May 14-16, 2018 -
www.kamailioworld.com
<http://www.kamailioworld.com/>