-
Notifications
You must be signed in to change notification settings - Fork 74
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
[BUG] Loading Web Interface causes device to drop pings and never loads #504
Comments
Screen recording below; Screen.Recording.2023-05-03.at.21.49.35.mov |
Hi! I don't know why you have that problem. I thought maybe the ESP's own AP is on but then MQTT wouldn't work I guess. Maybe something with the flash file system? Does the .../dir/ page work? Or .../info/ |
Both directories load fine, results below; /dir/ bootlog.txt Size: 1057 Bytes remove /info/ Stack size: 268 |
Great, so it all seems normal and the ESP server can respond. Only serving the html files not working. Did it work in earlier versions or is this your first install? |
I've re-flashed the file system ota and it's now loading fine, very strange as it was working then suddenly stopped without any changes. |
I'm having the same issue again as well. Running latest dev version. |
Do you have multiple pages open in different browsers? Or mqtt updates super frequently? |
No. Also tried different browsers. MQTT is disabled. |
Okay, my guess is web server is getting OOM (out of memory). If you want you can uncomment all the -Ddebug lines in platformio.ini and build+upload, and check the serial monitor for OOM message. You need to have it hooked up with USB to a computer. It's weird though that only some of you have this problem. Maybe connected to a certain router or something. Does it make a difference if you're on dhcp or static IP? Just fumbling in the dark here. |
Followed your points and still works perfectly here.
|
@dasfliege Are you having the same issue when running without the hot tub connected? i.e Just the esp connected via usb? |
All file sizes are wrong, I wonder if there is something fishy with your file system. If you can make it work long enough to make an "update" to beta from web ui and then check output again, maybe it will be right |
Yes, i had it on my bench all the time |
I'll give it a try. But atm i don't get it to work at all... I gonna try it on another computer as well |
How do you guys exactly perform a fresh flash?
|
I got mine working by re-flashing the Filesystem OTA. It's not been connected to the Hot Tub since though (waiting on replacement pump) and also not connected to the same AP because I have it connected via USB in my office. I'll go and place it outdoors now and see if it's an AP thing. Shooting in the dark but worth testing. I'll report back shortly. |
Changed transmit TX from Auto to High and the esp now seems to be responding. Is it possibly related to this - esp8266/Arduino#6471 |
I do have a lot of Unifi AP as well and i also use an SSID with dashes in it (Dashes were a problem on older philips TVs :-) ). |
What's pretty confusing though, is that everything was working perfect at the exact same location with an older firmware. I just bricked it by flashing a firmware that fixes my MQTT problem (hydrojets not visible in HA). So i highly doubt that the RF environement has anything to do with it. |
Older firmware is still available. Wondering about your file sizes. Can you post screenshot of layzspa.local/dir/ |
I put my WiFi transmit power back to auto and it still works but I notice a channel switch from 6 to 1 and it’s worked since. This does feel like a WiFi related issue. I’ll run more tests tomorrow |
I have the same problem, it seems very random. What I THINK is some kind of pattern in it for me is that the issue does not present itself when running the esp with usb, only when connected to the pump. |
This is my /dir/ |
Except of the image files, all others are smaller. How can it be, that it still works sometimes if all files seem to be not complete? |
That's a good question! I'd try to do updates to beta from web ui to take out some unknowns like your computer. |
Hm, have to check but you're probably right |
Seems to run perfectly fine until now. |
I'm on it 😸 |
There you are. Beta version. |
@olskar Just to confirm, you are connected to a Unifi Access Point? If so, can you share the model of the hardware (Just looking for a pattern). Also, when connected to USB is your ESP connecting to the same AP as when it's connected to the Hot Tub. Mine wasn't, hence the question. |
Did the update, but getting E13 now on every boot :-( Had to bypass the ESP for now, as i installed it in the pump and the pool is heating up now. But i have another ESP here for testing. |
sigh that's a bummer. Let me know how your other ESP works. |
Stale issue message |
Describe the bug
Loading Web Interface causes device to drop pings and never loads.
To Reproduce
Steps to reproduce the behavior:
Open Chrome and browse to IP of the device
Expected behavior
Web should load and pings not expected to drop
Screenshots
If applicable, add screenshots to help explain your problem.
Hardware (please complete the following information):
Software (please complete the following information):
Firmware: 2023-04-24-1854
Additional context
MQTT seems to still operate during this issue
The text was updated successfully, but these errors were encountered: