emontnemery / domoticz_mqtt_discovery

MQTT discovery plugin for Domoticz
MIT License
40 stars 28 forks source link

Python Plugin System: (MQTT Discovery) Transport is not connected, write directive to '127.0.0.1' ignored #40

Open mikeo999 opened 3 years ago

mikeo999 commented 3 years ago

After updating Domoticz to the latest beta and running sudo apt-get update and sudo apt-get upgrade is see that Mosquitto is also upgrades to version 2.0.9

In the log of Domoticz is now get sometime the error

Python Plugin System: (MQTT Discovery) Transport is not connected, write directive to '127.0.0.1' ignored

Don't know if it is important, look like everything is working normal.

Plugin setting : MQTT Server in Domoticz is: 127.0.0.1

mikeo999 commented 3 years ago

Errors are getting worse.

2021-04-18 00:00:58.889 Error: MQTT Discovery: (MQTT Discovery) Transport is not connected, write directive to '127.0.0.1' ignored. 2021-04-18 00:01:08.076 Error: MQTT Discovery: (MQTT Discovery) Transport is not connected, write directive to '127.0.0.1' ignored. 2021-04-18 00:01:16.306 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.306 Error: (MQTT Discovery): Async Read Exception (127.0.0.1:1883): 104, Connection reset by peer 2021-04-18 00:01:16.307 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.307 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.307 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.307 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.307 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.516 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.516 Error: (MQTT Discovery): Async Read Exception (127.0.0.1:1883): 104, Connection reset by peer 2021-04-18 00:01:16.516 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.516 Error: handleWrite: Exception thrown: 'write: Broken pipe' 2021-04-18 00:01:16.517 Error: MQTT Discovery: (MQTT Discovery) No transport, write directive to '127.0.0.1' ignored. 2021-04-18 00:01:16.519 Error: MQTT Discovery: (MQTT Discovery) No transport, write directive to '127.0.0.1' ignored.

emontnemery commented 3 years ago

I'm no longer using Domoticz, so this issue needs to be solved by a PR.