Connection to drachtio is failing
Closed this issue · 2 comments
sachinlevel commented
while connecting to drachtio from call provider we are getting connection errors, below two different kinds are logs show up without any config change, and we never recieve sip invites, please help
Type 1
2023-01-18 03:33:40.929704 tport.c:2806 tport_wakeup_pri() tport_wakeup_pri(0x55dcf0c76a00): events IN
2023-01-18 03:33:40.929872 tport_type_tcp.c:202 tport_tcp_init_secondary() tport_tcp_init_secondary(0x55dcf0c81600): Setting TCP_KEEPIDLE to 30
2023-01-18 03:33:40.929895 tport_type_tcp.c:208 tport_tcp_init_secondary() tport_tcp_init_secondary(0x55dcf0c81600): Setting TCP_KEEPINTVL to 30
2023-01-18 03:33:40.930054 tport.c:1088 tport_register_secondary() tport_register_secondary(0x55dcf0c76a00): register secondary tport 0x55dcf0c81600 from tls/147.X.X.X:39893, count(wss) is 0, count(tcp) is 0
2023-01-18 03:33:40.930067 tport_type_tls.c:620 tport_tls_accept() tport_tls_accept(0x55dcf0c81600): new connection from tls/147.X.X.X:39893
2023-01-18 03:33:40.930082 tport_tls.c:970 tls_connect() tls_connect(0x55dcf0c81600): events NEGOTIATING
2023-01-18 03:33:40.968575 tport_tls.c:970 tls_connect() tls_connect(0x55dcf0c81600): events NEGOTIATING ERROR HANGUP
2023-01-18 03:33:40.968692 tport.c:2891 tport_hup_event() tport_hup_event(0x55dcf0c81600) tls/147.X.X.X:39893
2023-01-18 03:33:40.968706 tport.c:2201 tport_shutdown0() tport_shutdown0(0x55dcf0c81600, 2) tls/147.X.X.X:39893
2023-01-18 03:33:40.968715 tport.c:2132 tport_close() tport_close(0x55dcf0c81600): tls/147.X.X.X:39893
2023-01-18 03:33:40.968890 tport.c:2208 tport_shutdown0() tport_shutdown0(0x55dcf0c81600): after tport_close refcount is now 0
2023-01-18 03:33:40.968904 tport.c:2311 tport_set_secondary_timer() tport(0x55dcf0c81600): set timer at 0 ms because zap
2023-01-18 03:33:40.968916 tport_tls.c:987 tls_connect() tls_connect(0x55dcf0c81600): tport was closed during connect. Returning, but set secondary timer first.
2023-01-18 03:33:40.968924 tport.c:2311 tport_set_secondary_timer() tport(0x55dcf0c81600): set timer at 0 ms because zap
2023-01-18 03:33:40.968937 tport.c:1155 tport_zap_secondary() tport_zap_secondary(0x55dcf0c76a00): zap tport 0x55dcf0c81600 from tls/147.X.X.X:39893, count(wss) is 0, count(tcp) is 0
Type 2
2023-01-18 03:49:41.953757 tport.c:2806 tport_wakeup_pri() tport_wakeup_pri(0x55dcf0c76780): events IN
2023-01-18 03:49:41.954108 tport_type_tcp.c:202 tport_tcp_init_secondary() tport_tcp_init_secondary(0x55dcf0c81600): Setting TCP_KEEPIDLE to 30
2023-01-18 03:49:41.954126 tport_type_tcp.c:208 tport_tcp_init_secondary() tport_tcp_init_secondary(0x55dcf0c81600): Setting TCP_KEEPINTVL to 30
2023-01-18 03:49:41.954180 tport.c:1088 tport_register_secondary() tport_register_secondary(0x55dcf0c76780): register secondary tport 0x55dcf0c81600 from tcp/147.X.X.X:59649, count(wss) is 0, count(tcp) is 1
2023-01-18 03:49:41.954190 tport.c:2700 tport_accept() tport_accept(0x55dcf0c81600): new connection from tcp/147.X.X.X:59649
2023-01-18 03:49:41.954204 tport.c:2832 tport_wakeup() tport_wakeup(0x55dcf0c81600): events IN
2023-01-18 03:49:41.954212 tport.c:2929 tport_recv_event() tport_recv_event(0x55dcf0c81600)
2023-01-18 03:49:41.954254 tport.c:3270 tport_recv_iovec() tport_recv_iovec(0x55dcf0c81600) msg 0x55dcf0c97400 from (tcp/147.X.X.X:59649) has 247 bytes, veclen = 1
2023-01-18 03:49:41.954285 tport.c:2345 tport_set_secondary_timer() tport(0x55dcf0c81600): reset timer
davehorton commented
sorry, why was this closed?
sachinlevel commented
@davehorton this was due to tls certificate issue, adding fresh certificate solved it.