-
Notifications
You must be signed in to change notification settings - Fork 2.2k
MQTT Disconnects / Reconnects causing FreeMem decay - 6th May #1380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I use the openhab plugin to connect to a mosquito broker running on a raspberry pi and I don't see disconnects, like at all. Unless I reboot the broker or there is some other server/network issue, it just stays connected. Can you run an alternate broker to ensure that the issue is with esp easy vs the broker? There are public brokers on the internet, however I don't know how reliable they are. |
Mosquitto running on a windows 10 PC that never drops, thanks for suggestion, |
I think there is no difference between the controllers using MQTT, since they all use the same code to connect to MQTT broker. |
Ok, I will review Mosquitto settings but that won't be till next week as I will not be online. FreeMem decay, as reported above.. Tough one to find ? |
I have not yet looked at your logs, since they are a bit hard to grep on my phone ;) |
esp8266/Arduino#4497 |
@s0170071 Yep, first line of log, as downloaded from GitHub ESpeasy nightly |
Did you read #4497? |
@s0170071 Sounds like a simple change to do. |
Done it in the modbus class. Sort of I think. It does not leak with 241. And do not re-connect if already connected. |
I have same Issue. May be, that there is a problem in ram management? Broker is Debian Mosquito. Log from ESP12e, FW 20180507: connected with DrayTek, channel 10 Plugin calls: 50 ps:2489 uS, 10 ps:2359 uS, 10 psU:3069 uS, 1 ps:2414 uS |
See described work-around in esp8266/Arduino#4497 (comment)
I have returned from holiday, flashed 0516 and no longer see the issue I described. |
Cool, so the mentioned patch is working :) |
To whom it may concern,
I would like to report a memory decay by "56" everytime MQTT, shows as disconnected then reconnects
Node & MQTT server on same Router.
Connected Wifi first try & never dropped, isnt that exciting..
I do not understand why I had so many MQTT disconnects anyway, no regularity to them..
Can the MQTT stability be improved on ?
Long log, I have painstaking reduced to show "Events Of Interest".
Why does this show ? Notifications not set & nothing to trigger ?
The text was updated successfully, but these errors were encountered: