-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
[Bug] Exception causing reboot with version 0.8.123 #1650
Comments
the exception says that you're out of memory. How many inverters do have configured? |
It would be of interest which value you see for free heap in |
2 inverters polling with 15 secs. I guess it's the webserver-library update... |
I think it is related to the change in |
I tried this fixed version and got no exception so far. |
I tried 240530_ahoy_0.8.123_8d4ca49_esp32-wroom32-de.bin and had similar problems with the webserver. Webpages were loading and reacting very slowly and delayed. Then I went back to 240523_ahoy_0.8.122_4ca0562_esp32-wroom32-de.bin and the webserver works like a charme again. |
After finding out how to capture the serial output of the ESP8266 when connected to a FritzBox I was now also able to record the C++ exception running the GIT SHA: 3c0c8ee :: 0.8.129. I have one inverter connected. env: esp8266-all Details
Of course I had these issues with different power supplies, cables and capacitors connected. |
@SvenLuebke please enclose your code block in [/] Slash commands Details. Regarding the Exception you posted you have to Decode it using the ESP Exception Decoder in Arduino. You will also need the binary / header files in order to decode the symbols on the stack. |
@stefan123t Do you really mean me? I tried to do it, but the result is exactly the same (starting with three `). Thanks for the hint. I will try to decode the exception using the decoder. |
[Sorry for the German. Now the same feedback in English.] The current 0.8.129 is also instable for me. I am now back to the 121 that I previously tested. This is the last stable and performant version I had. I am not so familiar with ESP microcontrollers (started with 68hc11 and did Arduinos lately), but I can try to test or check something if I get a hint (what and how). |
Thanks for the hint, 'll also try that version! I'm glad, that I'm not the only one with these problems. But...as some people seem to be very happy, I thought about whether my ESP8266 (from AliExp***) might be corrupt, but I already also changed the complete ESP8266 board (although: same order) and NRF24L01 board with no improvements. So it might be
I'll try the 121 now and will record the serial again.... BR, |
I can now confirm, that the web-interface is broken since the 123 version. So apparently the updated AsyncWebserver library to 3.2.2 does not work properly on a ESP8266. |
@SvenLuebke thanks for using the triple backticks (before and after the code block), this formats the code in pre-formatted / ASCII mode. If you use the [/] Slash command Details it will add some html code to collapse your text / code block to make the issue even more readable. @steve-zero thanks for hinting to your use of the ESP8266. A lot of the pages served by the ESPAsyncWebServer have to be put together by concatenating large string objects in the ESP memory. This can easily exceed the Heap/Stack for these tiny MCUs. So yes this is a Bug and should be treated as such, but I expect that the only apparent solution could be to diaable aome of the functionality on the ESP8266 vs the beefier ESP32. @lumapu may eg need to restrict the History graph to the ESP32 port/platform. But also the MQTT messagea have to be string'ed together. |
I got V0.8.101 now running for 71 days without reboot - polling 2 inverters (10s), no mqqt, but requesting values by rest-api (each 10s one inverter-data, alternating). (on esp8266) |
@technics42 @Zordandi @SvenLuebke @steve-zero could you please try the current v0.8.152 from the development03 branch and report back if you still face the Exception causing reboot, aka Out Of Memory ? |
Without MQTT it seems to be stable, same as v0.8.121. No long term experience though. PS. Used the full version, as I would like to have the history (Verlauf). |
@steve-zero how many inverters and which polling interval do you have in your configuration ? |
I already used 0.8.152 some days ago, but encountered reboots/crashes and freezing webserver. See my reported issues. |
One HM-1500, polling every 15 seconds, as per default. Ohne MQTT lief er übrigens seit gestern problemlos und stabil durch. Ich finde es gut, dass die 152 immerhin so wieder stabil läuft, aber MQTT zusammen mit dem Verlauf und/oder der Konsole ist wohl zu viel für den kleinen 8266... |
I'm also still facing reboot issues: While on "Live" page clicking on main page (to see the uptime) doesn't work after some days of uptime, although "Live" was updating without any issue. The ESP reboots and main page is working afterwards. |
Platform
ESP8266
Assembly
I did the assebly by myself
nRF24L01+ Module
No response
Antenna
circuit board
Power Stabilization
Elko (~100uF)
Connection picture
Version
0.8.123
Github Hash
8d4ca49
Build & Flash Method
AhoyDTU Webinstaller
Setup
no mqtt
Debug Serial Log output
No response
Error description
DTU infrequently throws exception leading to reboot - my guess, it's related to webserver (if you try refreshing a page).
Here is the log:
Details
The text was updated successfully, but these errors were encountered: