Hi.
I have recently tried to move my rpi hassio install to my Mac Mini running in docker in ubuntu in virtual box.
I used these exact instructions:
i am using several add-ons with success, like samba, google assistant webserver and portioner, which are reachable on my host ip: respective ports. I am however not able to receive Mqtt messages on my mosquito broker, and my Duckdns is failing with error 403. Somehow I think the issues are related to how networking is handled on the host/docker setup, but I am too inexperienced to figure it out.
First issue with Mqtt:
Config:
{
“log_level”: “info”,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”,
“web”: {
“enabled”: true,
“ssl”: false
},
“broker”: {
“enabled”: true,
“enable_ws”: true,
“enable_mqtt”: true,
“enable_ws_ssl”: false,
“enable_mqtt_ssl”: false,
“allow_anonymous”: false
},
“mqttusers”: [
{
“username”: “myuser”,
“password”: “mypasswd”,
“readonly”: true,
“topics”: [
“#”
]
}
]
}
I am getting succesfull logins from my Mqtt devices in the log like this one:
1545952443: New connection from 192.168.1.63 on port 1883.
1545952443: New client connected from 192.168.1.63 as shelly1-5B2C33 (c1, k60, u’Simon’).
But when I log into the Mqtt server with HiveMQ I am only able to login with port 1884, not 1883 which my Mqtt clients are using. It throws this error when I use 1883:
Connect failed: AMQJS0008I Socket closed.
I am a little puzzled by this socket error, as my other Mqtt clients are sucessfully connecting to 1883.
When I log in with 1884, I don’t see any Mqtt messages at all.
Second issue in removed as I have a too link maximum
Is there some cross container networking I need to configure besides what the hassio addons already configure by themselves?
Any help will be much appreciated, and I am sorry if I missed any forum etiquettes. I am a long time lurker, but this is my first post.