Git Product home page Git Product logo

Comments (8)

sabuhish avatar sabuhish commented on August 15, 2024

@alanaquilina Thank you for the report. I have used QOS 0,1,2 everything was perfectly working. Could we figure out what broker do you use for testing? As I see you are using windows for testing, can try to check this on Linux machine to see if the error still raises.
Interesting error raises from asyncio library of python.

from fastapi-mqtt.

alanaquilina avatar alanaquilina commented on August 15, 2024

Hello,

First of all thanks for your reply!

I am using Mosquito 1.5.7 on a pi 4.

I tried the same code on my PI and got the same error.
I removed the SSL and got the same error

Might be worth noting that the connection is downgrading to MQTT 3.11

Thanks
Alan

from fastapi-mqtt.

alanaquilina avatar alanaquilina commented on August 15, 2024

I upgraded Mosquitto to 2.0.10 and used both v5 and v4 in the client version. Same error on QOS != 0 .

from fastapi-mqtt.

sabuhish avatar sabuhish commented on August 15, 2024

I am trying to produce the solution it occurs from gmqtt library, fastapi-mqtt is on top of it let me see, I will update you.

from fastapi-mqtt.

sabuhish avatar sabuhish commented on August 15, 2024

I have found very the issue occurs. Actually, I have tested QoS with client subscribe not publish.
I have submitted PR to gmqtt-PR. Once it is merged will release it with the new version.

Thanks for finding this.

from fastapi-mqtt.

alanaquilina avatar alanaquilina commented on August 15, 2024

from fastapi-mqtt.

sabuhish avatar sabuhish commented on August 15, 2024

This should now work at the latest version, could please check and let me know.I have updated documentation as well.

from fastapi-mqtt.

alanaquilina avatar alanaquilina commented on August 15, 2024

from fastapi-mqtt.

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.