[OpenSIPS-Users] Cause of tcp_receive_timeout

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 4 03:03:12 EST 2019


Hi Hamid,

By the fact that I'm able to see the SIP INVITE in the trace you 
provide, tell me that there is no TLS actually used :).

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 01/17/2019 12:48 PM, Hamid Hashmi wrote:
>
> I am trying to load test TLS listener through sipp.  REGISTER Request 
> is working on TLS but INVITE is not working. I changed the transport 
> to TCP and receive following logs
>
> |version: opensips 2.4.3 (x86_64/linux) flags: STATS: On, 
> DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
> FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 
> 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method 
> support: poll, epoll, sigio_rt, select. git revision: c49ae1d53 main.c 
> compiled on 14:23:04 Dec  5 2018 with gcc 4.8.5 |
> |Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_read_req: 
> Accepted connection from 192.168.3.60:36157 on interface 
> 192.168.3.60:2381! Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: 
> DBG:core:tcp_read_req: Using the global ( per process ) buff Jan 17 
> 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_handle_req: We 
> didn't manage to read a full request Jan 17 13:10:23 siplb_19 
> 192.168.3.19[29333]: DBG:core:tcp_read_req: tcp_read_req end Jan 17 
> 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcp_receive_timeout: 
> 0x7fe984baf740 expired - (18, 18) lt=129 Jan 17 13:10:27 siplb_19 
> 192.168.3.19[29333]: DBG:core:io_watch_del: [TCP_worker] io_watch_del 
> op on index -1 7 (0x8c2da0, 7, -1, 0x10,0x1) fd_no=5 called Jan 17 
> 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcpconn_release: 
>  releasing con 0x7fe984baf740, state -2, fd=-1, id=1475809186 Jan 17 
> 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcpconn_release: 
>  extra_data (nil) Jan 17 13:10:27 siplb_19 192.168.3.19[29342]: 
> DBG:core:handle_tcp_worker: response= 7fe984baf740, -2 from tcp worker 
> 29333 (0) Jan 17 13:10:27 siplb_19 192.168.3.19[29342]: 
> DBG:core:tcpconn_destroy: destroying connection 0x7fe98|
>
> PCAP file is also attached.
>
> SIPP Caller 192.168.3.60 ------- > SIP Server 192.168.3.19
>
> TLS connection working fine with the softphone. This only occurs when 
> I send TLS/TCP request through SIPp script.
>
> Regards
>
> *Hamid R. Hashmi*
>
>
>
> _______________________________________________
> 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/20190204/029178fd/attachment-0001.html>


More information about the Users mailing list