mqttMultimeter
mqttMultimeter copied to clipboard
The connection is terminated if you don't use the application for about 10 minutes
Order of my actions:
- connect to my host
- subscribe to topics
- leave the computer for 10 minutes
- after 10 minutes, the connection is terminated
if I use the app, the connection will never terminated
What exactly do you mean "don't use"? Are you not using your PC by not using Mouse etc. or do you mean that you are not subscribing or publishing in the App only but still working with your PC?
Also please open and activate the Packet Inspector and let me know if the broker is sending a DISCONNECT before the connection is closed.
What exactly do you mean "don't use"? Are you not using your PC by not using Mouse etc. or do you mean that you are not subscribing or publishing in the App only but still working with your PC?
I mean I don't subscribe, publish etc. I run the app and look at incoming messages
i don't use my mouse
- subscribe
- go to messages view
- disconnect after 10-20 minutes if u don't use the app
What Broker do you use? Which protocol version? Keep Alive enabled or 0?
- my own
- tcp
- I changed client options builder a little bit so:
.WithKeepAlivePeriod( TimeSpan.FromSeconds( int.MaxValue ) );I want the application to work endlessly
int.MaxValue - it is about 20+ days it seemed to me that this was enough, but, as it turned out, no. Mqtt explorer works fine with my broker
Please open and enable the log page and show me the content right before the connection gets closed.
@INTERNALINTERFERENCE Do you use macOS? If so, we probably found the reason.