linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Linphone over TLS problem: SSL ERROR ZERO RETURN -


From: IVAN FERNANDEZ
Subject: [Linphone-developers] Linphone over TLS problem: SSL ERROR ZERO RETURN - SHUTDOWN
Date: Thu, 21 Jun 2012 14:02:13 +0200

Hi,

I'm testing both versions of Linphone, Android and iPhone (Linphone 1.1.2 on iPhone 4 iOS 5.1.1 and Linphone 1.2.2 on Android 4.0.2) with TLS transport enabled.

Registering both clients against OpenSIPS server works, and the clients remains connected for a while, but, eventually (about 3 minutes), the TLS connection becomes closed suddently with the following message on the console:

...

2012-06-21 13:40:15.277 AlisysPhone[3675:590b] keep alive: 178

2012-06-21 13:40:15.285 AlisysPhone[3675:590b] eXosip: Reseting timer to 10s before waking up!

2012-06-21 13:40:15.290 AlisysPhone[3675:590b] SSL ERROR ZERO RETURN - SHUTDOWN

2012-06-21 13:40:15.295 AlisysPhone[3675:590b] TLS closed  
...

On the opensips console doesn't shows any associated message to this shutdown, so I' suspect that the problem is on the client.

Despite of that, cause background mode is enabled on the clients, the linphone's keepalive mechanism is able to "wake up" and re-register the client on the server, but this only can be done with a frecuency of 600 seconds or more (apple's limitation...) 

Could be the SSL session timeout causing the problem? Is there a way to trace the SSL session data from linphone core? 

I've been methods like SSL_SESSION_set_timeout() on ssl.h file that could be the solution but I don't know how invocate them...

Any clues?

Thanks in advanced...
Regards

reply via email to

[Prev in Thread] Current Thread [Next in Thread]