Frigate don't start/Connection refused

How are these errors to be understood? Had recently just changed the retain value in the frigate.yaml…

024-02-07 06:27:37.573309466  [INFO] Starting go2rtc healthcheck service...
2024-02-07 06:27:41.234813826  2024/02/07 07:27:41 [error] 148#148: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.1, server: , request: "GET /api/stats HTTP/1.1", upstream: "http://127.0.0.1:5001stats", host: "xxxxx-frigate:5000"
2024-02-07 06:27:42.380612798  2024/02/07 07:27:42 [error] 149#149: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
1 Like

solved: record → retain has no attribute “default”

I am facing the same problem… Can you explain more?

Please check this code…in the section record is no default value:

The problem remains…

My configuration is this:

record:
  enabled: True
  retain:
    days: 0
    mode: all
  events:
    retain:
      default: 7
      mode: active_objects

In my case the problem was an urlencoded character in the camera password.
With the old frigate the PW must be urlencoded to work (characters like %$#)
With frigate 0.13.2 it is NOT allowed to be encoded.
For setting up go2rtc it MUST be encoded to work.