frigate icon indicating copy to clipboard operation
frigate copied to clipboard

[Support]: Main page loses WS connection, toggle buttons silently fail

Open leccelecce opened this issue 2 years ago • 0 comments

Describe the problem you are having

Client OS: Windows 11 Client Browser: Chrome (latest) Server: Frigate running via docker-compose on Debian Network: wired 10Gbps

From time to time, the UI homepage seems to lost the WebSocket connection to the server. This isn't detected, and because the homepage is largely static isn't immediately obvious. However, when you then go to click any toggle buttons (e.g. toggle detect off), they silently fail to do anything, and the below error is logged in Chrome devtools.

image

I'm not quite sure what causes this, but it would be useful if the front-end had some kind of heartbeat over the websocket connection and could either restart the connection, or highlight the need for a browser refresh.

Version

0.12-beta2

Frigate config file

n/a

Relevant log output

n/a

FFprobe output from your camera

n/a

Frigate stats

n/a

Operating system

Windows

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

n/a

Any other information that may be helpful

No response

leccelecce avatar Jan 10 '23 15:01 leccelecce