blakeblackshear / frigate-hass-addons

Frigate hass.io addons
MIT License
248 stars 134 forks source link

HandleQueuedBulkIn transfer in failed. Unknown: USB transfer error 1 #178

Open tv4you2016 opened 3 months ago

tv4you2016 commented 3 months ago

Hi, I'm using the version Frigate (Full Access) Beta version: 0.14.0-rc1

I get this error

2024-07-30 17:29:45.721600005 [INFO] Preparing Frigate... 2024-07-30 17:29:45.726792283 [INFO] Starting NGINX... 2024-07-30 17:29:45.768795842 [INFO] No TLS certificate found. Generating a self signed certificate... 2024-07-30 17:29:46.378399102 [INFO] Starting Frigate... 2024-07-30 17:29:46.391588568 [INFO] Preparing new go2rtc config... 2024-07-30 17:29:47.053971443 [INFO] Got IP address from supervisor: 192.168.1.147 2024-07-30 17:29:47.762791489 [INFO] Got WebRTC port from supervisor: 8555 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-07-30 17:29:50.084666248 [INFO] Starting certsync... s6-rc: info: service legacy-services successfully started 2024-07-30 17:29:50.664804668 [INFO] Starting go2rtc... 2024-07-30 17:29:50.875705707 18:29:50.875 INF go2rtc platform=linux/arm64 revision=b2399f3 version=1.9.2 2024-07-30 17:29:50.876382830 18:29:50.875 INF config path=/dev/shm/go2rtc.yaml 2024-07-30 17:29:50.878067076 18:29:50.877 INF [api] listen addr=:1984 2024-07-30 17:29:50.880402903 18:29:50.880 INF [rtsp] listen addr=:8554 2024-07-30 17:29:50.882295024 18:29:50.882 INF [webrtc] listen addr=:8555/tcp 2024-07-30 17:29:51.070142706 127.0.0.1 - - [30/Jul/2024:18:29:51 +0100] "" 400 0 "-" "-" "-" 2024-07-30 17:29:55.719836501 [INFO] Starting go2rtc healthcheck service... 2024-07-30 17:29:58.275386366 [2024-07-30 18:29:58] frigate.app INFO : Starting Frigate (0.14.0-7c39b17) 2024-07-30 17:29:58.285573964 [2024-07-30 18:29:58] frigate.app INFO : Creating directory: /tmp/cache 2024-07-30 17:29:58.292054614 [2024-07-30 18:29:58] frigate.util.config INFO : Checking if frigate config needs migration... 2024-07-30 17:29:58.554793228 [2024-07-30 18:29:58] frigate.util.config INFO : frigate config does not need migration... 2024-07-30 17:30:00.528486177 2024/07/30 18:30:00 [error] 174#174: 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-07-30 17:30:00.528510969 2024/07/30 18:30:00 [error] 174#174: 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-07-30 17:30:01.481873968 [2024-07-30 18:30:01] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended 2024-07-30 17:30:01.675328135 [2024-07-30 18:30:01] peewee_migrate.logs INFO : Starting migrations 2024-07-30 17:30:01.686796106 [2024-07-30 18:30:01] peewee_migrate.logs INFO : There is nothing to migrate 2024-07-30 17:30:01.748664113 [2024-07-30 18:30:01] frigate.app INFO : Recording process started: 388 2024-07-30 17:30:01.776122083 [2024-07-30 18:30:01] frigate.app INFO : Recording process started: 390 2024-07-30 17:30:01.853788550 [2024-07-30 18:30:01] frigate.app INFO : go2rtc process pid: 104 2024-07-30 17:30:02.043520518 [2024-07-30 18:30:02] frigate.app INFO : Output process started: 418 2024-07-30 17:30:02.066731875 [2024-07-30 18:30:02] detector.coral INFO : Starting detection process: 417 2024-07-30 17:30:02.066751917 [2024-07-30 18:30:02] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb 2024-07-30 17:30:02.321369552 [2024-07-30 18:30:02] frigate.app INFO : Camera processor started for jardim: 437 2024-07-30 17:30:02.347131235 [2024-07-30 18:30:02] frigate.app INFO : Camera processor started for Frente: 440 2024-07-30 17:30:02.373727500 [2024-07-30 18:30:02] frigate.app INFO : Camera processor started for Garagem: 442 2024-07-30 17:30:02.408346119 [2024-07-30 18:30:02] frigate.app INFO : Capture process started for jardim: 450 2024-07-30 17:30:02.485248545 [2024-07-30 18:30:02] frigate.app INFO : Capture process started for Frente: 459 2024-07-30 17:30:02.496152892 [2024-07-30 18:30:02] frigate.app INFO : Capture process started for Garagem: 467 2024-07-30 17:30:05.362549622 [2024-07-30 18:30:05] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found 2024-07-30 17:30:06.080320145 F driver/usb/usb_driver.cc:1148] HandleQueuedBulkIn transfer in failed. Unknown: USB transfer error 1 [LibUsbDataInCallback] 2024-07-30 17:30:06.081583183 Fatal Python error: Aborted 2024-07-30 17:30:06.081598100
2024-07-30 17:30:06.081600933 Thread 0x0000007f5bfff1e0 (most recent call first): 2024-07-30 17:30:06.081603558 File "/usr/lib/python3.9/threading.py", line 312 in wait 2024-07-30 17:30:06.081606308 File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed 2024-07-30 17:30:06.081647683 File "/usr/lib/python3.9/threading.py", line 892 in run 2024-07-30 17:30:06.081763683 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner 2024-07-30 17:30:06.081768891 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap 2024-07-30 17:30:06.081773058
2024-07-30 17:30:06.081775808 Thread 0x0000007fa3611010 (most recent call first): 2024-07-30 17:30:06.081779183 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 833 in invoke 2024-07-30 17:30:06.081933057 File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 61 in detect_raw 2024-07-30 17:30:06.081938224 File "/opt/frigate/frigate/object_detection.py", line 75 in detect_raw 2024-07-30 17:30:06.081942432 File "/opt/frigate/frigate/object_detection.py", line 125 in run_detector 2024-07-30 17:30:06.081945474 File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run 2024-07-30 17:30:06.082024974 File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap 2024-07-30 17:30:06.082029766 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in _launch 2024-07-30 17:30:06.082033516 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in init 2024-07-30 17:30:06.082036682 File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen 2024-07-30 17:30:06.082041266 File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen 2024-07-30 17:30:06.082044391 File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start 2024-07-30 17:30:06.082047307 File "/opt/frigate/frigate/object_detection.py", line 183 in start_or_restart 2024-07-30 17:30:06.082124390 File "/opt/frigate/frigate/object_detection.py", line 151 in init 2024-07-30 17:30:06.094881274 File "/opt/frigate/frigate/app.py", line 429 in start_detectors 2024-07-30 17:30:06.094898441 File "/opt/frigate/frigate/app.py", line 690 in start 2024-07-30 17:30:06.094901399 File "/opt/frigate/frigate/main.py", line 17 in 2024-07-30 17:30:06.094903899 File "/usr/lib/python3.9/runpy.py", line 87 in _run_code 2024-07-30 17:30:06.094906566 File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main