[Support]: Frigate Container Down, Startup Failing, no GUI - upstream client auth error #15259
-
Describe the problem you are havingCan someone point me in the right direction as I've tried most things I've researched with my limited knowledge. I've tried clearing the clips and recordings folder as well as the .db file but neither worked, same error. Server/system: HP Proliant ML310 Gen8 V2 OpenMediaVault Portainer: 2.21.4 Version0.14. What browser(s) are you using?No response Frigate config file#-------------------------------------------------------------------------------------------------------
mqtt:
host: 192.168.42.18
user: frigate
password: password
#-------------------------------------------------------------------------------------------------------
detectors:
coral:
type: edgetpu
device: usb
#-------------------------------------------------------------------------------------------------------
ffmpeg:
input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt
output_args:
record: preset-record-generic-audio-aac
#-------------------------------------------------------------------------------------------------------
#Global Object Settings
objects:
track:
- person
- bus
- car
- bicycle
- motorcycle
#-------------------------------------------------------------------------------------------------------
snapshots:
enabled: true
clean_copy: true
timestamp: false
retain:
default: 365
#-------------------------------------------------------------------------------------------------------
# Optional: Record configuration
record:
enabled: true
retain:
days: 2
mode: motion
events:
retain:
default: 90
mode: active_objects
#-------------------------------------------------------------------------------------------------------
# Optional: in-feed timestamp style configuration
timestamp_style:
format: '%m/%d/%Y %H:%M:%S'
color:
red: 255
green: 0
blue: 0
#-------------------------------------------------------------------------------------------------------
# Optional: birdseye configuration
birdseye:
enabled: true
quality: 8
mode: motion
#-------------------------------------------------------------------------------------------------------
environment_vars: # Optional: set environment variables
FRIGATE_campass: mypassword
#-------------------------------------------------------------------------------------------------------
cameras:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UVC_G3_Dome_1:
enabled: true
ffmpeg:
inputs:
- path: rtsp://192.168.42.27:7447/6455016ee4b04a428fa6101f_2
roles:
- detect
- path: rtsp://192.168.42.27:7447/6455016ee4b04a428fa6101f_0
roles:
- record
detect:
width: 640
height: 368
fps: 5
motion:
mask:
- 0,0,0,0.003,0.476,0,0.154,0.053,0.155,0.076,0,0.089,0,0
- 0.892,0,0.881,0.034,0.705,0.036,0.65,0
objects:
filters:
person:
mask:
track:
- person
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UVC_G3_Dome_2:
enabled: false
ffmpeg:
inputs:
- path: rtsp://192.168.42.27:7447/?????_2
roles:
- detect
- path: rtsp://192.168.42.27:7447/?????_0
roles:
- record
detect:
width: 640
height: 368
fps: 5
motion:
mask:
- 0,0,120,0,120,12,96,12,96,28,0,32
objects:
filters:
person:
mask:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UVC_G3_Bullet_3:
enabled: true
ffmpeg:
inputs:
- path: rtsp://192.168.42.27:7447/65610d4be4b04619df05e176_2
roles:
- detect
- path: rtsp://192.168.42.27:7447/65610d4be4b04619df05e176_0
roles:
- record
detect:
width: 640
height: 368
fps: 5
motion:
mask:
- 155,0,0,0,0,131,155,87
objects:
filters:
bicycle:
mask:
bus:
mask:
car:
mask:
person:
mask:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UVC_G3_Bullet_4:
enabled: true
ffmpeg:
inputs:
- path: rtsp://192.168.42.27:7447/65724dbee4b07fb8ffa6e719_2
roles:
- detect
- path: rtsp://192.168.42.27:7447/65724dbee4b07fb8ffa6e719_0
roles:
- record
detect:
width: 640
height: 368
fps: 5
motion:
mask:
- 0,0,0.188,0,0.188,0.033,0.154,0.03,0.155,0.076,0,0.077
- 1,0.668,1,1,0.961,1
objects:
filters:
bus:
mask:
car:
mask:
person:
mask:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UVC_G3_Bullet_5:
enabled: true
ffmpeg:
inputs:
- path: rtsp://192.168.42.27:7447/65724e72e4b07fb8ffa6e71a_2
roles:
- detect
- path: rtsp://192.168.42.27:7447/65724e72e4b07fb8ffa6e71a_0
roles:
- record
detect:
width: 640
height: 368
fps: 5
motion:
mask: 0,0,0.188,0,0.188,0.033,0.153,0.033,0.154,0.076,0,0.076
objects:
filters:
bus:
mask:
car:
mask:
person:
mask:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UVC_G3_Bullet_6:
enabled: true
ffmpeg:
inputs:
- path: rtsp://192.168.42.27:7447/65724e72e4b07fb8ffa6e71b_2
roles:
- detect
- path: rtsp://192.168.42.27:7447/65724e72e4b07fb8ffa6e71b_0
roles:
- record
detect:
width: 640
height: 368
fps: 5
motion:
mask:
- 0,0,0.188,0,0.188,0.033,0.154,0.036,0.154,0.08,0,0.079
- 0.047,1,0,0.661,0,1
objects:
filters:
person:
mask:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Reo7:
enabled: true
ffmpeg:
inputs:
- path: rtsp://user:[email protected]:554//h264Preview_01_sub
roles:
- detect
- path: rtsp://user:[email protected]:554//h264Preview_01_main
roles:
- record
detect:
width: 640
height: 480
fps: 5
motion:
mask:
- 0.013,0.049,0.303,0.048,0.303,0.017,0.013,0.017
- 0.066,0.954,0.066,0.979,0.013,0.979,0.013,0.954
- 0,0.285,0.045,0.108,0.07,0,0,0
- 0.062,1,0,0.569,0,1
objects:
filters:
bus:
mask:
car:
mask:
person:
mask:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Reo8:
enabled: false
ffmpeg:
inputs:
- path: rtsp://user:[email protected]:554//h264Preview_01_sub
roles:
- detect
- path: rtsp://user:[email protected]:554//h264Preview_01_main
roles:
- record
detect:
width: 640
height: 480
fps: 5
motion:
mask:
- 0,0,0,0,194,0,194,24,0,24,0,0
- 42,458,42,470,8,470,8,458
objects:
filters:
bus:
mask:
car:
mask:
person:
mask:
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Smart_Camera_wifi:
enabled: false
ffmpeg:
inputs:
- path: rtsp://192.168.42.115/ch0_0.h264
roles:
- detect
- path: rtsp://192.168.42.115/ch0_0.h264
roles:
- record
detect:
width: 1920
height: 1080
fps: 5
motion:
mask:
- 1280,0,1280,720,0,720,0,0
objects:
filters:
person:
mask:
version: 0.14
#-------------------------------------------------------------------------------------------------------
camera_groups: {} Relevant Frigate log outputs6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service certsync-log: starting
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service frigate-log successfully started
s6-rc: info: service certsync-log successfully started
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service go2rtc-healthcheck successfully started
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
2024-11-29 08:14:10.467121852 [INFO] Preparing Frigate...
2024-11-29 08:14:10.468823452 [INFO] Starting NGINX...
2024-11-29 08:14:10.471621771 [INFO] Preparing new go2rtc config...
2024-11-29 08:14:10.478883136 [INFO] No TLS certificate found. Generating a self signed certificate...
2024-11-29 08:14:10.481281271 [INFO] Starting Frigate...
2024-11-29 08:14:10.891210281 [INFO] Starting go2rtc...
2024-11-29 08:14:11.005090178 08:14:11.004 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-11-29 08:14:11.005094214 08:14:11.005 INF config path=/dev/shm/go2rtc.yaml
2024-11-29 08:14:11.005514892 08:14:11.005 INF [api] listen addr=:1984
2024-11-29 08:14:11.005663827 08:14:11.005 INF [rtsp] listen addr=:8554
2024-11-29 08:14:11.005806755 08:14:11.005 INF [webrtc] listen addr=:8555/tcp
s6-rc: info: service nginx successfully started
s6-rc: info: service certsync: starting
s6-rc: info: service certsync successfully started
s6-rc: info: service legacy-services: starting
2024-11-29 08:14:11.573049723 [INFO] Starting certsync...
s6-rc: info: service legacy-services successfully started
2024-11-29 08:14:11.658823702 127.0.0.1 - - [29/Nov/2024:08:14:11 -0500] "" 400 0 "-" "-" "-"
2024-11-29 08:14:11.922652557 [2024-11-29 08:14:11] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-11-29 08:14:11.922743304 [2024-11-29 08:14:11] frigate.util.config INFO : Checking if frigate config needs migration...
2024-11-29 08:14:11.995837860 [2024-11-29 08:14:11] frigate.util.config INFO : frigate config does not need migration...
2024-11-29 08:14:12.053048884 [2024-11-29 08:14:12] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2024-11-29 08:14:12.094403032 [2024-11-29 08:14:12] peewee_migrate.logs INFO : Starting migrations
2024-11-29 08:14:12.094973878 [2024-11-29 08:14:12] peewee_migrate.logs INFO : There is nothing to migrate
2024-11-29 08:14:12.105061655 [2024-11-29 08:14:12] frigate.app INFO : Recording process started: 357
2024-11-29 08:14:12.105277126 [2024-11-29 08:14:12] frigate.app INFO : Recording process started: 363
2024-11-29 08:14:12.107333899 [2024-11-29 08:14:12] frigate.app INFO : go2rtc process pid: 97
2024-11-29 08:14:12.130410192 [2024-11-29 08:14:12] detector.coral INFO : Starting detection process: 386
2024-11-29 08:14:12.133141123 [2024-11-29 08:14:12] frigate.app INFO : Output process started: 388
2024-11-29 08:14:12.151973380 [2024-11-29 08:14:12] frigate.app INFO : Camera processor started for UVC_G3_Dome_1: 405
2024-11-29 08:14:12.152165380 [2024-11-29 08:14:12] frigate.app INFO : Camera processor not started for disabled camera UVC_G3_Dome_2
2024-11-29 08:14:12.164403110 [2024-11-29 08:14:12] frigate.app INFO : Camera processor started for UVC_G3_Bullet_3: 409
2024-11-29 08:14:12.164578490 [2024-11-29 08:14:12] frigate.app INFO : Camera processor started for UVC_G3_Bullet_4: 417
2024-11-29 08:14:12.171533128 [2024-11-29 08:14:12] frigate.app INFO : Camera processor started for UVC_G3_Bullet_5: 428
2024-11-29 08:14:12.181941837 [2024-11-29 08:14:12] frigate.app INFO : Camera processor started for UVC_G3_Bullet_6: 440
2024-11-29 08:14:12.188242365 [2024-11-29 08:14:12] frigate.app INFO : Camera processor started for Reo7: 449
2024-11-29 08:14:12.188354395 [2024-11-29 08:14:12] frigate.app INFO : Camera processor not started for disabled camera Reo8
2024-11-29 08:14:12.188440704 [2024-11-29 08:14:12] frigate.app INFO : Camera processor not started for disabled camera Smart_Camera_wifi
2024-11-29 08:14:12.196507643 [2024-11-29 08:14:12] frigate.app INFO : Capture process started for UVC_G3_Dome_1: 461
2024-11-29 08:14:12.196513844 [2024-11-29 08:14:12] frigate.app INFO : Capture process not started for disabled camera UVC_G3_Dome_2
2024-11-29 08:14:12.202354619 [2024-11-29 08:14:12] frigate.app INFO : Capture process started for UVC_G3_Bullet_3: 467
2024-11-29 08:14:12.210074349 [2024-11-29 08:14:12] frigate.app INFO : Capture process started for UVC_G3_Bullet_4: 475
2024-11-29 08:14:12.218763887 [2024-11-29 08:14:12] frigate.app INFO : Capture process started for UVC_G3_Bullet_5: 482
2024-11-29 08:14:12.228826769 [2024-11-29 08:14:12] frigate.app INFO : Capture process started for UVC_G3_Bullet_6: 493
2024-11-29 08:14:12.245167071 [2024-11-29 08:14:12] frigate.app INFO : Capture process started for Reo7: 505
2024-11-29 08:14:12.245174910 [2024-11-29 08:14:12] frigate.app INFO : Capture process not started for disabled camera Reo8
2024-11-29 08:14:12.245177349 [2024-11-29 08:14:12] frigate.app INFO : Capture process not started for disabled camera Smart_Camera_wifi
2024-11-29 08:14:14.778785332 [2024-11-29 08:14:12] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-11-29 08:14:14.788008663 [2024-11-29 08:14:14] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-11-29 08:14:15.329015965 2024/11/29 08:14:15 [error] 185#185: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "127.0.0.1:5000"
2024-11-29 08:14:15.329079469 2024/11/29 08:14:15 [error] 185#185: *2 auth request unexpected status: 502 while sending to client, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", host: "127.0.0.1:5000"
2024-11-29 08:14:20.424845287 2024/11/29 08:14:20 [error] 186#186: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "127.0.0.1:5000"
2024-11-29 08:14:20.424857088 2024/11/29 08:14:20 [error] 186#186: *4 auth request unexpected status: 502 while sending to client, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", host: "127.0.0.1:5000"
2024-11-29 08:14:20.466425210 [INFO] Starting go2rtc healthcheck service...
2024-11-29 08:14:32.249153755 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_3 INFO : No frames received from UVC_G3_Bullet_3 in 20 seconds. Exiting ffmpeg...
2024-11-29 08:14:32.251336119 [2024-11-29 08:14:32] watchdog.UVC_G3_Dome_1 INFO : No frames received from UVC_G3_Dome_1 in 20 seconds. Exiting ffmpeg...
2024-11-29 08:14:32.252403907 [2024-11-29 08:14:32] watchdog.UVC_G3_Dome_1 INFO : Waiting for ffmpeg to exit gracefully...
2024-11-29 08:14:32.252764482 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_3 INFO : Waiting for ffmpeg to exit gracefully...
2024-11-29 08:14:32.253133567 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Dome_1: Unable to read frames from ffmpeg process.
2024-11-29 08:14:32.253749994 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_3: Unable to read frames from ffmpeg process.
2024-11-29 08:14:32.254473891 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Dome_1: ffmpeg process is not running. exiting capture thread...
2024-11-29 08:14:32.255390208 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_3: ffmpeg process is not running. exiting capture thread...
2024-11-29 08:14:32.265643895 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_4 INFO : No frames received from UVC_G3_Bullet_4 in 20 seconds. Exiting ffmpeg...
2024-11-29 08:14:32.267970243 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_4 INFO : Waiting for ffmpeg to exit gracefully...
2024-11-29 08:14:32.268913708 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_4: Unable to read frames from ffmpeg process.
2024-11-29 08:14:32.269748386 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_4: ffmpeg process is not running. exiting capture thread...
2024-11-29 08:14:32.276193744 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_5 INFO : No frames received from UVC_G3_Bullet_5 in 20 seconds. Exiting ffmpeg...
2024-11-29 08:14:32.277014725 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_5 INFO : Waiting for ffmpeg to exit gracefully...
2024-11-29 08:14:32.277948578 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_5: Unable to read frames from ffmpeg process.
2024-11-29 08:14:32.279762058 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_5: Unable to read frames from ffmpeg process.
2024-11-29 08:14:32.280072602 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_5: ffmpeg process is not running. exiting capture thread...
2024-11-29 08:14:32.281423761 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_6 INFO : No frames received from UVC_G3_Bullet_6 in 20 seconds. Exiting ffmpeg...
2024-11-29 08:14:32.283966460 [2024-11-29 08:14:32] watchdog.UVC_G3_Bullet_6 INFO : Waiting for ffmpeg to exit gracefully...
2024-11-29 08:14:32.284712754 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_6: Unable to read frames from ffmpeg process.
2024-11-29 08:14:32.285543518 [2024-11-29 08:14:32] frigate.video ERROR : UVC_G3_Bullet_6: ffmpeg process is not running. exiting capture thread...
2024-11-29 08:14:32.290364192 [2024-11-29 08:14:32] watchdog.Reo7 INFO : No frames received from Reo7 in 20 seconds. Exiting ffmpeg...
2024-11-29 08:14:32.292578771 [2024-11-29 08:14:32] watchdog.Reo7 INFO : Waiting for ffmpeg to exit gracefully...
2024-11-29 08:14:32.293436884 [2024-11-29 08:14:32] frigate.video ERROR : Reo7: Unable to read frames from ffmpeg process.
2024-11-29 08:14:32.295267308 [2024-11-29 08:14:32] frigate.video ERROR : Reo7: ffmpeg process is not running. exiting capture thread... Relevant go2rtc log outputnot sure how to get these logs FFprobe output from your camerabash: syntax error near unexpected token `newline' Frigate statsNo response Install methodDocker Compose docker-compose file or Docker CLI commandservices:
frigate:
container_name: Frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "128mb" # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb
volumes:
- /etc/localtime:/etc/localtime:ro
- /srv/dev-disk-by-uuid-6eb5aa21-c43a-47d2-ba96-1a2263e699a8/Frigate/config:/config
- /srv/dev-disk-by-uuid-6eb5aa21-c43a-47d2-ba96-1a2263e699a8/Frigate/media:/media
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "1935:1935"
environment:
FRIGATE_RTSP_PASSWORD: "password"
PLUS_API_KEY: api-key-lots-of-numbers-and-characters-removed-from-this Object DetectorCoral Network connectionWired Camera make and modelReolink RLC-520a; Ubiquiti UVC-G3 Screenshots of the Frigate UI's System metrics pagesno UI Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What happens if you map port 8971 and try to access that? |
Beta Was this translation helpful? Give feedback.
What happens if you map port 8971 and try to access that?