Closed EricReiche closed 1 year ago
What browser are you using? Can you try a different browser? Seems very odd
I tried Chrome on Windows and Android on 4 different devices.
what kind of device / OS are you running frigate on?
Host is an Intel NUC BXNUC10i3FNK2 i3-10110U with Ubuntu 22.04.1 LTS, with the official frigate docker image. I switched back to 0.11.1 for testing now, and it's running fine all day.
version: "3.7"
services:
frigate12:
container_name: frigate
shm_size: '1gb'
devices:
- /dev/dri:/dev/dri
- /dev/bus/usb:/dev/bus/usb
environment:
- FRIGATE_RTSP_PASSWORD=redacted
- PLUS_API_KEY=redacted
image: ghcr.io/blakeblackshear/frigate:0.12.0-beta7
networks:
physical:
ipv4_address: redacted
default:
traefik-public:
internalbr:
ipv4_address: redacted
ports:
- 1935:1935/tcp
privileged: true
restart: unless-stopped
dns:
- redacted
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/frigate/config.yml:/config/config.yml
- /media/nvr:/media/frigate:rw
- /docker/frigate/db:/db:rw
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik-public"
- "traefik.http.routers.frig2.rule=Host(`frigate.redacted`)"
- "traefik.http.routers.frig2.entrypoints=websecure"
- "traefik.http.routers.frig2.tls.certresolver=myresolver"
- "traefik.http.routers.frig2.middlewares=nvr-auth@file"
- "traefik.http.services.frig2.loadbalancer.server.port=5000"
If I had to guess something with the networks / traefik is conflicting with some changes in the webUI for 0.12. No one else has experienced this issue in the beta so I'd say it is likely to be something specific to your setup. The log message is unfortunately incredibly unhelpful so no idea what it could be specifically.
Unsure if this is related, but on beta7 too and I've noticed, at least on firefox (not tried others) that after a few days my frigate tab is at like 6+ gigs of memory used. Needed to kill it or shift+f5 reload and then its fine again. Perhaps some kind of memory leak on client side? Unsure if this maybe causing issue for OP.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I ignored this problem for a while after going back to 0.11, but after the 0.12 release I decided to look into it again. It does look to be related to my reverse proxy as you suggested, because if I access the UI via IP from my internal network, it's fine. I'm unsure how to debug this further. I'm using Traefik with basic auth. Maybe I'll try to set up nginx to troubleshoot.
Firefox throws this exception btw., which also doesn't sound very useful to me:
Uncaught (in promise) DOMException: A mutation operation was attempted on a database that did not allow mutations.
internal
did you solve this problem yet? i ocur the same issue and even with internal.
unfortunately not, I even replaced traefik with nginx without any change.
it was solved by recent released 0.12.1 version.
Can you please elaborate?
If anyone stumbles upon this via search, the problem seems to persist if the Web interface is accessed through a proxy in combination with setting basicauth via URL, e.g. https://user:password@url I'm not sure if this is a bug in Chrome or in Frigate, but it seems to not properly re-use the credentials for some child requests and hence makes the UI unresponsive.
Describe the problem you are having
0.11.1 was working fine. After upgrading to 0.12 beta 7, I'm having issues with the web interface becoming unresponsive. The navigation menu is there, but the 'content' area is empty. Clicking on navigation links sometimes changes the URL, but the webinterface is mostly empty. After a fresh restart, the interface sometimes works, but only for a short time. Refreshing the homepage shows that the camera streams are working (fresh snapshots), but birdseye doesn't. I deleted the DB for debugging purposes without much success. Disk has space left. There is a Javascript error in the browser console that I attached.
Version
0.12 beta 7
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Annke C800
Any other information that may be helpful
No response