[SR-Users] http_async_client problem with tls_ca_path

Giacomo Vacca giacomo.vacca at gmail.com
Fri Nov 3 00:39:15 CET 2017


Thanks Giovanni,
the good news is that I'm able to reproduce the issue (same CentOS and
libcurl version, but kamailio 5.1.0-pre0).

I still don't understand the root cause though.

In my case under some light load in about 1 case every 20 I see something
like this logged (debug level 3):

Nov  2 23:19:56 localhost /usr/local/sbin/kamailio[26767]: INFO:
http_async_client [http_multi.c:238]: debug_cb(): [cURL] warning:
CURLOPT_CAPATH not a directory (/usr/local/etc/kamailio/ssl/ca/ca.pem)
...
Nov  2 23:19:56 localhost /usr/local/sbin/kamailio[26767]: ERROR:
http_async_client [http_multi.c:574]: check_multi_info(): handle
0x7fc351833080 returned error 77:

'/usr/local/etc/kamailio/ssl/ca/ca.pem' is the CA root file, while
tls_ca_path is instead set to '/usr/local/etc/kamailio/ssl/ca'.

Can you see that curl warning in your case?

Regards,
Giacomo

On 2 November 2017 at 11:30, gmele <giovanni.mele at nagra.com> wrote:

> Hello Giacomo,
>
> I forgot to put these information ;-)
>
>
> Kamailio : 5.0.2-3.1
> OS: Linux CentOS 7.4.178
> Curl : 7.29.0-42
>
> Regards
>
>
> Giovanni
>
>
>
>
> --
> Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171103/6d9550fc/attachment.html>


More information about the sr-users mailing list