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

per_listener_settings makes reload on HUP fail #1459

nikin opened this issue Oct 15, 2019 · 1 comment


Copy link

@nikin nikin commented Oct 15, 2019

When using per_listener_settings true in my config reloading the config with HUP signal fails with error message

console output

/ # ./usr/sbin/mosquitto -c /mosquitto/config/mosquitto.conf 

1571132980: mosquitto version 1.6.7 starting
1571132980: Config loaded from /mosquitto/config/mosquitto.conf.
1571132980: Opening ipv4 listen socket on port 1884.
1571132980: Opening ipv4 listen socket on port 1883.
1571132980: Opening ipv6 listen socket on port 1883.
1571132990: Reloading config.
1571132990: Error: per_listener_settings must be set before any other security settings.
1571132990: Error found at /mosquitto/config/mosquitto.conf:1.


per_listener_settings true

port 1883

user mosquitto
log_dest stdout
allow_anonymous false

### Listener 2

listener 1884
allow_anonymous true

This was recreated with release 1.6.7 as well as 1.6.3

ralight added a commit that referenced this issue Oct 15, 2019

Closes #1459. Thanks to Thomas Markin Klein.

This comment has been minimized.

Copy link

@ralight ralight commented Oct 15, 2019

Thank you, that is now fixed in the fixes branch.

@ralight ralight added this to the 1.6.8 milestone Oct 15, 2019
@ralight ralight closed this Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.