Mosquitto configuration uses recent options, Debian version too old #8

Closed
opened 2026-04-02 16:50:51 +00:00 by TurtleException · 1 comment

The mosquitto broker configuration file of the iot-broker application makes use of an option that was added fairly recently. The required version of mosquitto is not yet available via the Debian repositories.

Specifically, this section is problematic:

# # # # #
# LISTENERS
# Container-internal (intended for monitoring)
listener 1882
protocol mqtt
accept_protocol_versions 4
listener_allow_anonymous true
# Internal network (IoT)
listener 1883
protocol mqtt
accept_protocol_versions 3, 4, 5
socket_domain ipv4
listener_allow_anonymous false

The offending option is accept_protocol_versions, which is used to define what MQTT protocol versions a client may use.

See also

The mosquitto broker configuration file of the iot-broker application makes use of an option that was added [fairly recently](https://mosquitto.org/blog/2026/01/version-2-1-0-released/). The required version of mosquitto is not yet available via the Debian repositories. Specifically, this section is problematic: https://forge.turtle-host.de/TurtleHost/mono/src/commit/d5cbc54d33c4e2a1b4023c9508d8d0b25bef827b/applications/iot-broker/mosquitto.conf#L23-L37 The offending option is `accept_protocol_versions`, which is used to define what MQTT protocol versions a client may use. ## See also - Mosquitto release notes of required version: https://mosquitto.org/blog/2026/01/version-2-1-0-released/ - Debian package information for mosquitto: https://packages.debian.org/de/sid/mosquitto
Author
Owner

Possible solutions would be to either use a newer version of mosquitto (for example, by installing from source or using a different base-image), or remove the option completely - At least until mosquitto 2.1.0 is available via the Debian apt repos.

Possible solutions would be to either use a newer version of mosquitto (for example, by installing from source or using a different base-image), or remove the option completely - At least until mosquitto 2.1.0 is available via the Debian apt repos.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TurtleHost/mono#8
No description provided.