-
Notifications
You must be signed in to change notification settings - Fork 12
Bug: esp32 nodemcu HTTP requests throwing InstrFetchProhibited #192
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
Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on. If no reviewer appears after a week, a reminder will be sent out. |
Updates merged to develop. Thanks again, @xtrinch 👍 |
This issue has been closed. If you wish to re-open it please provide additional information. |
I am using esp32 nodemcu with arduino framework building with platformIO.
Here's my
platformio.ini
:HTTP requests are randomly throwing the following error (Sometimes they work once, sometimes twice, and then force the controller to reboot):
How I tested that is basically with just a loop of the following:
Tracked down the error to some this github issue:
espressif/arduino-esp32#3347 (see espressif/arduino-esp32#3347 (comment)).
It seems that the following is using a deprecated constructor and as such is causing issues:
https://github.com/ArkEcosystem/cpp-client/blob/751212f0abb395d3ac7b9859b0538842118d4080/src/http/iot/http.cpp#L41
I made a simple workaround for myself which is in no way a general solution but just to demonstrate what worked for me and stopped my controller from rebooting with calling one of the non-deprecated constructors:
Hope that was extensive enough for the issue description!
The text was updated successfully, but these errors were encountered: