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

Doesn't work with the last version of mosquitto #39

Closed
SylvainMontagny opened this issue Feb 10, 2021 · 4 comments
Closed

Doesn't work with the last version of mosquitto #39

SylvainMontagny opened this issue Feb 10, 2021 · 4 comments

Comments

@SylvainMontagny
Copy link

SylvainMontagny commented Feb 10, 2021

docker-compose.yml file worked perfectly until 10 days ago. The lastest version of mosquitto container leads now to this error :
Error: Address not available : (eclipse/mosquitto#2040) .

I had to use go back to eclipse-mosquitto:1.5 to make it work.

mosquitto:
image: eclipse-mosquitto:1.5
ports:
- 1883:1883

@GinterP
Copy link
Contributor

GinterP commented Feb 11, 2021

eclipse-mosquitto:2.0 has breaking changes: https://mosquitto.org/blog/2020/12/version-2-0-0-released/

In order to get this working with v2 you have to add the following settings to mosquitto.conf:

listener 1883 
allow_anonymous true

@brocaar
Copy link
Collaborator

brocaar commented Feb 11, 2021

I have fixed the version to :1.6 so that the issue is fixed for now. @GinterP would you like to make a pull-request, updating Mosquitto to v2 + adding the above config?

@GinterP
Copy link
Contributor

GinterP commented Feb 12, 2021

I have added a pull request: #40

@brocaar
Copy link
Collaborator

brocaar commented Feb 12, 2021

I've merged #40 👍

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

3 participants