-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Error while starting mosquitto broker with protocol websockets (docker-container) #2308
Comments
Same issue here |
@ralight If i ececute the the same command, I get the following output: $ more Mosquitto/mosquitto.conf
listener 9001
protocol websockets
allow_anonymous true
log_type all
$ docker run -it -p 9001:9001 -v ${PWD}/Mosquitto:/mosquitto/config eclipse-mosquitto:2.0.12
Unable to find image 'eclipse-mosquitto:2.0.12' locally
2.0.12: Pulling from library/eclipse-mosquitto
a0d0a0d46f8b: Pull complete
0923389132a8: Pull complete
Digest: sha256:ce08d3fe69d4170cea2426739af86ac95e683f01dd2c4141da661983a2401364
Status: Downloaded newer image for eclipse-mosquitto:2.0.12
).32308106: Error: Invalid protocol value (websockets
1632308106: Error found at /mosquitto/config/mosquitto.conf:2. |
@MerzMax Hmm, very interesting. What platform are you running Docker on? |
@ralight Windows with wsl 2. |
Thanks, I'll get myself set up with Docker on WSL 2 and give it a try, it might not be straight away. |
This looks to be a duplicate of #2297, I'm going to close this and track it there if that's ok. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use the mosquitto docker container version 2.0.12.
I can't start the broker with the option "protocol websockets" anymore. This is the output of my container:
My mosquitto.conf:
The text was updated successfully, but these errors were encountered: