New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to WiFi networks that contain a ' #9472
Comments
Can you try |
Are you able to connect to a network with an apostrophe? I tried the escape mechanism you suggested but still not able to connect. To confirm that it is the apostrophe causing the issue and not anything else, I did a bunch of tests. My personal hotspot SSID is called iPhone 7, to which the ESP32 is easily able to connect. I renamed the hotspot to Varun's iPhone 7 and I'm facing the same issue, it just doesn't connect. |
Confirmed. This is an arduino-esp32 issue. Works in IDF. Looks like maybe a dhcp failure. Will take some time to debug.
Success:
|
@me-no-dev - PTAL. It may be some that you may have fixed within the new Networking Arduino layer. |
@lbernstone - Thanks for confirming the issue. Did you test it with 2.0.14 or 3.0.0-Alpha2? Or something else... |
I tested with both 2.0.14 and master. Debug logs above are from current master. IDF was tested with current master (~5.3). |
Thanks for the confirmation @lbernstone! |
Yep, something in dhcp. WiFiStaticIP example works. |
wait... what is the status now? what works and what doesn't? |
Original issue is as posted. A simple begin with ssid containing apostrophe fails with AUTH_EXPIRE. If a static config is set first, it connects properly. |
huh? why would IP config have anything to do with WiFi Auth? I'll give it a shot. The only difference that IP config brings is that WiFi is started a bit earlier. |
I can not confirm this: WiFi.begin("Ficeto's AP", "*********");
|
I'll dig out another AP & a esp32 to test on. Failed on my Android 11 phone. |
@lbernstone mine is Mikrotik, maybe has to do with the Android. I tried all chips too |
Board
ESP32 S3
Device Description
It's an ESP32 S3 WROOM from Freenove. It's got 2 USB C ports, one camera connector. https://store.freenove.com/products/fnk0090
Hardware Configuration
None
Version
v2.0.14
IDE Name
Arduino IDE
Operating System
macOS 14.4.1 Sonoma
Flash frequency
240 MHz (WiFi)
PSRAM enabled
no
Upload speed
115200
Description
My home WiFi SSID is Varun's Network. First I used the WifiScan example from the Arduino IDE to see if the board is able to see my network and ensure that it is in range, which it is. Then I use the following code to connect the board to my WiFi. Unfortunately it doesn't work and the board keeps throwing a
WiFi.status()
of1 (WL_NO_SSID_AVAIL)
. I changed my SSID to one without the'
character and it is able to connect without any issues.Sketch
Debug Message
Other Steps to Reproduce
I have checked for similar existing issues within this repo and outside, could not find anything with a solution. I want to be able to connect to networks with special characters because I can't control what people name their SSIDs.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: