ESPresense / ad-espresense-ips

DEAD: See https://github.com/ESPresense/ESPresense-companion
64 stars 9 forks source link

mqtt namespace question #8

Closed gravyflex closed 2 years ago

gravyflex commented 2 years ago

I am trying to set this up with docker. I get the error below when namespace: mqtt in appdaemon.yaml. I am new to appdaemon and I am wondering if this is a worry. With the default namespace appdaemon starts up correctly.

appdaemon    | 2022-01-08 23:44:38.694597 INFO AppDaemon: Got initial state from namespace default
appdaemon    | 2022-01-08 23:44:39.606754 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
appdaemon    | 2022-01-08 23:44:39.607766 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
appdaemon    | 2022-01-08 23:44:41.611041 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
appdaemon    | 2022-01-08 23:44:41.611775 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
appdaemon    | 2022-01-08 23:44:44.719791 INFO AppDaemon: New client Admin Client connected
appdaemon    | 2022-01-08 23:44:45.615819 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
appdaemon    | 2022-01-08 23:44:45.616243 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
appdaemon    | 2022-01-08 23:44:45.677057 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
appdaemon    | 2022-01-08 23:44:53.620301 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
appdaemon    | 2022-01-08 23:44:53.621748 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
appdaemon    | 2022-01-08 23:44:53.686474 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
appdaemon    | 2022-01-08 23:45:03.691098 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 10.168.20.26:1883 is correct and broker is not down and restart Appdaemon
appdaemon    | 2022-01-08 23:45:04.636591 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
appdaemon    | 2022-01-08 23:45:09.641137 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
gravyflex commented 2 years ago

Resolved - username and password should be client_user and not mqtt_client_user