You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Raspberry 3, fresh install, i have found an issue and a solution,
zigbee2mqttassistant is not able to connect to mosquitto due to fact thas is not in the same network,
Application started. Press Ctrl+C to shut down. warn: Zigbee2MqttAssistant.Services.MqttConnectionService[0] Unable to connect to MQTT server mosquitto. MQTTnet.Exceptions.MqttCommunicationException: Name or service not known ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known
i have edited docker-compose.yal and add:
networks:
- iotstack_nw
After that docker-compose up -d and all was ok.
I post here maybe will be and update on file IOTstack/.templates/zigbee2mqttassistant/service.yml
Maybe i am right, maybe not, but at least if someone will have the same issue, will find here an answer :)
The text was updated successfully, but these errors were encountered:
Daneild
changed the title
zigbee2mqttassistant not connecting to mosquitto
zigbee2mqttassistant not connecting to mosquitto: Name or service not known
Jan 17, 2021
Hi,
Raspberry 3, fresh install, i have found an issue and a solution,
zigbee2mqttassistant is not able to connect to mosquitto due to fact thas is not in the same network,
Application started. Press Ctrl+C to shut down. warn: Zigbee2MqttAssistant.Services.MqttConnectionService[0] Unable to connect to MQTT server mosquitto. MQTTnet.Exceptions.MqttCommunicationException: Name or service not known ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known
i have edited docker-compose.yal and add:
After that docker-compose up -d and all was ok.
I post here maybe will be and update on file
IOTstack/.templates/zigbee2mqttassistant/service.yml
Maybe i am right, maybe not, but at least if someone will have the same issue, will find here an answer :)
The text was updated successfully, but these errors were encountered: