File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 477477 } ;
478478 } ;
479479 extraConfig = ''
480+ # Frigate wants to connect on 127.0.0.1:5000 for unauthenticated requests
481+ # https://github.com/NixOS/nixpkgs/issues/370349
482+ listen 127.0.0.1:5000;
483+
480484 # vod settings
481485 vod_base_url "";
482486 vod_segments_base_url "";
Original file line number Diff line number Diff line change @@ -66,9 +66,12 @@ import ./make-test-python.nix (
6666 # login and store session
6767 machine.log(machine.succeed(f"http --check-status --session=frigate post http://localhost/api/login user=admin password={password}"))
6868
69- # make authenticated api requested
69+ # make authenticated api request
7070 machine.log(machine.succeed("http --check-status --session=frigate get http://localhost/api/version"))
7171
72+ # make unauthenticated api request
73+ machine.log(machine.succeed("http --check-status get http://localhost:5000/api/version"))
74+
7275 # wait for a recording to appear
7376 machine.wait_for_file("/var/cache/frigate/test@*.mp4")
7477 '' ;
You can’t perform that action at this time.
0 commit comments