Closed rdcavanha closed 2 years ago
Doing HTTPS requests can be challenging for the ESP8266 memory, however, the unmodified Fetch example should work. Does it restart immediately on the first attempt, or only after a certain number of requests?
I did a test with the current repository version on a NodeMCU, and I don't have any issues. Therefore I am afraid it will be hard for me to debug this.
You could try if this leads to some more insights: https://github.com/me-no-dev/EspExceptionDecoder
Thank you, @maakbaas I'm starting to think that my board is defective. I will try the same code on another nodemcu that I have. For now, I would say the issue can be closed since it's not replicable.
Hello,
When running the fetch example on my nodemcu, it throws an exception and restarts itself (see monitor output below).
I have tried rebuilding the certificate store with
-DREBUILD_CERTS
, but nothing changes. Also, I'm just running thefetch
example, nothing else. I suspect that the issue might be related to memory exhaustion. Any ideas?Note: If I use this other example: BasicHttpsClient.ino, it works perfectly fine and the HTTPS request succeeds if I set
client->setInsecure();
. I am aware that usinginsecure
is not the ideal solution, hence why I would like to use the framework'sfetch
module.Thank you in advance and happy holidays!