Skip to content
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

comqtt:cl gateways are missing #86

Closed
fcrbat opened this issue Apr 3, 2024 · 4 comments
Closed

comqtt:cl gateways are missing #86

fcrbat opened this issue Apr 3, 2024 · 4 comments

Comments

@fcrbat
Copy link

fcrbat commented Apr 3, 2024

Hi,

I'm using your software since a few months and its genius! Thank you for your work.

I experenced some issues, I have two gateways and one is missing from "comqtt:cl", the funny thing is that I still get updates from the missing gateway and the last messages from comqtt are for both gateways:
{
"action":"connect"
"timestamp":1711650090
}
{
"action":"connect"
"timestamp":1711650090
}

We are using this software for a new project and I wanted to ask if there is a way to fund your work?

Best Regards,
René

@wind-c
Copy link
Owner

wind-c commented Apr 3, 2024

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

@fcrbat
Copy link
Author

fcrbat commented Apr 4, 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.

@wind-c
Copy link
Owner

wind-c commented Apr 6, 2024

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

@fcrbat
Copy link
Author

fcrbat commented Apr 9, 2024

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

@fcrbat fcrbat closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants