Skip to content
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

SSID pass with special characters do not work #453

Closed
rb26 opened this issue Apr 24, 2021 · 3 comments
Closed

SSID pass with special characters do not work #453

rb26 opened this issue Apr 24, 2021 · 3 comments

Comments

@rb26
Copy link

rb26 commented Apr 24, 2021

Bonjour
It appears that passwords with special characters do not work.
I tested the wifi repeater with an esp8266-01.
Everything went well initially, except that the module cannot connect to the router.
Message obtained on the console:
16:13:52.907 -> disconnect from ssid RBSSID, reason 15
16:13:53.904 -> reconnect
16:13:53.904 -> state: 2 -> 0 (0)
16:13:54.036 -> scandone
16:13:54.036 -> state: 0 -> 2 (b0)
16:13:54.036 -> state: 2 -> 3 (0)
16:13:54.036 -> state: 3 -> 5 (10)
16:13:54.036 -> add 0
16:13:54.036 -> aid 8
16:13:54.036 -> cnt
16:14:00.275 -> state: 5 -> 2 (fc0)
16:14:00.275 -> rm 0
16:14:00.275 -> disconnect from ssid RBSSID, reason 15

In addition, I locked the config. without entering a new password and can no longer modify the config. because the default password is that of STA and it does not work.

I also tried to erase the program and the EPROM, and reload it, the hang is still present.
Is there a trick to completely reinit the ESP or do you have to put it in the trash and take a new one to test again?
Merci, cordialement
Richard

@rb26
Copy link
Author

rb26 commented Apr 24, 2021

Nota: in #435, the kristian answer work fine pour resetting the esp,
I will now tried a new SSID password without special chars

@rb26 rb26 closed this as completed Apr 24, 2021
@rb26 rb26 reopened this Apr 24, 2021
@rb26
Copy link
Author

rb26 commented Apr 25, 2021

After testing, I confirm that the problem comes from the presence of special characters in the password. The browser makes a urlencode for the GET protocol which modifies the transmitted string. Personally I rather use POST to avoid this problem.
Cordially
Richard

@rb26
Copy link
Author

rb26 commented Apr 25, 2021

Bonjour
there was a '%' character in the password, i escaped it '%' and now it works, slowly (maybe on esp-01s) but it works
cordialement
RB

@rb26 rb26 closed this as completed Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant