Coder Social home page Coder Social logo

can't connect to emqx by DTLS about emqx-coap HOT 8 OPEN

emqx avatar emqx commented on September 25, 2024 2
can't connect to emqx by DTLS

from emqx-coap.

Comments (8)

frizner avatar frizner commented on September 25, 2024

Any progress in resolving the bug?

from emqx-coap.

qingchuwudi avatar qingchuwudi commented on September 25, 2024

Is there any messages when using libcoap to send to emqx or recv from emqx?

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 ./configure --enable-documentation=no --enable-tests=no --with-openssl instead of ./configure --enable-documentation=no --enable-tests=no. It is the diffrence between diffrent ssl libraries which leads to this error.

from emqx-coap.

frizner avatar frizner commented on September 25, 2024

@qingchuwudi :
Thank you for the response.

I rebuilt coaplib but still have the same issue with no any notification from a client or a server.

from emqx-coap.

terry-xiaoyu avatar terry-xiaoyu commented on September 25, 2024

@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?

from emqx-coap.

xianchaoZou avatar xianchaoZou commented on September 25, 2024

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..

from emqx-coap.

xianchaoZou avatar xianchaoZou commented on September 25, 2024

@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?

Can you share the Certificate creation command used in the test..

from emqx-coap.

yunanxing avatar yunanxing commented on September 25, 2024

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..

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

from emqx-coap.

xianchaoZou avatar xianchaoZou commented on September 25, 2024

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..

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]

from emqx-coap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.