-
Notifications
You must be signed in to change notification settings - Fork 280
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
Device lost the connection with clients after few hours. #103
Comments
|
Hi @JoseLuis73, after disconnecting does it reestablish the connection again? I have a similar problem. My device loses the connection on a regular bases. Like every 5 to 10 minutes. But it usually reconnects. Any ideas? |
My device loses the connection on a regular bases. Like every 5 to 10 minutes. But it usually reconnects. That is true. WiFi on iOS devices will disconnect after a little time when they go sleep (screen off) to save battery. The TCP keepalive feature is used in this library to know weather iOS WiFi is alive or not. |
I am suffering from similar. All works fine a while .. maybe hours. Then iOS does say "no connection" (or no response). Anyone ideas. |
I had the same problems and found out that it was caused by my router (Fritzbox 7590) that was configured to auto-chose wifi channels to optimise performance when other routers in the house use the same or nearby channels. |
Ahh.. @macSE1990, that sounds like a good hint. anyone know how to change the code so it is tolerant to such wifi channel switches.. so the ESP recovers WLAN? |
@jenspr Did this workaround work for you? Have the same problem, but fix channel did not help… |
I have the same problem and I found the way to solve it: Reconfigure your wifi router, set the bandwidth of 2.4 G wifi to 20MHz only (Not Auto 20/40MHz or 40MHz only). I have tried this configuration on several different wifi routers and it works! never disconnect again! |
Isnt it the better option to change the source code to reconnect on disconnect? |
not working |
agree |
Same Problem here :( |
I've tried to restart the wifi connection with a loop, but still the same problem. |
- Might fix Mixiaoxiao#103, Mixiaoxiao#139, Mixiaoxiao#147, Mixiaoxiao#184, Mixiaoxiao#198 - Also adds changes by @ruleechen - Also adds changes by @thiti-y
- Might fix Mixiaoxiao#103, Mixiaoxiao#139, Mixiaoxiao#147, Mixiaoxiao#184, Mixiaoxiao#198 - Also adds changes by @ruleechen - Also adds changes by @thiti-y
Works well for a short period of time. After a few hours the device lost the connection with clients.
Any suggestion?
Thank you
The text was updated successfully, but these errors were encountered: