[OpenSIPS-Users] Some calls fail with tcp_connect_blocking error on version 2.1.1

Owais Ahmad millennium.bug at gmail.com
Tue Jun 21 09:05:20 CEST 2016


I am getting the following error on opensips version 2.1.1. The scenario is
that I have a load balancer listening on TLS and it dispatches requests to
backend registrar servers listening on UDP.
90% of the calls are successful, but some calls fail and the load balancer
throws the following error when INVITE is being relayed to B party.

DBG:core:parse_headers: flags=2000
DBG:core:check_ip_address: params 10.0.0.7, 10.0.0.7, 0
DBG:core:tcp_conn_get: 0  port 56415
DBG:core:print_ip: tcpconn_find: ip 2.4.6.8
DBG:proto_tls:proto_tls_send: no open tcp connection found, opening new one
DBG:core:probe_max_sock_buff: getsockopt: snd is initially 16384
DBG:core:probe_max_sock_buff: trying : 32768
DBG:core:probe_max_sock_buff: setting snd: set=32768,verify=65536
DBG:core:probe_max_sock_buff: trying : 65536
DBG:core:probe_max_sock_buff: setting snd: set=65536,verify=131072
INFO:core:probe_max_sock_buff: using snd buffer of 128 kb
INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 6
ERROR:core:tcp_connect_blocking: timeout 2132 ms elapsed from 3000 s
ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect failed
ERROR:proto_tls:proto_tls_send: connect failed
ERROR:tm:msg_send: send() for proto 3 failed
ERROR:tm:t_forward_nonack: sending request failed
DBG:tm:t_relay_to: t_forward_nonack returned error
DBG:core:parse_headers: flags=ffffffffffffffff
DBG:core:check_ip_address: params 10.0.0.7, 10.0.0.7, 0
DBG:tm:reset_timer: (group 3, tl=0x7fcb6a490970)
DBG:tm:reset_timer: (group 0, tl=0x7fcb6a4909a0)
DBG:tm:cleanup_uac_timers: RETR/FR timers reset
DBG:tm:set_timer: relative timeout is 500000
DBG:tm:insert_timer_unsafe: [4]: 0x7fcb6a490898 (609300000)
DBG:tm:insert_timer_unsafe: [0]: 0x7fcb6a4908c8 (618)


Any hints as to what might be going wrong?

Regards,
Owais
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160621/f4114c31/attachment-0001.htm>


More information about the Users mailing list