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

Initial load errors in webpage #104

Open
chrwh opened this issue Aug 28, 2021 · 6 comments
Open

Initial load errors in webpage #104

chrwh opened this issue Aug 28, 2021 · 6 comments

Comments

@chrwh
Copy link

chrwh commented Aug 28, 2021

Hi,
When ever I load the webpage, I get sporadic feedback for the stages of the the sliders. They does not get the correct response. In the picture all sliders should be off, when the page is loaded, because all switches are off in homekit.
If I then turn all the sliders to off, and then start to use them, they works correctly, until the next time you reload the page.

Do you have any pointers where I should start to look for my mistakes first?

Hardware M5Stack Grey

Initial load error

@chrwh
Copy link
Author

chrwh commented Aug 28, 2021

Hmm,
It works without any issues in Firefox, but with Edge and Chrome it has the issues above.

@chrwh
Copy link
Author

chrwh commented Aug 29, 2021

Found it, it's an issue in Webserver.cpp in ESP32 V.1.0.4, it has been fixed from V.1.0.5, but that version does not seems to work on M5Stack
// Fix for issue with Chrome based browsers: espressif/arduino-esp32#3652
// if (_currentClient.connected()) {
// _currentStatus = HC_WAIT_CLOSE;
// _statusChange = millis();
// keepCurrentClient = true;
// }

@Yurik72
Copy link
Owner

Yurik72 commented Aug 29, 2021 via email

@chrwh
Copy link
Author

chrwh commented Aug 29, 2021

OK, that sounds good, let me know if I should make tests for you :-)

@phil31
Copy link

phil31 commented Sep 22, 2021

Hi all,

just update to V3.3.2 and it seem not fixed for me !
my web site do a GET request to the ESP32 every 2 seconds

all requests are 200 OK then every 10 or 15 seconds, the server seem hangs ..
request are (pending) for some seconds, maybe 10, then served or timeout for certain

using Chrome, Brave or Edge
image

please any advice ?
thanks, regards

@chrwh
Copy link
Author

chrwh commented Dec 26, 2021

Hi,
I stil lhave the same issues aswell. I would alsp really like a solution to this :-)
Best regards,
Christian

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