GithubHelp home page GithubHelp logo

comqtt:cl gateways are missing about comqtt HOT 4 CLOSED

fcrbat avatar fcrbat commented on June 22, 2024
comqtt:cl gateways are missing

from comqtt.

Comments (4)

wind-c avatar wind-c commented on June 22, 2024

I don't understand your question.
Can you describe the problem in detail?

from comqtt.

fcrbat avatar fcrbat commented on June 22, 2024

Sure, there should be two connected mqtt-clients in redis comqtt:cl but only one is shown. I run the cluster-version with three nodes and use redis as db inbetween them. Overtime one mqtt-client is lost and only one is shown:
hgetall "comqtt:cl"

  1. "41B34559-C1A2-42C8-8A6F-BB611933DCC5"
  2. "{"will":{},"properties":{},"username":"NjZ6cW84aDI=","id":"41B34559-C1A2-42C8-8A6F-BB611933DCC5","remote":"192.168.12.106:36000","listener":"tcp","protocolVersion":4,"clean":true}"

The interresting thing is that I still get messages from the other mqtt-client and the last info for this mqtt-client from comqtt is action: disconnect.
The reason I'm asking is that I provide the connection-status to the user and it shows wrong values like disconnect, even if the connection is working and I get messages from that mqtt-client.

from comqtt.

wind-c avatar wind-c commented on June 22, 2024

If the client is disconnected and clean session=true, the cli from redis is deleted.

from comqtt.

fcrbat avatar fcrbat commented on June 22, 2024

thank you, I'm going to observe it with more clients.

from comqtt.

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.