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

[1.6.7] Clients disconnecting after 10 minutes #1444

Open
danielfaust opened this issue Oct 2, 2019 · 0 comments
Open

[1.6.7] Clients disconnecting after 10 minutes #1444

danielfaust opened this issue Oct 2, 2019 · 0 comments

Comments

@danielfaust
Copy link

danielfaust commented Oct 2, 2019

Today I created a Docker container based on 1.6.7, and when I use that one, all the clients disconnect after 10 minutes. It is a microservices architecture. When I start the Mosquitto server, all services connect to it. After 10 minutes all of them disconnect and then keep trying to connect, but can't.

There's nothing in the log which can explain the problem, the config is set like this

log_type all
log_type debug
log_type error
log_type warning
log_type notice
log_type information
log_type subscribe
log_type unsubscribe
log_type websockets

but all it contains after the disconnect is

1570016614: Received PINGREQ from imaging
1570016614: Sending PINGRESP to imaging
1570016614: Received PINGREQ from node-smnws
1570016614: Sending PINGRESP to node-smnws
1570016615: Received PINGREQ from core-3
1570016615: Sending PINGRESP to core-3
1570016615: Received PINGREQ from authentication
1570016615: Sending PINGRESP to authentication
1570016616: Received PINGREQ from beta
1570016616: Sending PINGRESP to beta
1570016674: Received PINGREQ from websocket
1570016674: Sending PINGRESP to websocket
1570016674: Received PINGREQ from core-1
1570016674: Sending PINGRESP to core-1
1570016674: Received PINGREQ from core-2
1570016674: Sending PINGRESP to core-2

I'm using https://github.com/astrorafael/twisted-mqtt for the python clients and npm install mqtt for node clients, both are affected equally.

The two times I timed the disconnects, it happed after pretty much exactly 600 seconds.

Prior to testing 1.6.7 I was using 1.6.5 (I skipped 1.6.6). Am using 1.6.5 now without problems.

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

1 participant