[OpenSIPS-Users] TLS tcp_blocking_connect errors

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Sep 28 14:11:00 CEST 2015


Hi Matt,

That is not actually an error, is OpenSIPS complaining that is not able 
to open a TCP connection towards the wanted destination (one of yours 
UACs) - see the "Connection refused" error log.

Why ? if there is no limitation on the network level (NAT, firewall, 
etc), then it means the registered contact (of an UAC) is not correctly 
pointing to the listening interface of the UAC , making OpenSIPS to try 
to open a TCP conn to a wrong destination.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 10.09.2015 18:09, Matt Hamilton wrote:
>
> In one of our calling scenarios, INVITEs are sent via TLS to multiple 
> UACs in an office (all ring, one picks up). The UACs are not NATed. 
> Once in a while, we get tcp_connect error from one of the phones. None 
> of the tcp related parameters (e.g. tcp_connection_lifetime, etc.) are 
> set in our script, so they all use default values.
>
>
> INVITE  RURI: sip:585 at 172.16.13.164:5070;transport=tls
> INVITE  RURI: sip:584 at 172.16.13.165:5061;transport=tls
> INVITE  RURI: sip:583 at 172.16.13.162:5077;transport=tls
> INVITE  RURI: sip:582 at 172.16.13.166:5070;transport=tls
> INVITE  RURI: sip:581 at 172.16.13.163:5068;transport=tls
>
> The error appears to be in either one of the two forms below:
>
> ERROR:core:tcp_blocking_connect: poll error: flags 24 - 4 8 16 32
>
> ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR 
> [server=172.16.13.164:5070] (111) Connection refused
> ERROR:core:tcpconn_connect: tcp_blocking_connect failed
> ERROR:core:tcp_send: connect failed
> ERROR:tm:msg_send: tcp_send failed
> ERROR:tm:t_forward_nonack: sending request failed
>
>
> or
>
>
> ERROR:core:tcp_blocking_connect: timeout 99170 ms elapsed from 100 ms
> ERROR:core:tcpconn_connect: tcp_blocking_connect failed
> ERROR:core:tcp_send: connect failed
> ERROR:tm:msg_send: tcp_send failed
> ERROR:tm:t_forward_nonack: sending request failed
>
>
> How should I proceed to get to the bottom of this? Any parameters I 
> should look into?
>
> Thanks,
>
> Matt
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150928/b2720e60/attachment.htm>


More information about the Users mailing list