-
Notifications
You must be signed in to change notification settings - Fork 34
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
can't connect to emqx by DTLS #126
Comments
Any progress in resolving the bug? |
Is there any messages when using For example: coap-client -m put -e 1234 "coaps://127.0.0.1/mqtt/topic1?c=client1&u=tom&p=secret"
Apr 15 16:11:54.659 WARN do_gnutls_handshake: session establish returned -15: 'An unexpected TLS packet was received.'
Apr 15 16:11:55.664 WARN do_gnutls_handshake: session establish returned -10: 'The specified session has been invalidated for some reason.' If so, you should use |
@qingchuwudi : I rebuilt coaplib but still have the same issue with no any notification from a client or a server. |
@frizner We tested using emqx with 4.0.5 and libcoap with develop branch. It's working as expected. Could you have a try? And if the same problem repeats, could you please post the Wireshark capture file of the DTLS handshake procedure? |
Is there any progress on this issue? I'm also paying attention to this problem, because I've never succeeded in creating coups to connect emqx with the California framework. Can you share the Certificate creation command used in the test.. |
Can you share the Certificate creation command used in the test.. |
I use openssl to create certificate, and there is a tool to do it, I can send it to you by email, please left you email |
Thank you so much. my email : [email protected] |
Environment
Description
I can use libcoap and californium client to connect EMQX_COAP By udp. And terminal was online in EMQX Dashboard, I can publish subscribe topic. But when i use DTLS, I can't get any message from log without any error , but i can't find my terminal in EMQ Dashboard.
I can communicate with californium demo server using the same client by DTLS.
I would like to know how to connect to EMQX using DTLS, thanks!
The text was updated successfully, but these errors were encountered: