CONFIG_NET_NATIVE_OFFLOADED_SOCKETS fails after DTLS handshake #75909
Labels
area: Networking
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Describe the bug
I am trying to get
CONFIG_NET_NATIVE_OFFLOADED_SOCKETS
to work with lwm2m and I have noticed that I am able to do the handshake successfully then it seems to get stuck in a loop.To Reproduce
I modified the lwm2m_client sample to use the offloaded sockets API as shown. I also am using the leshan public server. I added the device to it using the default credentials in the sample.
Logs and console output
It is able to resolve the domain and perform the handshake.

It seems that a mbedtls_ssl_read() is called in a infinite loop. I copied the last few steps of the handshale...
this is the call stack
Environment (please complete the following information):
Additional context
It connects to my prod server fine without DTLS.
The text was updated successfully, but these errors were encountered: