You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A connection timeout occurs when the system time is set to a time in the past.
Which component is your bug related to?
Client
To Reproduce
Steps to reproduce the behavior:
Using this version of MQTTnet '5.0.0.1214-RC'.
Run the following code on Ubuntu 22.04.5 LTS.
Adjust the host and credentials to match your MQTT broker (I only tested with a mosquitto MQTT broker running on another machine).
When the MQTTnet client disconnects, the mosquitto_sub application remains running and outputs received messages and the MQTT broker prints only the timeout information for the MQTTnet client and not for the mosquitto_sub.
The text was updated successfully, but these errors were encountered:
Describe the bug
A connection timeout occurs when the system time is set to a time in the past.
Which component is your bug related to?
To Reproduce
Steps to reproduce the behavior:
Adjust the host and credentials to match your MQTT broker (I only tested with a mosquitto MQTT broker running on another machine).
Connecting
andConnected
as expected.sudo timedatectl set-time '2024-12-12 04:00:00'
Disconnected
Client ... has exceeded timeout, disconnecting
Additional context / logging
Setting the system time to a time in the future seems to be no problem.
This issue does not occur with mosquitto_sub. Tested with
When the MQTTnet client disconnects, the mosquitto_sub application remains running and outputs received messages and the MQTT broker prints only the timeout information for the MQTTnet client and not for the mosquitto_sub.
The text was updated successfully, but these errors were encountered: