[OpenSIPS-Users] MSILO + TLS, error on first try to send message

Игорь Павлов i.p at ringcloud.ru
Thu Nov 26 08:34:24 CET 2015


Hi, all. We have opensips 1.11 with TLS and MSILO:

~# opensips -V
> version: opensips 1.11.5-tls (x86_64/linux)
> flags: STATS: On, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST,
> SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> git revision: 1f5df18
> main.c compiled on 13:29:37 Nov 20 2015 with gcc 4.9.2


TLS as server works fine, no problem. Problem in this scenario (all
transport - tls):

Alice send some messages to Bob (test1, test2, test3), Bob is unregistered.
When Bob registering on opensips MSILO trying to send saved messages.
opensips resolving address for my example.com (same server) and sending
message to it self as TLS client -> TLS server.

Nov 26 10:25:49 vs01 /usr/sbin/opensips[9471]:
> ERROR:core:tls_blocking_write: TLS send timeout (10000)
> Nov 26 10:25:49 vs01 /usr/sbin/opensips[9471]: DBG:core:tcp_send: after
> write: c= 0x7f44deb19170 n=-1 fd=30
> Nov 26 10:25:49 vs01 /usr/sbin/opensips[9471]: DBG:core:tcp_send:
> buf=#012MESSAGE sip:101 at example.com;transport=tls SIP/2.0#015#012Via:
> SIP/2.0/TLS 192.168.1.136:5061;
> Nov 26 10:25:49 vs01 /usr/sbin/opensips[9471]: ERROR:core:tcp_send: failed
> to send
> Nov 26 10:25:49 vs01 /usr/sbin/opensips[9471]: ERROR:tm:msg_send: tcp_send
> failed
> Nov 26 10:25:49 vs01 /usr/sbin/opensips[9471]: ERROR:tm:t_uac: attempt to
> send to 'sip:101 at example.com;transport=tls' failed
> Nov 26 10:25:49 vs01 /usr/sbin/opensips[9475]: DBG:core:tls_close: closing
> TLS connection


Full log in attach.


____________
Best regards,
Igor Pavlov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151126/9c39a20f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msilo_tls_error.log
Type: application/octet-stream
Size: 6193 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20151126/9c39a20f/attachment.obj>


More information about the Users mailing list