frigate-hass-addons icon indicating copy to clipboard operation
frigate-hass-addons copied to clipboard

Proxy kills HASS if Frigate server is down

Open Tuxie opened this issue 2 years ago • 1 comments

I run Frigate on a different server from Home Assistant and use the Frigate Proxy in HASS. When Frigate is running on the server everything work as it should, but if Frigate is stopped for some reason, it brings the whole Home Assistant interface down with it, so I only see this (but automations seem to still work): image

When this happens, I get this in home-assistant.log:

2021-11-24 10:01:57 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://192.168.1.2:5000/api/stats: Cannot connect to host 192.168.1.2:5000 ssl:default [Connect call failed ('192.168.1.2', 5000)]
2021-11-24 10:01:57 WARNING (MainThread) [homeassistant.config_entries] Config entry '192.168.1.2:5000' for frigate integration not ready yet; Retrying in background

As soon as I start Frigate on the server, the Home Assistant interface works again. Home Assistant 2021.11.5 on a Home Assistant Blue.

Tuxie avatar Nov 24 '21 09:11 Tuxie

This isn't the addon. Those log messages are for the integration: https://github.com/blakeblackshear/frigate-hass-integration

blakeblackshear avatar Nov 24 '21 13:11 blakeblackshear