-
Notifications
You must be signed in to change notification settings - Fork 167
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
Websocket (logs) can crash the device #277
Comments
Ah, good catch. Do you know if we can set a connection limit? |
The issue seems to be with any type of broken connection and not necessarily just having a bunch of connections. This is a simple code snippet to quickly trigger the crash. It requires the python
|
Hello open on iPhone 15 pro latest firmware logs, hit show logs and put iPhone on standby network ping - device is responding log on ckpool (happened yesterday same at 9am (at 10 p.m i changed some settings) and today at about 8 a.m. |
Fix websocket logs causing device to crash #277
If you open too many connections to get logs you'll eventually crash the device and it won't recover on its own. It's pretty easy to reproduce by just having something like a python script open a few ws connections in rapid succession. This seems to be a pretty known issue with ESP32, but wasn't able to find a solution for ws. I tried adding
Connection: close
to the header and set things likelru_purge_enable
without success.The text was updated successfully, but these errors were encountered: