mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #99] Crash after selecting network #75
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fmgomes on GitHub (Feb 9, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/99
I am using the simplest example, Autoconnect. I was testing it using different browsers and devices (PC, Smartphone, etc.) initially it worked, and after some tests the result I have is always the same, when I select the network on the webpage, it tries to connect to it and crashes. It happens with different networks. This is the log:
...
*WM: WiFi save
*WM: Sent wifi save page
*WM: Connecting to new AP
*WM: Connecting as wifi client...
Exception (9):
epc1=0x40105479 epc2=0x00000000 epc3=0x00000000 excvaddr=0x2087dc3f depc=0x00000000
ctx: cont
sp: 3fff04a0 end: 3fff0a00 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
Any idea what could have been the cause and how to correct it?
Thanks!
Fernando
@tzapu commented on GitHub (Feb 10, 2016):
hi
try with another module if you can and with another power source.
connection issues like that are usually caused by inadequate power supply
cheers
@fmgomes commented on GitHub (Feb 10, 2016):
Hi, thanks for your reply! I think that it was something that occured in one of the configuration tests, because I've been able to change the configuration a few times using the WiFi Manager without any issue, and after some point I always have the crash when it tries to connect to the network. This issue was solved when I wrote a new program to the module. The module was a NodeMCU, and it never crashed before, with lots of different sketches running on it (I previously had lots of crashes using the ESP-01 due to power and module layout problems, then I changed to the Olimex boards, ESP-12 modules and NodeMCU modules and never found that problem again). One thing that might have changed during the test (but I'm not sure it was the cause) was that in the initial tests I was using the smartphone to configure the WiFi, and then I changed to my PC, that had the brower already open and might have some of the webpages trying to get data from the server, when I changed to use the NodeMCU as an AP, the NodeMCU started getting these requests, not only a single page request to make the configuration. Do you think that it might have this secondary effect? I will test it again trying to reproduce the problem, but probabbly only next weekend.
Best regards
Fernando