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

mosquitto broker can't start after configuring password authentication #3041

Open
twkwow opened this issue Apr 17, 2024 · 0 comments
Open

mosquitto broker can't start after configuring password authentication #3041

twkwow opened this issue Apr 17, 2024 · 0 comments

Comments

@twkwow
Copy link

twkwow commented Apr 17, 2024

basically i've installed mqtt mosquitto on windows, when I tried to configure the password files, it wont run. I suspect it is because it can't find the password file. I've tried mutiple password file paths in the mosquitto.conf like:

password_file "C:\Program Files\mosquitto\p1.txt"
password_file "C:\Program Files\mosquitto\p1"
password_file C:\Program Files\mosquitto\p1.txt
password_file C:\Program Files\mosquitto\p1
password_file C:\Progra ~ 1\mosquitto\p1.txt
password_file C:\Progra ~ 1\mosquitto\p1

all of the above can't seemed to work. If I don't use password configuration and allow_anonymous true, then it started running again. I'm running the mosquitto broker on my windows 10, using cmd with the command: net start mosquitto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant