Skip to content

Regression: 2.0.21 disconnects clients with exceeded timeout, disconnecting. #3226

Description

@CRCinAU

mosquitto.conf:

listener 1883
allow_anonymous true
connection_messages true
max_keepalive 60

Clients get disconnected rapidly with:

1741309598: Client auto-BF835801-605E-6610-8414-02AC56F590B8 has exceeded timeout, disconnecting.
1741309599: Client auto-A0C182C5-5451-C80E-654B-E3EEF4E44634 has exceeded timeout, disconnecting.
1741309599: New connection from 10.0.0.172:43825 on port 1883.
1741309599: New client connected from 10.0.0.172:43825 as auto-276EC781-505D-1292-9504-C020B814E5A4 (p2, c1, k60).
1741309600: Client auto-EBBE082C-0525-CC21-619B-A8A5CBD9ECCE has exceeded timeout, disconnecting.
1741309601: Client auto-734C449E-F32C-E244-3509-A412B8768D71 has exceeded timeout, disconnecting.
1741309601: New connection from 10.0.0.93:40210 on port 1883.
…1741309605: New client connected from 10.0.0.93:38393 as auto-01CE8C8E-F219-E6AC-6C62-C32BF0E8010C (p2, c1, k60).
1741309605: New connection from 10.0.0.196:56509 on port 1883.

Changing either max_keepalive from 60 -> 600, or reverting to 2.0.20 seems to fix the issue in the meantime.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions