[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [leshan-dev] Reconnect fails for PSK Connections
|
Hi,
I suspect that:
1. Start Server
2. Start Client it connects using PSK (an handshake DTLS is done
and a DTLS connection is created)
3. Restart Server (So the server lost DTLS connections for all
clients)
4. Client try to do an update using the current DTLS connection
but the server ignore the message as it has no connection for this client.
5. Client get a timeout and retry later but still using the same
DTLS connection, so get timeout again.
So this is clearly a bug. I suppose we should do an fresh handshake
after a timeout.
Could you open a bug on github pls ?
Simon
Le 24/05/2016 18:07, Michael Huelfenhaus a écrit :
Hello,
I have the following scenario.
1. Start Server
2. Start Client it connects using PSK
3. Restart Server
4. Client gets timeout on update and tries to reconnect without success again and again
Without PSK the client can reconnect without a problem. But in my scenario the client sends new RegisterRequests but they all timeout. I look in the logs of the server, but I did not find anything that shows the client request are arriving.
Is there maybe something in the client, that is not reset before it tries to reconnect?
Thanks
Michael
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev