Closed joakimeriksson closed 4 months ago
I'm busy on another task for now. I could try to look at this just after. But at first sight it seems this is relative to scanidum, so maybe better to open an issue directly there ?
I can do a copy of this there also. It should work well there also. I did not check the commit log for Leshan so I am not sure if there are any changes w.r.t to this in Leshan. https://github.com/eclipse-californium/californium/issues/2255
This bug is now fixed in Californium/Scandium - so now I guess we wait for the next release of Leshan! The fix was this one: https://github.com/eclipse-californium/californium/pull/2256 .
Thx for taking to report that here and at californium project :pray: That really helps !
so now I guess we wait for the next release of Leshan!
More exactly, you need to wait for a Californium 3.13 release.
Once this will be done, Leshan will be able to integrate it in master
and maybe later a Leshan release will be done with that fixed version of californium.
But generally Californium/Scandium does not break too much public API, so probably you will be able to use Californium 3.13 with Leshan 2.0.0-M15 and so no need to wait for a Leshan 2.0.0-M16 or M17 release.
So Californium 3.13 should be release end of July : https://github.com/eclipse-californium/californium/issues/2255#issuecomment-2202335217
A possible workaround not tested : https://github.com/eclipse-californium/californium/issues/2255#issuecomment-2202372768
Yes, I have a patched M15 with the fixed class that seems to work well.
Finally a 3.12.1 sooner than expected ? https://github.com/eclipse-californium/californium/issues/2258
Yes, very good - that can for sure be used for fixing our issue! (I did test the fix).
Californium 3.12.1 is integrated in master
.
Leshan sandbox will be updated soon. (this is automatic and should take few minutes)
The fix will be available in Leshan 2.0.0-M16 (#1629)
M16 works! (sorry for being a bit late to the testing but I can confirm it works with Contiki-NG).
Version(s)
v2.0.0-M15
Which components
leshan-server-demo
Tested With
Contiki-NG LwM2M IPSO Objects example
What happened
When the client tries to join the server using DTLS there is an issue at the client hello stage:
It might be related to an update in the Scandium DTLS implementation that seems to have a change in the implementation of the client hello (including that specific line).
How to reproduce
Likely possible to reproduce with any client using PSK and DTLS with our settings in contiki-ng's lwm2m example. Run the leshan demo server locally then do the following in contiki-ng.
This will cause the problem.
Relevant Output
No response