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

Impossible to connect ESPeasy to my Access Point #3369

Closed
5 of 14 tasks
Sorcier opened this issue Nov 13, 2020 · 3 comments
Closed
5 of 14 tasks

Impossible to connect ESPeasy to my Access Point #3369

Sorcier opened this issue Nov 13, 2020 · 3 comments

Comments

@Sorcier
Copy link

Sorcier commented Nov 13, 2020

Checklist

  • The title of this issue is "to the point" and descriptive.
  • This issue describes what is happening.
  • This issue describes what components are affected (e.g. name of plugin/controller)
  • This issue describes how to reproduce it.
  • This issue describes when it was introduced (when known) and what version is now showing the problem.

I have...

  • searched the issue tracker or the forum for a similar issue. (include links when applicable)
  • entered a system description using "Copy info to clipboard" on the sysinfo page. (when possible)
  • entered the full filename of the used version (e.g. ESP_Easy_mega-20181001_test_ESP8266_4096_VCC.bin )
  • given a list of active plugins or controllers when applicable.
  • filled out all applicable fields below.

Steps already tried...

  • Tried a clean install (empty .bin files are included in the ZIP)
  • Tested previous/other build (mention which one already tested)
  • Tested on other node to make sure hardware isn't defective.
  • Verified if the problem is limited to a single plugin/controller

I flashed my ESP8266 Wemos D1 mini (4MB flash) with

-ESP_Easy_mega_20201102_normal_ESP8266_4M1M_VCC.bin
-ESP_Easy_mega_20201102_normal_ESP8266_4M1M.bin
-ESP_Easy_mega_20201102_normal_alt_wifi_ESP8266_4M1M_VCC.bin
-ESPeasy R120

Flash without problem i see the SSID of ESPeasy, i see the wizard to connect the wifi and the board can see 10 WiFi network in my flat.
I select my SSID then input the key but there is no connection
My wifi key has space inside and also '
is it the problem ? I have ESP32cam flashed to use with MotionEye and there is no problem with WiFi Key

Hardware :
esp8266mod D1 mini

I think i tried everything, i have no idea why it doesn't work.

Log through the serial connection :

6904 : Info : WIFI : Disconnected! Reason: '(2) Auth expire' Connected for 4087 ms
7801 : Info : WIFI : Start network scan
9987 : Info : WIFI : Connecting LiveHome attempt #2
10002 : Info : WIFI : Scan finished, found: 12
10004 : Info : WIFI : Selected: LiveHome xx:xx:xx:xx:xx:xx Ch:11 (-51dBm) WPA2/PSK
14193 : Info : WIFI : Disconnected! Reason: '(2) Auth expire' Connected for 4088 ms
15092 : Info : WIFI : Start network scan
17277 : Info : WIFI : Connecting LiveHome attempt #3
17291 : Info : WIFI : Scan finished, found: 13
17293 : Info : WIFI : Selected: LiveHome xx:xx:xx:xx:xx:xx Ch:11 (-53dBm) WPA2/PSK
20464 : Info : WIFI : Set WiFi to AP+STA
21455 : Info : WIFI : AP Mode ssid will be Test-ESP-1 with address 192.168.4.1
21557 : Info : WIFI : Disconnected! Reason: '(202) Auth fail' Connected for 3087 ms
21576 : Info : WIFI : Start network scan

@tonhuisman
Copy link
Contributor

tonhuisman commented Nov 13, 2020

  1. This is more like a support request, that could better be handled at the forum (link above)
  2. Can you try one of the alt_wifi builds to see if that is able to connect?
  3. Is the space the first or last character of the wifi key?

@TD-er
Copy link
Member

TD-er commented Nov 13, 2020

I think the ' and the space are indeed the issue here.
Can you try to set the wifikey using a command via serial?

wifikey,"my secret' key"

So make sure to wrap the key in quotes on the command line.
If that works, then I guess it is indeed a bug in the web server pages handling.
If that doesn't work, then it is a bug in the WiFi key handling when reading from the settings.

@tonhuisman
Copy link
Contributor

This didn't get any response from the OP, so is probably solved, and can be closed. Unless there is something left to investigate?

@TD-er TD-er closed this as completed Apr 18, 2022
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

3 participants