Webview seems to loose it's connection #62
imaginator
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are other's seeing their webview loosing a connection to home assistant particulary after the web-screensaver has run?
I suspect that the issue is around the webview getting throttled by Android while the web-screensaver is running, but don't have enough knowledge to dig into this.
I don't this it's related to #39 since I'm able to still run MQTT commands but the UI seems to have lost the websocket or web connection back to the server.
The connection seems to stay online -
![Screenshot 2023-01-20 at 11-24-39 History – Home Assistant](https://user-images.githubusercontent.com/469572/213673515-35792142-b768-4649-845d-4fe43d175aae.png)
I suspected it might be my nginx config. But I've paired that down to as vanilla as possible.
Incidentally what webview are other's running? These are LineageOS tablets configured with with wallpanel: https://github.com/imaginator/smartserver/blob/master/roles/wall-tablets/tasks/wallpanel-setup-functions.sh#L70-L82 and in the logs I see the following user-agent:
10.7.9.108 - - [20/Jan/2023:10:48:51 +0000] "GET /rooms-dashboard/kitchen HTTP/1.1" 200 3145 "-" "Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G960U Build/PQ3A.190801.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.57 Safari/537.36"
Wallpanel itself is running with the the refresh_disconnect flag.
Any pointers? Or which webviews are other's running?
Beta Was this translation helpful? Give feedback.
All reactions