[OpenSIPS-Users] TCP/TLS connection issue
Hamed Ramezani
hamed1995ram at gmail.com
Sat Nov 9 09:32:14 UTC 2024
Hello all,
Recently I added TLS configuration to the opensips configuration file to
let the clients make connections with TLS.(We use
nathelper,mid_registrar,rtpproxy,cfgutils,proto_tcp,proto_tls,tls_mgm,dialog,sl,signaling,tm,rr,
sipmsgops,maxfwd,textops,mi_fifo,usrloc,acc,db_mysql,options,topology_hiding,cachedb_local
modules in our script). Clients can register and make calls. The problem is
when opensips wants to send in-dialog ping options to the client (related
to dialog module create_dialog("PpB")) it fails with these errors :
<<<<<<<<<<<<<<<<<<<<
Nov 9 10:11:00 Proxy-Out /usr/sbin/opensips[890103]:
ERROR:core:tcp_connect_blocking_timeout: connect timed out, 10005800 us
elapsed out of 10000000 us
Nov 9 10:11:00 Proxy-Out /usr/sbin/opensips[890103]:
ERROR:core:tcp_sync_connect_fd: tcp_blocking_connect failed
Nov 9 10:11:00 Proxy-Out /usr/sbin/opensips[890103]:
ERROR:proto_tls:proto_tls_send: connect failed
Nov 9 10:11:00 Proxy-Out /usr/sbin/opensips[890103]: ERROR:tm:msg_send:
send() to xxx.xxx.xxx.xxx:26905 for proto tls/3 failed
Nov 9 10:11:00 Proxy-Out /usr/sbin/opensips[890103]: ERROR:tm:t_uac:
attempt to send to 'sip:9203 at xxx.xxx.xxx.xxx:26905;transport=tls' failed
Nov 9 10:11:09 Proxy-Out /usr/sbin/opensips[890097]:
ERROR:core:tcp_connect_blocking_timeout: connect timed out, 10009071 us
elapsed out of 10000000 us
Nov 9 10:11:09 Proxy-Out /usr/sbin/opensips[890097]:
ERROR:core:tcp_sync_connect_fd: tcp_blocking_connect failed
Nov 9 10:11:09 Proxy-Out /usr/sbin/opensips[890097]:
ERROR:proto_tls:proto_tls_send: connect failed
Nov 9 10:11:09 Proxy-Out /usr/sbin/opensips[890097]: ERROR:tm:msg_send:
send() to xxx.xxx.xxx.xxx:27638 for proto tls/3 failed
Nov 9 10:11:09 Proxy-Out /usr/sbin/opensips[890097]:
ERROR:tm:t_forward_nonack: sending request failed
>>>>>>>>>>>>>>>>>>>>
I've checked the logs and found that port 27638 which opensips tries to
connect to is not correct. Client's port was changed from 27638 to another
port but opensips still using the old one. Can everyone help me.
Thanks
Hamed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20241109/6df64c91/attachment.html>
More information about the Users
mailing list