yllibed / Zigbee2MqttAssistant

GUI for Zigbee2Mqtt running in docker and HASS.IO
450 stars 42 forks source link

Bug after HA last update #366

Closed CoolS2 closed 3 years ago

CoolS2 commented 3 years ago

My settings:

settings:
  mqttserver: addon_core_mosquitto
  mqttusername: ****
  mqttpassword: ****

Log:

Section 'settings' in configuration does not exists. Will use default settings instead.

Warn:

Unable to connect to MQTT server mqtt.

pasitiff commented 3 years ago

Hi! I have the same issue. In mqtt brocker I see new name for the host, now it is core-mosquitto, but it doesn't help to fix issue as well.

carldebilly commented 3 years ago

The problem has been fixed in the hassio repo, but maybe I need to push a new version for everybody to get it.

pasitiff commented 3 years ago

Hi! Am I right to change mqtt server from addon_core_mosquitto to core-mosquitto?

чт, 11 февр. 2021 г., 16:49 Carl de Billy notifications@github.com:

The problem has been fixed in the hassio repo, but maybe I need to push a new version for everybody to get it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yllibed/Zigbee2MqttAssistant/issues/366#issuecomment-777471092, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALX4LKWQM7QVTJZOHNUG3SDS6PN7TANCNFSM4XOOTONA .

OddmarDam commented 3 years ago

I have the same problem::

Here is my log.

Starting Zigbee2MqttAssistant v0.3.157+Branch.master.Sha.ea388c3bbc2d43c4c9c62f27bb6764911ba4acc9... warn: Zigbee2MqttAssistant.Services.SettingsService[0] Section \'settings\' in configuration does not exists. Will use default settings instead. Hosting environment: Production Content root path: /app Now listening on: http://[::]:80 Application started. Press Ctrl+C to shut down. warn: Zigbee2MqttAssistant.Services.MqttConnectionService[0] Unable to connect to MQTT server mqtt. MQTTnet.Exceptions.MqttCommunicationException: Name does not resolve

PiotrBielecki commented 3 years ago

I also have no idea how to fix it :)

francisp2 commented 3 years ago

Mine does not work anymore too

settings:
  mqttserver: 10.0.0.63
  mqttusername: xxxx
  mqttpassword: xxxx

log :

Starting Zigbee2MqttAssistant v0.3.157+Branch.master.Sha.ea388c3bbc2d43c4c9c62f27bb6764911ba4acc9...
warn: Zigbee2MqttAssistant.Services.SettingsService[0]
      Section 'settings' in configuration does not exists. Will use default settings instead.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
      No XML encryptor configured. Key {60b6324f-afd5-4f76-9bdb-975d244422b6} may be persisted to storage in unencrypted form.
Hosting environment: Production
Content root path: /app
Now listening on: http://[::]:80
Application started. Press Ctrl+C to shut down.
warn: Zigbee2MqttAssistant.Services.MqttConnectionService[0]
      Unable to connect to MQTT server mqtt.
MQTTnet.Exceptions.MqttCommunicationException: Name does not resolve
 ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name does not resolve
   at System.Net.Dns.InternalGetHostByName(String hostName)
   at System.Net.Dns.ResolveCallback(Object context)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)
   at System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.DoDnsCallback(IAsyncResult result, MultipleAddressConnectAsyncResult context)
   at System.Net.Sockets.Socket.DnsCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.<>c.<ConnectAsync>b__277_0(IAsyncResult iar)
--- End of stack trace from previous location where exception was thrown ---
   at MQTTnet.Implementations.MqttTcpChannel.ConnectAsync(CancellationToken cancellationToken)
   at MQTTnet.Internal.MqttTaskTimeout.WaitAsync(Func`2 action, TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at MQTTnet.Adapter.MqttChannelAdapter.WrapException(Exception exception)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)
   at MQTTnet.Extensions.ManagedClient.ManagedMqttClient.ReconnectIfRequiredAsync()

I don't see an update available

HA 2021.2.3

shajek commented 3 years ago

Home Assistant 2021.2.3, same problem too

jimmyeao commented 3 years ago

Same issue here - however after clearing my cache, all the settings have disappeared: image

jimmyeao commented 3 years ago

Remove the plugin and reinstall it - worked for me!

francisp2 commented 3 years ago

Reinstalling helped a little bit, but I don't get a map anymore.

image

pjesus00 commented 3 years ago

Reinstalling helped a little bit, but I don't get a map anymore.

image

Restart the add-on and launch new network scan. It's works for me after reintall it.

hudzikj commented 3 years ago

I confirm after reinstallation add-on it is possible to change the mqtt server again . There is also a map with connections. CC2531.