Comments (6)
FYI - The version of the ESP32 core was the issue. Glad you noticed that. I didn't realize that the package config I was using wasn't the latest. It only had versions up to 1.0.6. After updating to 2.0.3 things just worked.
from espasync_wifimanager.
Hi @Petermarcu
Sorry I can't duplicate your issue.
Starting Async_ConfigOnStartup using LittleFS on ESP32_DEV
ESPAsync_WiFiManager v1.12.2
[WM] RFC925 Hostname = AsyncConfigOnStartup
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
Opening configuration portal.
[WM] * Add SSID = HueNet1 , PW = 12345678
Got ESP Self-Stored Credentials. Timeout 120s for Config Portal
[WM] LoadWiFiCfgFile
[WM] failed
Open Config Portal without Timeout: No stored Credentials.
Starting configuration portal @ 192.168.4.1, SSID = ESP_9ABF498, PWD = your_password
[WM]
Configuring AP SSID = ESP_9ABF498
[WM] AP PWD = your_password
[WM] AP Channel = 3
[WM] AP IP address = 192.168.4.1
[WM] HTTP server started
[WM] startConfigPortal : Enter loop
[WM] Request redirected to captive portal
[WM] Location http:// 192.168.4.1
[WM] Request redirected to captive portal
[WM] Location http:// 192.168.4.1
[WM] Request redirected to captive portal
[WM] Location http:// 192.168.4.1
[WM] Request redirected to captive portal
[WM] Location http:// 0.0.0.0
[WM] Request redirected to captive portal
[WM] Location http:// 192.168.4.1
[WM] Can't use Custom STA IP/GW/Subnet
[WM] Connected after waiting (s) : 1.30
[WM] Local ip = 192.168.2.109
[WM] Timed out connection result: WL_CONNECTED
WiFi connected...yeey :)
[WM] * Add SSID = HueNet1 , PW = 12345678
[WM] * Add SSID = HueNet2 , PW = 12345678
[WM] getSTAStaticIPConfig
[WM] SaveWiFiCfgFile
[WM] stationIP = 0.0.0.0 , gatewayIP = 192.168.2.1
[WM] netMask = 255.255.255.0
[WM] dns1IP = 192.168.2.1 , dns2IP = 8.8.8.8
[WM] OK
After waiting 0.00 secs more in setup(), connection result is connected. Local IP: 192.168.2.109
[WM] freeing allocated params!
H
You have to check, step-by-step
- your hardware
- update to ESP32 core v2.0.3 (it seems you're using old ESP32 core)
- test littlefs / file system to be sure OK before using this library
I suggest next time you post the problem on Discussions, not Issues if it is not a bug of the library.
I'm closing the issue now as not a bug.
Good Luck,
from espasync_wifimanager.
Thanks. Will do that next time and will follow your suggestions.
from espasync_wifimanager.
Thanks for your info which will help many other users to avoid the same issue.
Regards,
from espasync_wifimanager.
How do i update esp32 core in platformio?
from espasync_wifimanager.
Check
- PlatformIO OSS July Updates: PlatformIO Core 6.1, New boards & dev-kits, Arduino Core for ESP32 v2.0.4 and Teensyduino v1.57
- Change arduino-esp32 core version
- PlatformIO Open Source July Updates
There are many more answered issues about this on the PIO Forum
from espasync_wifimanager.
Related Issues (20)
- Captive Portal hanging depending on active core for AsyncTCP HOT 6
- Configuration not saved on azdelivery devkit v2 HOT 2
- Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. HOT 1
- ESPAsyncDNSServer depends on faulty and not maintained library ESPAsyncUDP HOT 17
- ESP32C3 doesnt show any SSID scan results. HOT 5
- "no protocol" error HOT 2
- Possible dependency Error HOT 1
- Where to put #define when using classes
- Default all parameters as part of the library
- Compilation error: WiFiMulti.h: No such file or director HOT 1
- Frequent run time error "Connecting MultiWifi..." HOT 1
- Query: some dependencies (eg ESP_DoubleResetDetector) have been archived- safe to keep using?
- how to close the AP after successfully connecting to the configured WiFi? HOT 1
- is there a way to run it "non blocking" ? HOT 1
- FS.h isn't found HOT 1
- Platformio Build Error - no matching function for call to 'LITTLEFSImpl::open HOT 3
- Device reboot when webServer.begin(); is called HOT 2
- no matching function for call to 'LITTLEFSImpl::open(const char*&, const char [2])' HOT 1
- webServer.addHandler(&events) crashes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espasync_wifimanager.