mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #465] What has gone wrong? #391
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#391
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 @TinajaLabs on GitHub (Dec 2, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/465
Publish counter: 3044
Publish counter: 3045
Publish counter: 3046
Exception (3):
epc1=0x402120b7 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40000000 depc=0x00000000
ctx: sys
sp: 3ffffc60 end: 3fffffb0 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(1,7)
ets Jan 8 2013,rst cause:4, boot mode:(1,7)
wdt reset
@TinajaLabs commented on GitHub (Dec 2, 2017):
The code I used to reveal the above error:
@TinajaLabs commented on GitHub (Dec 2, 2017):
I've been dealing with this crash with wemos D1 mini's version 2.2.0 (ESP-12S), wemos.cc (ESP8266MOD), and non-wemos (ESP8266MOD). I've got a couple of versions that are working OK with additional code for MQTT/PubSubClient.
I've seen the same behavior as others where a few devices fail at the same time.
I'm stuck. What can I do to track down this problem.
Thanks,
Chris.
@ldab commented on GitHub (Dec 3, 2017):
When using the AutoConnectWithFSParameters.ino it crashed on me when changing the length of
char blynk_token[35]tochar blynk_token[]edit: Also rst cause:2 = Reset PIN. Maybe check the power supply?
Hope it helps.
@TinajaLabs commented on GitHub (Dec 5, 2017):
ldab,
Thanks for your suggestions. I'm not using blynk but I am guessing you were storing config in FS?
re: Power supply - I use 5V 2A power supplies (basic cell phone styled charger) with my wemos d1 minis. That should be enough for basic wifi usage. I do have problems with power when trying to run a strand of 25 neopixels with any other sensors or wifi, etc. But that's an ongoing issue not related to this.
One very strange behavior is that the crash also occasionally triggers a simultaneous crash in a few other wemos devices in my home. Some are not even running wifimanager. All are running mqtt (brokered through a raspi running node-red). Very strange.
Again, thank you,
Chris.
@ldab commented on GitHub (Dec 5, 2017):
Yes, storing at FS.
I had a quick look into your code, even though I'm not too familiar with snprintf. You're storing value into msg[50] maybe it's exceeding msg size and crashing. Or value will eventually be bigger than 75bytes and crash?
@TinajaLabs commented on GitHub (Dec 5, 2017):
Oh. Excellent catch. I'll test tonight. Thank you.
@skx commented on GitHub (Jan 8, 2018):
Did your test confirm that? If so please do close the issue :)