blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.88k stars 1.72k forks source link

Frigate NVR Proxy Failed to install add-on #1989

Closed SoulReaver-SS closed 2 years ago

SoulReaver-SS commented 3 years ago

I'm having this popup while trying to install Frigate NVR Proxy Failed to install add-on The command '/bin/bash -o pipefail -c apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y)' returned a non-zero code: 100 image

I'm running it on Raspberry Pi OS, Home Assistant Supervised, Frigate running standalone via Docker-Compose as it was recommended and trying to connect it to HA via the NVR Proxy. I've already installed Frigate NVR Custom Component from HACS.

Version

0.9.1-800F33E

Frigate config file

mqtt:
  host: 192.168.1.204
  user: homeassistant
  password: {redacted}

cameras:
  Wyze_v3:
    ffmpeg:
      inputs:
        - path: rtsp://SoulReaver:{redacted}@192.168.1.68/live
          roles:
            - detect
            - rtmp
            - record
    detect:
      width: 1920 # <---- update for your camera's resolution
      height: 1080 # <---- update for your camera's resolution
      fps: 5
motion:
  mask:
    - 0,484,86,844,292,845,442,549,521,518,608,445,617,373,789,377,854,446,1038,440,1041,384,1195,374,1730,446,1773,278,1920,333,1920,0,0,0

record:
  enabled: True
  retain_days: 0
  events:
    retain:
      default: 90

ffmpeg:
  output_args:
    # Optional: output args for record streams (default: shown below)
    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -c:a aac

# Optional: Object configuration
# NOTE: Can be overridden at the camera level
objects:
  # Optional: list of objects to track from labelmap.txt (default: shown below)
  track:
    - person
  # Optional: filters to reduce false positives for specific object types
  filters:
    person:
      # Optional: minimum score for the object to initiate tracking (default: shown below)
      min_score: 0.4
      # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
      threshold: 0.6

Relevant log output

The command '/bin/bash -o pipefail -c apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y)' returned a non-zero code: 100

FFprobe output from your camera

ffprobe version 4.1.6-1~deb10u1+rpt2 Copyright (c) 2007-2020 the FFmpeg developers
  built with gcc 8 (Raspbian 8.3.0-6+rpi1)
  configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm
  WARNING: library configuration mismatch
  avutil      configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avcodec     configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avformat    configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avdevice    configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avfilter    configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  avresample  configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  swscale     configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  swresample  configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  postproc    configuration: --prefix=/usr --extra-version='1~deb10u1+rpt2' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-vout-drm --enable-v4l2-request --enable-libudev --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Input #0, rtsp, from 'rtsp://SoulReaver:5AhxjM4jJz@192.168.1.68/live':
  Metadata:
    title           : Session streamed by the WYZE Media Server
    comment         : live
  Duration: N/A, start: 0.000188, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1920x1080, 20 fps, 80 tbr, 90k tbn, 40 tbc
    Stream #0:1: Audio: pcm_alaw, 16000 Hz, 1 channels, s16, 128 kb/s

Frigate stats

No response

Operating system

Other Linux

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

Wyze Cam v3

Any other information that may be helpful

No response

blakeblackshear commented 3 years ago

The supervisor logs should have more detail.

SoulReaver-SS commented 3 years ago

The supervisor logs should have more detail.

It has:

21-10-11 04:43:07 INFO (SyncWorker_1) [supervisor.docker.addon] Starting build for ccab4aaf/armv7-addon-frigate-proxy:1.2 21-10-11 04:43:11 ERROR (SyncWorker_1) [supervisor.docker.addon] Can't build ccab4aaf/armv7-addon-frigate-proxy:1.2: The command '/bin/bash -o pipefail -c apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y)' returned a non-zero code: 100 21-10-11 04:43:11 ERROR (SyncWorker_1) [supervisor.docker.addon] Build log: Step 1/19 : ARG BUILD_ARCH Step 2/19 : FROM ghcr.io/hassio-addons/debian-base/${BUILD_ARCH}:5.1.0 ---> fc0e15d45bb7 Step 3/19 : SHELL ["/bin/bash", "-o", "pipefail", "-c"] ---> Using cache ---> 23133fc24572 Step 4/19 : RUN apt-get -qq update && apt-get -qq install --no-install-recommends -y nginx && (apt-get autoremove -y; apt-get autoclean -y) ---> Running in 4ceffa5b4933 W : GPG error: http://security.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.

E : The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is not signed.

W : GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.

E : The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.

W : GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.

E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.

Removing intermediate container 4ceffa5b4933

blakeblackshear commented 3 years ago

https://github.com/blakeblackshear/frigate-hass-addons/issues/44

SoulReaver-SS commented 3 years ago

That worked, now I'm having trouble connecting to running Frigate though. It says "Failed to restart Frigate NVR Proxy Port '5000' is already in use by something else on the host." 21-10-11 05:22:00 ERROR (SyncWorker_1) [supervisor.docker] Can't start addon_ccab4aaf_frigate-proxy: 500 Server Error for http+docker://localhost/v1.41/containers/f36dfc7675f987e2d61487e864b8295ccbab9bfcbe89ac2b5aa02e333d9bb792/start: Internal Server Error ("driver failed programming external connectivity on endpoint addon_ccab4aaf_frigate-proxy (a8e458478e98ad4ced712995f1adb37595ac1837089d37b7cbdb98781ab018f3): Bind for 0.0.0.0:5000 failed: port is already allocated")

When i try to change it to 5001 or something, the ui shows 403 I entered Frigate server address correctly, i can reach to Frigate from browser via that address: image

Ixian commented 3 years ago

You don't really need to set that port, that's for addons you may want to access outside home assistant. Since the Proxy is already fronting an external Frigate service this option is redundant. The Proxy addon is really meant to be used with Home Assistant's Ingress (which itself is a reverse proxy :) ) so that you can access it from within Home Assistant's UI/User Authentication either locally or remotely.

You should be able to leave the port blank for that setting.

SoulReaver-SS commented 3 years ago

You don't really need to set that port, that's for addons you may want to access outside home assistant. Since the Proxy is already fronting an external Frigate service this option is redundant. The Proxy addon is really meant to be used with Home Assistant's Ingress (which itself is a reverse proxy :) ) so that you can access it from within Home Assistant's UI/User Authentication either locally or remotely.

You should be able to leave the port blank for that setting.

I tried leaving it blank, though still got 403 forbidden page on the frigate nvm proxy tab.

Ixian commented 3 years ago

What other addons are you running? Seems like something is conflicting.

I've been using the Proxy since release without issue (I run HA via Home Assistant OS on an ODroid N2+, and Frigate on a Pi 4) so there's something in your setup causing this we need to ferret out.

SoulReaver-SS commented 3 years ago

What other addons are you running? Seems like something is conflicting.

I've been using the Proxy since release without issue (I run HA via Home Assistant OS on an ODroid N2+, and Frigate on a Pi 4) so there's something in your setup causing this we need to ferret out.

I'm not using much in HA: I checked what's using the port 5000 w/ "netstat -tulpn | grep LISTEN" and it showed "5736/docker-proxy" I think it's the docker-compose port of Frigate since in the installation section in documentation, it says "ports:

image

Ixian commented 3 years ago

Are you using Firefox? There's a known issue with HA Ingress and Firefox where you have to disable enhanced tracking for the page in order for Ingress to work.

SoulReaver-SS commented 3 years ago

Are you using Firefox? There's a known issue with HA Ingress and Firefox where you have to disable enhanced tracking for the page in order for Ingress to work.

No I'm using chrome Version 94.0.4606.81 (Official Build) (64-bit) right now. I tried it on Microsoft edge, firefox (enhanced tracking disabled and enabled), all show "403 Forbidden nginx" When I open Frigate w/ the same url I provided to the NVR proxy, it shows just fine though image

SoulReaver-SS commented 3 years ago

I thought about checking the logs and it says:

21-10-12 04:04:01 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:04:01 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:04:02 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:04:04 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:06:04 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy

blakeblackshear commented 3 years ago

Anything else in the logs to indicate what the problem was?

SoulReaver-SS commented 3 years ago

Anything else in the logs to indicate what the problem was?

It keeps showing those same lines over and over again: 21-10-12 04:10:07 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy 21-10-12 04:10:48 INFO (SyncWorker_4) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:10:49 INFO (SyncWorker_4) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:10:51 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:12:07 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:12:07 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:12:08 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:12:09 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:14:09 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy 21-10-12 04:16:09 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:16:09 INFO (SyncWorker_3) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:16:10 INFO (SyncWorker_3) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:16:12 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:18:12 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy 21-10-12 04:20:12 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:20:12 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:20:12 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:20:14 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:22:14 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy 21-10-12 04:24:14 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:24:14 INFO (SyncWorker_4) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:24:15 INFO (SyncWorker_4) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:24:17 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:26:17 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy 21-10-12 04:28:17 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:28:17 INFO (SyncWorker_2) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:28:18 INFO (SyncWorker_2) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:28:20 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:30:20 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy 21-10-12 04:32:20 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:32:20 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:32:21 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:32:22 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:34:22 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy 21-10-12 04:36:22 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with ccab4aaf_frigate-proxy application! 21-10-12 04:36:22 INFO (SyncWorker_1) [supervisor.docker.interface] Stopping addon_ccab4aaf_frigate-proxy application 21-10-12 04:36:23 INFO (SyncWorker_1) [supervisor.docker.interface] Cleaning addon_ccab4aaf_frigate-proxy application 21-10-12 04:36:25 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on ccab4aaf/armv7-addon-frigate-proxy with version 1.2 21-10-12 04:38:25 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missing application response from ccab4aaf_frigate-proxy

blakeblackshear commented 3 years ago

Try turning off the watchdog.

SoulReaver-SS commented 3 years ago

Try turning off the watchdog.

I tried that, now the error message in log is: 21-10-12 06:27:14 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.2:5000 ssl:default [Connect call failed ('172.30.33.2', 5000)]

blakeblackshear commented 3 years ago

And the addon logs don't show anything? Does it stay running?

SoulReaver-SS commented 3 years ago

And the addon logs don't show anything? Does it stay running?

[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-banner.sh: executing...

Add-on: Frigate NVR Proxy Proxy addon for Frigate

Add-on version: 1.2 You are running the latest version of this add-on. System: Raspbian GNU/Linux 10 (buster) (armv7 / raspberrypi4) Home Assistant Core: 2021.10.4 Home Assistant Supervisor: 2021.10.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] nginx.sh: executing... [cont-init.d] nginx.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [19:59:45] INFO: Starting NGinx...

blakeblackshear commented 3 years ago

Is the addon show that it's still running?

SoulReaver-SS commented 3 years ago

Is the addon show that it's still running?

It says it's: image

blakeblackshear commented 3 years ago

I'm not sure what else to try, but this seems odd

Connect call failed ('172.30.33.2', 5000

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.