-
Notifications
You must be signed in to change notification settings - Fork 3
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
MQTT over QUIC #1
Comments
Yes! It works with EMQX v5.x! |
You may need to modify the MQTT server address in examples/mqttpub.py and examples/mqttsub.py. And the msgs sent or received are on QUIC protocol by default. |
I am sorry for my mistake. The command should be
Maybe a version mismatch happened on cffi. cffi-1.15.1 is requires. But only cffi-1.15.0 be found on your system.
Is there are libssl-dev package found? |
Try to downgrade cffi to 1.15.0
Better if you remove it first |
I downgraded cffi to 1.15.0. I am following this website for assistance. I have printed my console below: |
Your local installation (/home/ubuntu/.local/lib/python3.10/...) failed. When you try to run the mqttsub.py. Perhaps you could run with sudo. Or remove the local failed one. :) |
I believe I have safely removed the local one. When I run the 2 python files (mqttsub.py and mqttpub.py), they both stop at async-await on line 22/24 and no connection message is sent. I have reviewed the files to see where the issue maybe, but no luck. Is it because of the mqtt server address? EDIT : I searched on EMQX's website and I noticed "mqtt-quic:127.0.0.1:14567" for QUIC and looks like it is correct. What's causing the issue? |
Did you forget to start your emqx broker? or the option in the configuration which enables QUIC?
|
Plz also show your |
Do you want to import pynng to your project?
|
Thanks! It worked, and I am able to use it as expected for Ubuntu20.04! |
Hello,
I am trying to send payload from a publisher to a subscriber implemented in python. How do I set it up such that it works with MQTT over QUIC? The README says it is capable of running with EMQX v5.
I have access to macOS M1 and Ubuntu 22.04 and I am open to working on either depending on what you recommend for this package.
Anything helps,
Thanks
The text was updated successfully, but these errors were encountered: