frigate: [Config Support]: Frigate+ model not working
Describe the problem you are having
Continued from discussion #9648.
Version
0.13.1-rk
Frigate config file
mqtt:
host: 192.168.2.83
port: 1883
topic_prefix: frigate
client_id: frigate
user: xxxxx
password: xxxxxx
go2rtc:
streams:
living_room:
- rtsp://raigeiki55:kobejordan2324@192.168.2.45:554/stream1#video=h264/rk
living_room_sub:
- rtsp://admin:kobejordan2324@192.168.2.49:554/cam/realmonitor?channel=5&subtype=1#video=h264/rk
gate:
rtsp://admin:kobejordan2324@192.168.2.49:554/cam/realmonitor?channel=2&subtype=0#video=h265/rk
gate_sub:
rtsp://admin:kobejordan2324@192.168.2.49:554/cam/realmonitor?channel=2&subtype=1#video=h265/rk
terrace:
rtsp://admin:kobejordan2324@192.168.2.49:554/cam/realmonitor?channel=3&subtype=0#video=h265/rk
cameras:
gate:
ffmpeg:
hwaccel_args: preset-rk-h265
output_args:
record: preset-record-generic
inputs:
- path: rtsp://lagran.lan:8554/gate
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://lagran.lan:8554/gate_sub
roles:
- detect
detect:
width: 1920
height: 1080
fps: 7
objects:
track:
- person
- car
- umbrella
filters:
person:
threshold: 0.50
min_area: 2000
max_area: 120000
min_ratio: 0.3
max_ratio: 2.4
zones:
entrance:
coordinates: 990,1080,781,1080,657,1080,724,820,780,689,770,675,812,515,873,508,1017,516
record:
enabled: true
events:
retain:
default: 15
living_room:
ffmpeg:
hwaccel_args: preset-rk-h264
output_args:
record: preset-record-generic
inputs:
- path: rtsp://lagran.lan:8554/living_room
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://lagran.lan:8554/living_room_sub
roles:
- detect
detect:
width: 1920
height: 1080
fps: 8
objects:
track:
- person
filters:
person:
threshold: 0.5
min_area: 18000
max_area: 400000
min_ratio: 0.1
max_ratio: 5.4
zones:
stairs:
coordinates:
1920,0,1804,125,1739,497,1719,658,1670,886,1424,836,1441,663,1450,474,1469,292,1492,0
dining_room:
coordinates: 1110,309,1419,362,1343,830,811,706
bedroom_entrance:
coordinates: 795,844,657,763,766,700,897,764
lounge:
coordinates: 639,761,1655,925,1625,1080,1170,1080,0,1080
storage:
coordinates: 975,577,837,680,819,257,911,250
buffer_zone:
coordinates: 819,716,736,800,1642,998,1661,925,1667,866
record:
enabled: true
events:
objects:
- person
retain:
default: 15
terrace:
ffmpeg:
hwaccel_args: preset-rk-h265
output_args:
record: preset-record-generic
inputs:
- path: rtsp://lagran.lan:8554/terrace
input_args: preset-rtsp-restream
roles:
- record
record:
enabled: false
detectors:
coral:
type: edgetpu
device: usb
Relevant log output
s6-rc: info: service s6rc-fdholder: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-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 nginx-log successfully started
s6-rc: info: service frigate-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
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
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
2024-02-04 20:45:38.466951858 [INFO] Preparing Frigate...
2024-02-04 20:45:38.469797283 [INFO] Starting NGINX...
2024-02-04 20:45:38.469790575 [INFO] Preparing new go2rtc config...
s6-rc: info: service legacy-services successfully started
2024-02-04 20:45:38.499302381 [INFO] Starting Frigate...
2024-02-04 20:45:39.020996899 [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-02-04 20:45:39.021010899 [INFO] Starting go2rtc...
2024-02-04 20:45:39.134018549 20:45:39.133 INF go2rtc version 1.8.5 linux/arm64
2024-02-04 20:45:39.135016898 20:45:39.134 INF [api] listen addr=:1984
2024-02-04 20:45:39.135130936 20:45:39.135 INF [rtsp] listen addr=:8554
2024-02-04 20:45:39.135955165 20:45:39.135 INF [webrtc] listen addr=:8555
2024-02-04 20:45:40.842064881 2024/02/04 20:45:40 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:45:40.866168746 [2024-02-04 20:45:40] frigate.app INFO : Starting Frigate (0.13.1-34fb1c2)
2024-02-04 20:45:40.866400615 [2024-02-04 20:45:40] frigate.app INFO : Creating directory: /tmp/cache
2024-02-04 20:45:41.336259164 2024/02/04 20:45:41 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:45:41.336269955 10.42.0.44 - - [04/Feb/2024:20:45:41 +0800] "GET /api/config HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:41.337257221 2024/02/04 20:45:41 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config/raw HTTP/1.1", upstream: "http://127.0.0.1:5001/config/raw", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:45:41.337406259 10.42.0.44 - - [04/Feb/2024:20:45:41 +0800] "GET /api/config/raw HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:42.436132337 2024/02/04 20:45:42 [error] 156#156: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /ws HTTP/1.1", upstream: "http://127.0.0.1:5002/", host: "frigate.lagran"
2024-02-04 20:45:42.436157420 10.42.0.44 - - [04/Feb/2024:20:45:42 +0800] "GET /ws HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:43.313563616 [2024-02-04 20:45:43] frigate.config WARNING : Customizing more than a detector model path is unsupported.
2024-02-04 20:45:45.844757655 2024/02/04 20:45:45 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:45:46.925022303 2024/02/04 20:45:46 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:45:46.925046803 10.42.0.44 - - [04/Feb/2024:20:45:46 +0800] "GET /api/config HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:47.929725440 2024/02/04 20:45:47 [error] 156#156: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /ws HTTP/1.1", upstream: "http://127.0.0.1:5002/", host: "frigate.lagran"
2024-02-04 20:45:47.929748773 10.42.0.44 - - [04/Feb/2024:20:45:47 +0800] "GET /ws HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:48.459982774 [INFO] Starting go2rtc healthcheck service...
2024-02-04 20:45:50.850037195 2024/02/04 20:45:50 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:45:51.955418641 2024/02/04 20:45:51 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config/raw HTTP/1.1", upstream: "http://127.0.0.1:5001/config/raw", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:45:51.955472014 10.42.0.44 - - [04/Feb/2024:20:45:51 +0800] "GET /api/config/raw HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:53.935243902 2024/02/04 20:45:53 [error] 156#156: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /ws HTTP/1.1", upstream: "http://127.0.0.1:5002/", host: "frigate.lagran"
2024-02-04 20:45:53.935296109 10.42.0.44 - - [04/Feb/2024:20:45:53 +0800] "GET /ws HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:55.845005673 2024/02/04 20:45:55 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:45:59.016673229 2024/02/04 20:45:59 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:45:59.016697728 10.42.0.44 - - [04/Feb/2024:20:45:59 +0800] "GET /api/config HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:59.020744788 2024/02/04 20:45:59 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config/raw HTTP/1.1", upstream: "http://127.0.0.1:5001/config/raw", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:45:59.020929700 10.42.0.44 - - [04/Feb/2024:20:45:59 +0800] "GET /api/config/raw HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:45:59.021570475 2024/02/04 20:45:59 [error] 156#156: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /ws HTTP/1.1", upstream: "http://127.0.0.1:5002/", host: "frigate.lagran"
2024-02-04 20:45:59.021581850 10.42.0.44 - - [04/Feb/2024:20:45:59 +0800] "GET /ws HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:00.288676246 10.42.0.44 - - [04/Feb/2024:20:46:00 +0800] "GET /config HTTP/1.1" 200 6637 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:00.378553297 2024/02/04 20:46:00 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:46:00.378955787 10.42.0.44 - - [04/Feb/2024:20:46:00 +0800] "GET /api/config HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:00.856137601 2024/02/04 20:46:00 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:46:01.718047663 10.42.0.44 - - [04/Feb/2024:20:46:01 +0800] "GET /config HTTP/1.1" 200 6637 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:01.796941420 2024/02/04 20:46:01 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:46:01.797588611 10.42.0.44 - - [04/Feb/2024:20:46:01 +0800] "GET /api/config HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:02.482446959 10.42.0.44 - - [04/Feb/2024:20:46:02 +0800] "GET /config HTTP/1.1" 200 6637 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:02.557927722 2024/02/04 20:46:02 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:46:02.558896614 10.42.0.44 - - [04/Feb/2024:20:46:02 +0800] "GET /api/config HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:05.848093492 2024/02/04 20:46:05 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:46:07.924026723 2024/02/04 20:46:07 [error] 144#144: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.44, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "frigate.lagran", referrer: "http://frigate.lagran/config"
2024-02-04 20:46:07.924750912 10.42.0.44 - - [04/Feb/2024:20:46:07 +0800] "GET /api/config HTTP/1.1" 502 559 "http://frigate.lagran/config" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "10.42.1.0"
2024-02-04 20:46:10.847422772 2024/02/04 20:46:10 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:46:15.853213048 2024/02/04 20:46:15 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
2024-02-04 20:46:20.843087411 2024/02/04 20:46:20 [error] 142#142: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 10.42.0.0, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "192.168.2.82:5000"
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
Coral version
USB
Any other information that may be helpful
No response
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 38 (10 by maintainers)
The connection refused message is not the source of your issue. You will see those any time Frigate isn’t running properly or still starting.