blakeblackshear / frigate-hass-integration

Frigate integration for Home Assistant
MIT License
660 stars 110 forks source link

Lots of warnings about not connecting #632

Closed AlexKusnezov closed 4 months ago

AlexKusnezov commented 5 months ago

Version of the custom_component

5.0.1

Configuration


Configured via UI

Describe the bug

Hey guys, this is kind of 1st world problem, but I've been flooded by warings about server being offline. I don't have the server on all the time but rather on demand. I get it if it would appear once or twice, but as you can see in the logs there are 690 occurences within one hour. This is a bit too much. Any suggestions?

Debug log


This error originated from a custom integration.

Logger: custom_components.frigate.api
Source: custom_components/frigate/api.py:259
Integration: Frigate (documentation, issues)
First occurred: 10:53:45 (690 occurrences)
Last logged: 11:51:11

Error fetching information from http://192.168.2.10:5000/api/stats: Cannot connect to host 192.168.2.10:5000 ssl:default [Connect call failed ('192.168.2.10', 5000)]
tamaskan commented 5 months ago

Maybe reduce the log-level of the integration could help: https://www.home-assistant.io/integrations/logger/

github-actions[bot] commented 4 months 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.