[Bug]: Frigate 0.16.2 didn't came up, had to switch back to 0.16.1 which works fine #20523
-
Checklist
Describe the problem you are havingWhen i try to update to the latest stable(0.16.2) i get the following error on startup sequence:
Steps to reproduceUpdate docker image to latest stable restart your stack. Version0.16.2 In which browser(s) are you experiencing the issue with?Firefox 144.0 Frigate config filemqtt:
enabled: true
host: ******
port: 1883
topic_prefix: frigate
user: ******
password: ******
database:
path: /db/frigate.db
detectors:
coral1:
type: edgetpu
device: usb:0
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
go2rtc:
streams:
Schlafzimmer_vorn_detect:
rtsp://******:******@******:554/h264Preview_01_sub
Schlafzimmer_vorn_record:
- ffmpeg:rtsp://******:******@******:554/h264Preview_01_main
Bad_vorn_detect:
rtsp://******:******@******:554/h264Preview_01_sub
Bad_vorn_record:
- ffmpeg:rtsp://******:******@******:554/h264Preview_01_main
Terrasse_detect:
rtsp://******:******@******:554/h264Preview_01_sub
Terrasse_record:
- ffmpeg:rtsp://******:******@******:554/h264Preview_01_main
Haustuer_detect: rtsp://******:******@******:554/stream2
Haustuer_record:
- ffmpeg:rtsp://******:******@******:554/stream1
Vorne1_detect: rtsp://******:******@******:554/stream2
Vorne1_record:
- tapo://******:******@******/stream1
- rtsp://******:******@******:554/stream1
Vorne2_detect: rtsp://******:******@******:554/stream2
Vorne2_record:
- tapo://******:******@******/stream1
- rtsp://******:******@******:554/stream1
HasisEckeFensterWand_record:
- rtsp://******:******@******:554/stream1
- tapo://******:******@******
HasisEckeFensterTuer_record:
- rtsp://******:******@******:554/stream1
- tapo://******:******@******
HasisEckeWand_record:
- rtsp://******:******@******:554/stream1
- tapo://******:******@******
HasisEckeTuer_record:
- rtsp://******:******@******:554/stream1
- tapo://******:******@******
Garage_detect: rtsp://******:******@******:554/12
Garage_record:
- rtsp://******:******@******:554/11
Garten_detect: rtsp://******:******@******:554/12
Garten_record:
- rtsp://******:******@******:554/11
cameras:
Schlafzimmer_vorn: # <------ Name the camera
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Schlafzimmer_vorn_detect # <----- The stream you want to use for detection
roles:
- detect
- path: rtsp://127.0.0.1:8554/Schlafzimmer_vorn_record # <----- The stream you want to use for detection
roles:
- record
live:
streams:
Schlafzimmer_vorn_record: Schlafzimmer_vorn_record
Schlafzimmer_vorn_detect: Schlafzimmer_vorn_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true # <---- disable detection until you have a working camera feed
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
- car
- bicycle
filters:
car:
mask:
0.578,0.208,0.162,0.854,0.143,0.92,0.159,1,0.398,1,0.732,1,0.897,0.495,0.867,0.241
snapshots:
enabled: true
timestamp: true
notifications:
enabled: false
Bad_vorn:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Bad_vorn_detect
roles:
- detect
- path: rtsp://127.0.0.1:8554/Bad_vorn_record
roles:
- record
live:
streams:
Bad_vorn_record: Bad_vorn_record
Bad_vorn_detect: Bad_vorn_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
- bicycle
filters:
person: {}
cat: {}
dog: {}
bicycle: {}
car: {}
snapshots:
enabled: true
timestamp: true
zones: {}
notifications:
enabled: false
Terasse:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Terrasse_detect
roles:
- detect
- path: rtsp://127.0.0.1:8554/Terrasse_record
roles:
- record
live:
streams:
Terrasse_record: Terrasse_record
Terrasse_detect: Terrasse_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
- car
- bicycle
snapshots:
enabled: true
timestamp: true
notifications:
enabled: false
Vorne1:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Vorne1_detect
roles:
- detect
- path: rtsp://127.0.0.1:8554/Vorne1_record
roles:
- record
live:
streams:
Vorne1_record: Vorne1_record
Vorne1_detect: Vorne1_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
- car
- bicycle
- bird
filters:
bicycle:
mask: 0.456,0.175,0.215,0.429,0.464,0.538,0.541,0.297
snapshots:
enabled: true
timestamp: true
notifications:
enabled: false
Vorne2:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Vorne2_detect
roles:
- detect
- path: rtsp://127.0.0.1:8554/Vorne2_record
roles:
- record
live:
streams:
Vorne2_record: Vorne2_record
Vorne2_detect: Vorne2_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
- car
- bicycle
snapshots:
enabled: true
timestamp: true
notifications:
enabled: false
Haustuer:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Haustuer_detect
roles:
- detect
- path: rtsp://127.0.0.1:8554/Haustuer_record
roles:
- record
onvif:
host: ******
port: 2020
user: ******
password: ******
live:
streams:
Haustuer_record: Haustuer_record
Haustuer_detect: Haustuer_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
- car
- bicycle
filters:
person:
threshold: 0.75
snapshots:
enabled: true
timestamp: true
notifications:
enabled: true
HasisEckeFensterWand:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/HasisEckeFensterWand_record
roles:
- record
- detect
live:
streams:
HasisEckeFensterWand_record: HasisEckeFensterWand_record
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 14
mode: motion
alerts:
retain:
days: 14
mode: motion
detections:
retain:
days: 14
mode: motion
objects:
track:
- cat
- dog
snapshots:
enabled: true
timestamp: true
notifications:
enabled: false
review:
alerts:
enabled: True
labels:
- person
- dog
- cat
HasisEckeFensterTuer:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/HasisEckeFensterTuer_record
roles:
- record
- detect
onvif:
host: ******
port: 2020
user: ******
password: ******
live:
streams:
HasisEckeFensterTuer_record: HasisEckeFensterTuer_record
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 14
mode: motion
alerts:
retain:
days: 14
mode: motion
detections:
retain:
days: 14
mode: motion
objects:
track:
- cat
- dog
snapshots:
enabled: true
timestamp: true
#motion:
#threshold: 25
#contour_area: 5
#improve_contrast: true
notifications:
enabled: false
review:
alerts:
enabled: True
labels:
- person
- dog
- cat
HasisEckeWand:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/HasisEckeWand_record
roles:
- record
- detect
onvif:
host: ******
port: 2020
user: ******
password: ******
live:
streams:
HasisEckeWand_record: HasisEckeWand_record
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 14
mode: motion
alerts:
retain:
days: 14
mode: motion
detections:
retain:
days: 14
mode: motion
objects:
track:
- cat
- dog
snapshots:
enabled: true
height: 2160 # Height to resize the snapshot
quality: 100 # JPEG encode quality
timestamp: true
#motion:
#threshold: 25
#contour_area: 5
#improve_contrast: true
notifications:
enabled: false
review:
alerts:
enabled: True
labels:
- person
- dog
- cat
HasisEckeTuer:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/HasisEckeTuer_record
roles:
- record
- detect
live:
streams:
HasisEckeTuer_record: HasisEckeTuer_record
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 14
mode: motion
alerts:
retain:
days: 14
mode: motion
detections:
retain:
days: 14
mode: motion
objects:
track:
- cat
- dog
snapshots:
enabled: true
timestamp: true
#motion:
#threshold: 20
#contour_area: 5
#improve_contrast: true
notifications:
enabled: false
review:
alerts:
enabled: True
labels:
- person
- dog
- cat
Garten:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Garten_record
roles:
- record
- path: rtsp://127.0.0.1:8554/Garten_detect
roles:
- detect
live:
streams:
Garten_record: Garten_record
Garten_detect: Garten_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
snapshots:
enabled: true
timestamp: true
notifications:
enabled: false
Garage:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/Garage_record
roles:
- record
- path: rtsp://127.0.0.1:8554/Garage_detect
roles:
- detect
live:
streams:
Garage_record: Garage_record
Garage_detect: Garage_detect
birdseye:
enabled: true
mode: continuous
detect:
enabled: true
record:
enabled: true
retain:
days: 7
mode: motion
alerts:
retain:
days: 7
mode: motion
detections:
retain:
days: 7
mode: motion
objects:
track:
- person
- cat
- dog
snapshots:
enabled: true
timestamp: true
notifications:
enabled: false
version: 0.16-0
telemetry:
network_interfaces:
- eth
- enp
- eno
- ens
- wl
- lo
stats:
amd_gpu_stats: false
intel_gpu_stats: true
network_bandwidth: true
version_check: true
camera_groups:
Vorne:
order: 1
icon: LuBringToFront
cameras:
- Schlafzimmer_vorn
- Bad_vorn
Hasis:
order: 2
icon: LuRabbit
cameras:
- HasisEckeFensterWand
- HasisEckeFensterTuer
- HasisEckeWand
- HasisEckeTuer
Garten:
order: 3
icon: LuShovel
cameras:
- Vorne2
- Vorne1
- Terasse
- Haustuer
- Garten
Birdseye:
order: 4
icon: LuSwitchCamera
cameras: birdseye
semantic_search:
enabled: true
reindex: false
model_size: small
detect:
enabled: true
face_recognition:
enabled: true
model_size: small
lpr:
enabled: true
min_area: 250
known_plates:
car:
- ******
- ******
classification:
bird:
enabled: true
notifications:
enabled: false
email: *****docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
container_name: frigate
privileged: true
network_mode: host
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "4g"
deploy:
resources:
limits:
memory: 12G
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/dri/renderD128:/dev/dri/renderD128
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/frigate/config.yml:/config/config.yml
- /opt/frigate/db:/db/
- /opt/frigate/storage:/media/frigate
tmpfs:
- /tmp/cache:exec,size=1G
ports:
- "5000:5000"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: *****Relevant Frigate log output[2025-10-16 07:32:57] root INFO : Private key not found, generating key... 2025-10-16 07:32:57.617927906 Traceback (most recent call last): 2025-10-16 07:32:57.617932069 File "<frozen runpy>", line 198, in _run_module_as_main 2025-10-16 07:32:57.617946853 File "<frozen runpy>", line 88, in _run_code 2025-10-16 07:32:57.617948555 File "/opt/frigate/frigate/__main__.py", line 108, in <module> 2025-10-16 07:32:57.618085431 main() 2025-10-16 07:32:57.618145233 File "/opt/frigate/frigate/__main__.py", line 104, in main 2025-10-16 07:32:57.618187245 FrigateApp(config).start() 2025-10-16 07:32:57.618220807 File "/opt/frigate/frigate/app.py", line 653, in start 2025-10-16 07:32:57.618368321 self.init_dispatcher() 2025-10-16 07:32:57.618370110 File "/opt/frigate/frigate/app.py", line 346, in init_dispatcher 2025-10-16 07:32:57.618526011 comms.append(WebPushClient(self.config, self.stop_event)) 2025-10-16 07:32:57.618556254 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-10-16 07:32:57.618560076 File "/opt/frigate/frigate/comms/webpush.py", line 65, in __init__ 2025-10-16 07:32:57.618845197 self.vapid = Vapid01.from_file(os.path.join(CONFIG_DIR, "notifications.pem")) 2025-10-16 07:32:57.619070391 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-10-16 07:32:57.619081081 File "/usr/local/lib/python3.11/dist-packages/py_vapid/__init__.py", line 118, in from_file 2025-10-16 07:32:57.619267035 vapid.generate_keys() 2025-10-16 07:32:57.619300756 File "/usr/local/lib/python3.11/dist-packages/py_vapid/__init__.py", line 200, in generate_keys 2025-10-16 07:32:57.619386310 self.private_key = ec.generate_private_key(ec.SECP256R1, 2025-10-16 07:32:57.619426485 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-10-16 07:32:57.619440584 TypeError: curve must be an EllipticCurve instanceRelevant go2rtc log outputnoOperating systemDebian Install methodDocker Compose Network connectionWired Camera make and modeltapo, reolink Screenshots of the Frigate UI's System metrics pagesnot possible for this state Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
The error you're experiencing in Frigate 0.16.2 is related to the WebPush notification system initialization. The traceback shows that the issue occurs when Frigate tries to generate VAPID keys for web push notifications (1). The specific error Based on the available sources, this appears to be a dependency or library compatibility issue in version 0.16.2 that wasn't present in 0.16.1. Since you mentioned that switching back to 0.16.1 resolves the issue, this confirms it's specific to the 0.16.2 release. For immediate resolution, staying on 0.16.1 is the correct approach until this issue is addressed in a future release. You might also try temporarily disabling notifications in your config by setting I don't have specific information about a fix for this particular issue in the available documentation. For the most current status and potential workarounds, you may want to: Check out these potentially useful sources: Register Notifications Would you like me to provide a general answer about troubleshooting Frigate startup issues based on my knowledge? 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
The error you're experiencing in Frigate 0.16.2 is related to the WebPush notification system initialization. The traceback shows that the issue occurs when Frigate tries to generate VAPID keys for web push notifications (1).
The specific error
TypeError: curve must be an EllipticCurve instancesuggests there's a compatibility issue with the cryptographic library used for generating the private key for notifications. This happens during the WebPushClient initialization in the dispatcher setup.Based on the available sources, this appears to be a dependency or library compatibility issue in version 0.16.2 that wasn't present in 0.16.1. Since you mentioned that switching back to 0.16.1 reso…