Closed AnumSheraz closed 4 years ago
Get something similar here...
Everything OK on 2.5.0, but not on 2.5.1 and 2.5.2... In my code, it hangs randomly when calling server.handleClient();
When looping, several calls pass OK (like between 5 to 20 times) and then hangs.
Libraries used :
`#include
Thanks !
2.5.0 uses SDK 3 pre-release. in 2.5.1 they reverted to 2.2.1 because of problems. In 2.5.2 you can select the SDK 3 in Tools menu for Generic esp8266 'board'. with switch of the SDK it is recommended to erase the flash, but it is possible that the problems go away after some time after the esp8266 executes RF calibration, which happens after some count of resets. additionally you could try to reduce the RF TX power with WiFi.setOutputPower
@AnumSheraz The "C" in MCVE stands for Complete. Your posted code is missing the html and other .js that contain calles functions. Without that, this issue will be closed. Can you update your post to be complete?
@AnumSheraz The "C" in MCVE stands for Complete. Your posted code is missing the html and other .js that contain calles functions. Without that, this issue will be closed. Can you update your post to be complete?
updated the answer :)
@AnumSheraz a lot has changed since this was reported, including several relevant fixes. Is this issue still valid in 2.6.3?
The provided app is still incomplete. Closing due to lack of feedback.
NOTE:
This issue occurs only on version 2.5.1 and 2.5.2. It works perfectly fine on v2.5.0
PROBLEM
I have a simple HotSpot mode code running on ESP,
The page
PAGE_GatewayNode_Config
requires microAJAX.js code onwindows.onload
callThis seems to crash on esp as soon as I request
GET /
. Here is the decoded stack traceNote that ESP doesn't only crashes on this microAJAX call, I tried to load only a simply
Hello World
web page and it crashed on that too :(Platform
Hardware: [ESP8266 - LOLIN (WIMOS) D1 R2 & mini] Core Version: 2.5.1 & 2.5.2 Development Env: [Arduino IDE 1.8.9] Operating System: [MacOS]
Settings in IDE
UPDATE
More HTMl and .js code, (as asked), is below;