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 question – jsotola Dec 11 '18 at 16:50

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 Dec 23 '18 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 Jan 8 '19 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.