I have the same errors, without apparent influence on functionality.
Here is the head of my working container, for reference:
frigate | s6-rc: info: service s6rc-fdholder: starting
frigate | s6-rc: info: service s6rc-oneshot-runner: starting
frigate | s6-rc: info: service s6rc-oneshot-runner successfully started
frigate | s6-rc: info: service fix-attrs: starting
frigate | s6-rc: info: service s6rc-fdholder successfully started
frigate | s6-rc: info: service fix-attrs successfully started
frigate | s6-rc: info: service legacy-cont-init: starting
frigate | s6-rc: info: service legacy-cont-init successfully started
frigate | s6-rc: info: service log-prepare: starting
frigate | s6-rc: info: service log-prepare successfully started
frigate | s6-rc: info: service nginx-log: starting
frigate | s6-rc: info: service go2rtc-log: starting
frigate | s6-rc: info: service frigate-log: starting
frigate | s6-rc: info: service certsync-log: starting
frigate | s6-rc: info: service nginx-log successfully started
frigate | s6-rc: info: service frigate-log successfully started
frigate | s6-rc: info: service certsync-log successfully started
frigate | s6-rc: info: service go2rtc-log successfully started
frigate | s6-rc: info: service go2rtc: starting
frigate | s6-rc: info: service go2rtc successfully started
frigate | s6-rc: info: service go2rtc-healthcheck: starting
frigate | s6-rc: info: service frigate: starting
frigate | s6-rc: info: service go2rtc-healthcheck successfully started
frigate | s6-rc: info: service frigate successfully started
frigate | s6-rc: info: service nginx: starting
frigate | 2025-01-16 08:50:01.428565474 [INFO] Preparing Frigate...
frigate | 2025-01-16 08:50:01.430978254 [INFO] Starting NGINX...
frigate | 2025-01-16 08:50:01.446302458 [INFO] No TLS certificate found. Generating a self signed certificate...
frigate | 2025-01-16 08:50:01.469881754 [INFO] Preparing new go2rtc config...
frigate | 2025-01-16 08:50:01.476032804 [INFO] Starting Frigate...
frigate | 2025-01-16 08:50:02.036763526 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
frigate | 2025-01-16 08:50:02.088766910 [INFO] Starting go2rtc...
frigate | 2025-01-16 08:50:02.199203355 08:50:02.197 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
frigate | 2025-01-16 08:50:02.199207631 08:50:02.197 INF config path=/dev/shm/go2rtc.yaml
frigate | 2025-01-16 08:50:02.199212053 08:50:02.198 INF [rtsp] listen addr=:8554
frigate | 2025-01-16 08:50:02.199213990 08:50:02.198 INF [api] listen addr=:1984
frigate | 2025-01-16 08:50:02.199215661 08:50:02.198 INF [webrtc] listen addr=:8555
frigate | s6-rc: info: service nginx successfully started
frigate | s6-rc: info: service certsync: starting
frigate | s6-rc: info: service certsync successfully started
frigate | s6-rc: info: service legacy-services: starting
frigate | 2025-01-16 08:50:02.931122189 [INFO] Starting certsync...
frigate | s6-rc: info: service legacy-services successfully started
frigate | 2025-01-16 08:50:03.593410674 [2025-01-16 08:50:03] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
frigate | 2025-01-16 08:50:04.194812974 [2025-01-16 08:50:04] frigate.app INFO : Creating directory: /tmp/cache
frigate | 2025-01-16 08:50:04.196224802 [2025-01-16 08:50:04] frigate.util.config INFO : Checking if frigate config needs migration...
frigate | 2025-01-16 08:50:04.252105058 [2025-01-16 08:50:04] frigate.util.config INFO : frigate config does not need migration...
frigate | 2025-01-16 08:50:05.205523291 2025/01/16 08:50:05 [error] 164#164: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.3.254, server: , request: "GET /api/stats HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "frigate.lan:5000"
frigate | 2025-01-16 08:50:05.205540869 2025/01/16 08:50:05 [error] 164#164: *1 auth request unexpected status: 502 while sending to client, client: 192.168.3.254, server: , request: "GET /api/stats HTTP/1.1", host: "frigate.lan:5000"
frigate | 2025-01-16 08:50:06.359643346 2025/01/16 08:50:06 [error] 167#167: *3 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"
frigate | 2025-01-16 08:50:06.359669314 2025/01/16 08:50:06 [error] 167#167: *3 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"
frigate | 2025-01-16 08:50:11.416345962 2025/01/16 08:50:11 [error] 166#166: *5 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"
frigate | 2025-01-16 08:50:11.416370525 2025/01/16 08:50:11 [error] 166#166: *5 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"
frigate | 2025-01-16 08:50:11.427977659 [INFO] Starting go2rtc healthcheck service...
frigate | 2025-01-16 08:50:16.466465997 2025/01/16 08:50:16 [error] 165#165: *7 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"
frigate | 2025-01-16 08:50:16.466483404 2025/01/16 08:50:16 [error] 165#165: *7 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"
frigate | 2025-01-16 08:50:17.972383639 [2025-01-16 08:50:17] peewee_migrate.logs INFO : Starting migrations
frigate | 2025-01-16 08:50:17.972441418 [2025-01-16 08:50:17] peewee_migrate.logs INFO : There is nothing to migrate
frigate | 2025-01-16 08:50:17.980190629 [2025-01-16 08:50:17] frigate.app INFO : Recording process started: 368
frigate | 2025-01-16 08:50:17.984828460 [2025-01-16 08:50:17] frigate.app INFO : Recording process started: 370
frigate | 2025-01-16 08:50:17.987760971 [2025-01-16 08:50:17] frigate.app INFO : go2rtc process pid: 98
frigate | 2025-01-16 08:50:18.013052014 [2025-01-16 08:50:18] frigate.app INFO : Output process started: 399
frigate | 2025-01-16 08:50:18.016868299 [2025-01-16 08:50:18] detector.ov INFO : Starting detection process: 397
frigate | 2025-01-16 08:50:18.118651986 [2025-01-16 08:50:18] frigate.app INFO : Camera processor started for jardin_avant: 414
frigate | 2025-01-16 08:50:18.126767782 [2025-01-16 08:50:18] frigate.app INFO : Camera processor started for jardin_arriere: 415
frigate | 2025-01-16 08:50:18.132108702 [2025-01-16 08:50:18] frigate.app INFO : Camera processor started for garage: 420
frigate | 2025-01-16 08:50:18.132113319 [2025-01-16 08:50:18] frigate.app INFO : Capture process started for jardin_avant: 427
frigate | 2025-01-16 08:50:18.153518814 [2025-01-16 08:50:18] frigate.app INFO : Capture process started for jardin_arriere: 437
frigate | 2025-01-16 08:50:18.153525204 [2025-01-16 08:50:18] frigate.app INFO : Capture process started for garage: 445