Wifi connects but no web UI?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
pycvalade
New user
Posts: 3
Joined: 17 Jun 2021, 17:17

Wifi connects but no web UI?

#1 Post by pycvalade » 17 Jun 2021, 17:26

I've been trying to log in into my Sonoff device for 2 days now without success.

I've been able to flash, connect to ESP_AP, configure my wifi settings and reboot.

Through the serial port, I can see the AP connecting and giving me an IP but no web UI is available and no ping answers (or once every 15 minutes then out).

Here's what I'm getting booting up:

Code: Select all

INIT : Booting version:  (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
76 : Info   : INIT : Free RAM:36096
76 : Info   : INIT : Cold Boot - Restart Reason: Power On
77 : Info   : FS   : Mounting...
83 : Info   : FS   : Mount successful, used 46686 bytes of 113201
94 : Info   : CRC  : SecuritySettings CRC   ...OK
97 : Info   : WiFi : Start network scan all channels
123 : Info   : INIT : Free RAM:32856
124 : Info   : INIT : I2C
124 : Info   : INIT : SPI not enabled
212 : Info   : INFO : Plugins: 47 [Normal] (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
216 : Info   : Webserver: start
1563 : Info   : WD   : Uptime 0 ConnectFailures 0 FreeMem 26696 WiFiStatus 0 ESPeasy internal wifi status: DISCONNECTED
1564 : Info   : WiFi : Start network scan all channels
2358 : Info   : WiFi : Scan finished, found: 9
2362 : Info   : WiFi : Best AP candidate: AP Guest 00:11:22:33:44:55 Ch:11 (-57dBm) WPA2/PSK
2364 : Info   : WIFI : Connecting AP Guest 00:11:22:33:44:55 Ch:11 (-57dBm) WPA2/PSK attempt #0
3355 : Info   : WIFI : Connected! AP: AP Guest (00:11:22:33:44:55) Ch: 11 Duration: 975 ms
3368 : Info   : WIFI : DHCP IP: 10.0.0.239 (ESP-Easy) GW: 10.0.0.1 SN: 255.255.255.0   duration: 26 ms
3440 : Info   : firstLoopConnectionsEstablished
31551 : Info   : WD   : Uptime 1 ConnectFailures 0 FreeMem 25040 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
61551 : Info   : WD   : Uptime 1 ConnectFailures 0 FreeMem 25040 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
91551 : Info   : WD   : Uptime 2 ConnectFailures 0 FreeMem 25040 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
Then it gives me these errors, tries to reconnect to AP, connects and goes back to the 200 error (and does this on repeat):

Code: Select all

312104 : Info   : WIFI : Disconnected! Reason: '(200) ' Connected for 5 m 8 s
312468 : Info   : Reset WiFi.
312471 : Info   : WiFi : WiFiConnected() out of sync: DISCONNECTED RSSI: -62 status: 1
312583 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 5 m 12 s
313479 : Info   : WIFI : Connecting AP Guest 00:11:22:33:44:55 Ch:11 (0dBm)  attempt #0
313580 : Info   : WIFI : Set WiFi to STA
315505 : Info   : WIFI : Connected! AP: AP Guest (00:11:22:33:44:55) Ch: 11 Duration: 2005 ms
315518 : Info   : WIFI : DHCP IP: 10.0.0.239 (ESP-Easy) GW: 10.0.0.1 SN: 255.255.255.0   duration: 27 ms
324287 : Info   : WIFI : Disconnected! Reason: '(200) ' Connected for 8699 ms
324754 : Info   : WIFI : Connected! AP: AP Guest (00:11:22:33:44:55) Ch: 11 Duration: 11265 ms
325186 : Info   : WiFi : Start network scan all channels
325291 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 445 ms
325395 : Info   : WIFI : Set WiFi to OFF
325709 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 548 ms
326012 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 964 ms
326314 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 1267 ms
326617 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 1569 ms
326919 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 1872 ms
327222 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 2174 ms
327524 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 2477 ms
327827 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 2779 ms
328129 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 3082 ms
328432 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 3385 ms
328734 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 3687 ms
329037 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 3990 ms
329340 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 4292 ms
329642 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 4595 ms
329945 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 4897 ms
330247 : Info   : WIFI : Disconnected! Reason: '(8) ' Connected for 5200 ms
330258 : Info   : WiFi : Start network scan all channels
332444 : Info   : WiFi : Scan finished, found: 10
Any idea?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Wifi connects but no web UI?

#2 Post by TD-er » 17 Jun 2021, 17:28

Can you try this build I made 2 days ago: https://td-er.nl/ESPEasy/
If the (experimental) web flasher does not work, the files are located here: https://td-er.nl/ESPEasy/static/

Tebogo
Normal user
Posts: 68
Joined: 06 Jan 2021, 17:19

Re: Wifi connects but no web UI?

#3 Post by Tebogo » 17 Jun 2021, 22:04

Looks like same results and issue as I mentioned here, viewtopic.php?f=6&t=8575#p52931
Try this build, ESPEasy_mega-20190226.
Than install ESPEasy_mega-20190227
If ESPEasy_mega-20190226 works and ESPEasy_mega-20190227 not, it likely the same issue..

Tebogo
Normal user
Posts: 68
Joined: 06 Jan 2021, 17:19

Re: Wifi connects but no web UI?

#4 Post by Tebogo » 18 Jun 2021, 16:45

Also, before setting-up your wifi, you can try to open a browser and open the tools or advanced page, http://192.168.4.1/tools of /advanced.

pycvalade
New user
Posts: 3
Joined: 17 Jun 2021, 17:17

Re: Wifi connects but no web UI?

#5 Post by pycvalade » 18 Jun 2021, 21:54

Hi guys, I just flashed

Code: Select all

ESP_Easy_mega_20210615_normal_ESP8266_1M
Still have the same error. Once connected to wifi, I get connection timeout on the Web UI and no ping.

Before setting the Wifi config, I was able to go to both:

Code: Select all

http://192.168.4.1/tools
http://192.168.4.1/advanced
Odd, very odd. Perhaps it's because I'm on 10.0.0.x instead of 192.168.0.x ?

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Wifi connects but no web UI?

#6 Post by ThomasB » 18 Jun 2021, 23:20

If your device is a Sonoff Basic R2 with V1 hardware then be aware that particular module is an ESPEasy WiFi troublemaker. No promises but recent firmware with _alt_wifi_ in the name may help out.

- Thomas

Tebogo
Normal user
Posts: 68
Joined: 06 Jan 2021, 17:19

Re: Wifi connects but no web UI?

#7 Post by Tebogo » 19 Jun 2021, 10:32

pycvalade wrote: 18 Jun 2021, 21:54 Hi guys, I just flashed

Code: Select all

ESP_Easy_mega_20210615_normal_ESP8266_1M
Still have the same error. Once connected to wifi, I get connection timeout on the Web UI and no ping.

Before setting the Wifi config, I was able to go to both:

Code: Select all

http://192.168.4.1/tools
http://192.168.4.1/advanced
Odd, very odd. Perhaps it's because I'm on 10.0.0.x instead of 192.168.0.x ?
Try ESPEasy_mega-20190226

pycvalade
New user
Posts: 3
Joined: 17 Jun 2021, 17:17

Re: Wifi connects but no web UI?

#8 Post by pycvalade » 19 Jun 2021, 22:39

Turned out the one that's working (!!!) is mega-20190227 as suggested by @Tebogo

Here's the build link if someone stumbles on this: https://github.com/letscontrolit/ESPEas ... a-20190227

Tried versions so far:

Code: Select all

ESP_Easy_mega_20210503_normal_ESP8266_1M.bin
ESP_Easy_mega_20210615_normal_ESP8266_1M.bin
ESP_Easy_mega_20210503_normal_alt_wifi_ESP8266_1M.bin
ESP_Easy_mega-20190226_normal_ESP8266_1M.bin
ESP_Easy_mega-20190227_normal_ESP8266_1M.bin
the alt_wifi version did the same as the other ones earlier.

mega-20190226 was the worse version, I was not even able to connect to config AP with pass "configesp".

I wish I could use the latest version on mine. The one working is more than 2 years old!!

Tebogo
Normal user
Posts: 68
Joined: 06 Jan 2021, 17:19

Re: Wifi connects but no web UI?

#9 Post by Tebogo » 20 Jun 2021, 20:08

Strange, for me mega-20190227 does not work for me.
Last working build for me is 20190226. That why I suggested that.

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests