-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TinyDTLS select timeout #314
Comments
Have you set up a PSK + IDENTITY definition? Not sure what coaps://californium.eclipse.org supports on that front. I think that the 0.0.0.0 source address is down to the lack of RFC 3542 section 20 support. |
I have had a difficult time finding some COAP(S) server. Do you know any standard coaps endpoint with support for generating PSK + identity?
I had replaced Somehow with the same PSK + identity, I am able to connect to
|
Looking at a pcap taken when doing the openssl s_client, it tells me that the session goes into PKI mode Probably the best thing to do is to build the standalone version of libcoap, and then use its example server with whatever preshared key you want to test against.
Note that the PSK is in ascii for libcoap, but hexadecimal for s_client. |
@mrdeep1 I did set up the local
It seems that the client is not receiving |
There are 2 things that I do not expect to see on this initial line As I had to put in a workaround for recvmsg() in the esp-idf code the coap_server (and possibly coap_client) there will have the same issue - so that needs to be worked on - I will look into that now. |
What type of system did you build the coap-server on? |
@mrdeep1 When I was running it on macOS high Sierra v10.13.4, there was some problem with decryption. And when I hosted the |
I have been doing some researching into this - and the interface index of 26727664 you reported in the log output ( |
@jitin17 Good that the coap_client is now running. For the coap_server, you will need to add some extra code to set up a new endpoint of the form It would be good to see your ESP-IDF DTLS updates - so that I can sanity check things at some point. |
@jitin17 Can this be closed off now as I believe that everything has been resolved? |
Closing as this seems to be solved. |
While trying to establish a secure connection to
coaps://californium.eclipse.org
on ESP32 using TinyDTLS, I observe the connection to be stuck somewhere. I am attaching the log below:It is very likely that something is amiss on my side.
The text was updated successfully, but these errors were encountered: