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

Broker Hang on Bad Configuration #2241

Closed
PBearson opened this issue Jun 28, 2021 · 1 comment
Closed

Broker Hang on Bad Configuration #2241

PBearson opened this issue Jun 28, 2021 · 1 comment
Labels
Component: mosquitto-broker Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer. Type: Bug
Milestone

Comments

@PBearson
Copy link

PBearson commented Jun 28, 2021

Mosquitto Version: 2.0.11 (also tested in version 2.0.7 and 1.5)
Platform: Kali 2021.2 and Ubuntu 20.04

There seems to an issue with the broker hanging when the configuration file is given an improper password_file argument. Specifically, it seems like the broker hangs when password_file is given a directory name instead of a file name, for example:

password_file /

You can see from the following screenshot that the broker appears to load the config file, but it does not advance after that.

image

After some debugging, I found that the program appears to get stuck in this loop indefinitely.

@ralight
Copy link
Contributor

ralight commented Aug 21, 2021

Thanks very much, this is now fixed in the fixes branch and will be part of 2.0.12.

@ralight ralight added this to the 2.0.12 milestone Aug 21, 2021
@ralight ralight added Component: mosquitto-broker Status: Accepted It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer. and removed Status: Accepted It's clear what the subject of the issue is about, and what the resolution should be. labels Aug 21, 2021
@ralight ralight closed this as completed in 6608e85 Sep 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Component: mosquitto-broker Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer. Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants