[OpenSIPS-Users] Failed INVITE tcp_send

opensipslist at encambio.com opensipslist at encambio.com
Thu Dec 17 17:45:47 CET 2009


Hello Bogdan,

An jeu., déc 17, 2009, Bogdan-Andrei Iancu schrieb:
>opensipslist at encambio.com wrote:
>> REGISTER messages seem to be handled correctly, but I'm still having
>> troubles with INVITEs:
>>
>>   Dec 16 19:03:05 name.host.tld <error> opensips[10237]: ERROR:core:tls_blocking_write: too many retries with no operation
>>   Dec 16 19:03:05 name.host.tld <error> opensips[10237]: ERROR:core:tcp_send: failed to send
>>   Dec 16 19:03:05 name.host.tld <error> opensips[10237]: ERROR:tm:msg_send: tcp_send failed
>>   Dec 16 19:03:05 name.host.tld <error> opensips[10237]: ERROR:tm:t_forward_nonack: sending request failed
>>   Dec 16 19:03:05 name.host.tld <error> opensips[10237]: ERROR:core:tls_accept: some error in SSL (ret=0, err=5, errno=0/Error 0):
>>
>Actually you have two errors there - one on a write op and another
>one on an accept op.
>
Not sure how you see that, maybe because one pair of 'ERROR' text is
written by 'core' (= write op) and one pair by 'tm' (= accept op)?

>So, for the write op, opensips complains that the  write() was
>tried several time (320 times) without doing anything....it is
>gives up in order to avoid blocking.
>
Okay I understand that.

>You may try to increase the number of tries to something higher -
>3200, just to see if that is the problem:
>
>    see tls/tls_server.c , line 689
>       #define MAX_SSL_RETRIES 320
>
This doesn't make sense to me. If 320 retries are attempted with no
write op success, then trying 3200 can't be the solution. Rather, it
must be that I have an error in the config script or some permission
problem no?

I'll keep looking and check the CN names of all certs and
permissions as well (again.) Maybe OpenSIPS 1.6.X allows a
smaller margin of error with things like TLS or certificates.

Regards,
Brian



More information about the Users mailing list