Hello List,<br><br>REGISTER messages seem to be handled correctly, but I'm still having
troubles with TLS:
<br><br>I have successful audio + video calling done through this opensips server with TLS but i got below error very rapidly and after some days this opensips server not get request and need to restart opensips service then its work fine.<br>
<br>Apr 30 14:52:04 siplocal /usr/local/sbin/opensips[15556]: INFO:core:_tls_read: TLS connection to XXX.XX.XXX.XXX:XXXXX closed cleanly<br>Apr 30 14:52:31 siplocal /usr/local/sbin/opensips[15555]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed<br>
Apr 30 14:52:31 siplocal /usr/local/sbin/opensips[15555]: ERROR:core:tcp_send: connect failed<br>Apr 30 14:52:31 siplocal /usr/local/sbin/opensips[15555]: ERROR:tm:msg_send: tcp_send failed<br>Apr 30 14:52:31 siplocal /usr/local/sbin/opensips[15555]: INFO:core:probe_max_sock_buff: using snd buffer of 512 kb<br>
Apr 30 14:52:31 siplocal /usr/local/sbin/opensips[15555]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket<br>Apr 30 14:52:31 siplocal /usr/local/sbin/opensips[15555]: ERROR:core:tcp_blocking_connect: poll error: flags 18<br>
Apr 30 14:52:31 siplocal /usr/local/sbin/opensips[15555]: ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR (111) Connection refused<br><br>I have tried on both opensips server is <b>opensips-1.7.2-tls</b> and <b>opensips 1.8.0-beta-tls</b> but above problem is occurred.<br>
<br>opensips -V<br>
<b>version: opensips 1.7.2-tls (x86_64/linux)</b><br>
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST,
SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
svnrevision: unknown<br>
@(#) $Id: main.c 8537 2011-11-08 17:02:11Z bogdan_iancu $<br>
main.c compiled on 09:41:14 Mar 12 2012 with gcc 4.1.2<br>
<br>
--------------------<br>
<br>
opensips -V<br>
<b>version: opensips 1.8.0-beta-tls (i386/linux)</b><br>
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST,
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
svnrevision: 2:8972M<br>
@(#) $Id: main.c 8772 2012-03-08 11:16:13Z bogdan_iancu $<br>
main.c compiled on 12:26:50 Apr 30 2012 with gcc 4.4.6<br>
<br>
<br>
<b>configuraton for TLS in opensips.cfg</b> <b>file.</b><br><br>tls_ciphers_list="ALL"<br>disable_tls=0<br>listen=udp:<a href="http://0.0.0.0:5060">0.0.0.0:5060</a><br>listen=tls:<a href="http://0.0.0.0:5061">0.0.0.0:5061</a><br>
tls_verify_server=0<br>tls_verify_client=0<br>tls_require_client_certificate=0<br>tls_method=SSLv23<br>tls_certificate="/usr/local/etc/opensips/tls/user-cert.pem"<br>tls_private_key="/usr/local/etc/opensips/tls/user-privkey.pem"<br>
tls_ca_list="/usr/local/etc/opensips/tls/user-calist.pem"<br><br>Can someone give me help?<br><br>Thanks in advance!<br><br><br>-- <br>Best Regards,<br><br>Rajnikant Vanza<br>