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
In the settings, set it to homeassistant.local and it can be used normally.
However, if the IP is set to the domain name (the domain name points to the same point), it will not work.
The same domain name can be submitted to HA using MQTT using Python, but the App cannot.
use: homeassistant.local is ok
log:2024-12-31 14:15:23.697 +08:00 [FTL] [MQTT] Error while connecting: Error while authenticating. Connection closed.
MQTTnet.Adapter.MqttConnectingFailedException: Error while authenticating. Connection closed.
---> MQTTnet.Exceptions.MqttCommunicationException: Connection closed.
at MQTTnet.Client.MqttClient.Authenticate(IMqttChannelAdapter channelAdapter, MqttClientOptions options, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at MQTTnet.Client.MqttClient.Authenticate(IMqttChannelAdapter channelAdapter, MqttClientOptions options, CancellationToken cancellationToken)
at MQTTnet.Client.MqttClient.ConnectInternal(IMqttChannelAdapter channelAdapter, CancellationToken cancellationToken)
at MQTTnet.Client.MqttClient.ConnectAsync(MqttClientOptions options, CancellationToken cancellationToken)
at MQTTnet.Client.MqttClient.ConnectAsync(MqttClientOptions options, CancellationToken cancellationToken)
at MQTTnet.Extensions.ManagedClient.ManagedMqttClient.ReconnectIfRequiredAsync(CancellationToken cancellationToken)
2024-12-31 14:15:23.701 +08:00 [WRN] [MQTT] Disconnected: UnspecifiedError
2024-12-31 14:17:27.847 +08:00 [INF] [HASS_API] Server recovered from failed state
The text was updated successfully, but these errors were encountered: