Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cf-dev] DTLS session disconnects after ~30 sec.

Hello there,

I've been hacking the CoapShell (https://github.com/tzolov/coap-shell) but it seems like i am unable to control the DTLS IDLE timeout. 

When connected over DTLS to coaps://californium.eclipse.org:5684 or to my local IKEA gateway i get disconnected after about 30 sec IDLE period.

I've tried to set various timeouts such as DtlsConnection's autoResumptionTimeoutMillis, as well as Endpoint's DTLS_AUTO_RESUME_TIMEOUT and  TCP_CONNECTION_IDLE_TIMEOUT. 

But the problem remains. 

Am i doing it wrong or perhaps missing something? 

Would appreciate your help

Cheers,
Christian

Back to the top