-
Notifications
You must be signed in to change notification settings - Fork 7.6k
HTTPClient crash on GET() for url with 1 redirect #4931
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 know that PIO can use the development version of this repo. Please check in their docs how to do it and try against that. I added a fix exactly for redirects |
platform = https://github.com/platformio/platform-espressif32.git should do it, i will give it a try ! |
Nope :/ Arduino IDE Version : 10805 Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled. |
There was something weird so I decided to wipe .pio and PIO's framework directory to ensure it was not mixing frameworks parts... and i am afraid it's really not fixed |
Took me a while but I figured it out :) fixed in the commit above |
Hardware:
Board: ESP32 Dev Module
Arduino IDE Version : 10805
ESP SDK version: v3.3.4-432-g7a85334d8
IDE name: PIO
Flash Frequency: 40Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10
Description:
Crash happens when downloading URL with http.setFollowRedirects(followRedirects_t::HTTPC_STRICT_FOLLOW_REDIRECTS);
This URL indeeds forward the client once to the read URL where the binary file is.
Note that the crash does not occur if I give it the relocated URL directly.
Sketch: (leave the backquotes for code formatting)
Debug Messages:
The text was updated successfully, but these errors were encountered: