-
Notifications
You must be signed in to change notification settings - Fork 13.3k
GET request exception 29 #6001
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
We need the full crash dump, including the line showing where it failed, including line numbers to look at it. Please re-run and decode the entire exception output. |
|
You're out of memory and running a very old release, it's crashing in a debug message from BearSSL reporting the failure. I suggest migrating to the latest release or GIT and re-retying as there were memory saving changes in the months since that 2.4.2 release |
Firstly I wrote code on 2.5.0, but I had a lot of bugs on it. Such as not working OTA over HTTPS #5818. Also on 2.5.0 sketch can work after manipulating rows (separate println's on 2 - sketch working, when in one row - not working). And latest problem that knocks me to 2.4.2 is that responses from GET() not modifies, i.e. I get data (1), then I change data on server to (2), watch at recieved data and there is still data (1). |
Not much to say, it's hard out of space and printf() doesn't have enough memory to do its work at that point and boom. No debug == more free memory, so you might be able to just squeeze it into the heap. HTTPS w/o MFLN takes a very large amount of RAM, that's the nature of the beast. |
Just now tried to compile same sketch at 2.5.0 and gets Soft WDT reset at update checking. As I described in previous issue, when I enables debug with certain level (on 2.5.0) it's starts to updating. Is there a way out to OTA update? |
Seems like there's nothing here related to the GET other than OOM. Please track the OTA stuff in the original bug you had there. Try the GIT version, not a release 2.5.0, as in the OTA bug I remember comments about a specific LWIP bug being fixed after 2.5.0 which unblocks OTA. |
Basic Infos
Platform
Settings in IDE
Problem Description
In function which recieve data from server over HTTPS protocol, in case when certificate is incorrect ESP throws exception. Decoded stack below:
Function _getData() calls every 2 seconds. On 2-3d call appears exception.
Intresting fact, when I disable debug (DEBUG_S, DEBUG_N functions) all works well, and exception do not appears. Also I wrote simple sketch where just 10 requests to server - all requests goes through.
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: