To test the WiFi connection I'm sharing the WiFi of my cellphone.
If I stop the WiFi sharing during the command below, the ESP8266 stops working. It only works if I do a hardware reset.
If I don't stop the WiFi it works normally.
if(client->POST(urlCal, host, payload))
{ RetornoPost = client->getResponseBody(); }
- HTTPS Redirect (Version 2.0)
- ESP8266 library version 2.4.2
Does anyone know why ESP8266 stops working?
-
you forgot to ask a questionjsotola– jsotola2018年12月11日 16:50:38 +00:00Commented Dec 11, 2018 at 16:50
1 Answer 1
If by "stops working" you mean it doesn't do whatever follows the client->POST
method invocation, then your interpretation is correct and you could have found my very same information if you had read the open issues on the library before submitting your own.
If I were the author of the library I would be upset by such behavior.
-
Now it is working! In tests the version "2.5.0-beta2" solves this issue!Bruno Yuzo– Bruno Yuzo2018年12月23日 18:10:27 +00:00Commented Dec 23, 2018 at 18:10
-
Sorry for the wrong information, but unfortunately, the error keeps occurring with "2.5.0-beta2". Sometimes ESP8826 restart when there is an error and is OK. But other times ESP88266 breaks, and I have to do a Hardware Reset.Bruno Yuzo– Bruno Yuzo2019年01月08日 18:46:47 +00:00Commented Jan 8, 2019 at 18:46
-
ESP8266 library version 2.6.3, and watchdog to wait the resposnse, solve this error.Bruno Yuzo– Bruno Yuzo2020年04月17日 14:05:30 +00:00Commented Apr 17, 2020 at 14:05