chirpstack / chirpstack-docker

Setup ChirpStack using Docker Compose
https://www.chirpstack.io/
MIT License
275 stars 316 forks source link

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

Closed SylvainMontagny closed 3 years ago

SylvainMontagny commented 3 years ago

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 : (https://github.com/eclipse/mosquitto/issues/2040) .

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

mosquitto: image: eclipse-mosquitto:1.5 ports:

GinterP commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

I have added a pull request: #40

brocaar commented 3 years ago

I've merged #40 :+1: