You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HomeAssistant Core: 2024.9.1 HA Supervisor: 2024.08.0 HA OS: 13.1 HA Frontend: 20240906.0 HA IP: 192.168.0.58 HTTPS: Yes. https://homeassistant.esco.ghaar
HA HACS Frigate Integration: v5.4.0
Frigate Configuration
# logger:
# logs:
# frigate.record.maintainer: debug
mqtt:
enabled: true
host: homeassistant.esco.ghaar
port: 1883
topic_prefix: frigate
client_id: frigate_pve_vm
...
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
type: edgetpu
device: usb
detect:
enabled: true
fps: 5
min_initialized: 2
max_disappeared: 25
stationary:
interval: 50
threshold: 50
motion:
threshold: 30
contour_area: 20
lightning_threshold: 0.8
frame_height: 100
frame_alpha: 0.01
improve_contrast: true
mqtt_off_delay: 5
objects:
track:
- person
- bicycle
- car
- bird
- dog
- eye glasses
- plate
filters:
person:
# Optional: minimum width*height of the bounding box for the detected object (default: 0)
min_area: 5000
# Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
max_area: 100000
# Optional: minimum width/height of the bounding box for the detected object (default: 0)
min_ratio: 0.5
# Optional: maximum width/height of the bounding box for the detected object (default: 24000000)
max_ratio: 2.0
# Optional: minimum score for the object to initiate tracking (default: shown below)
min_score: 0.5
# Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
threshold: 0.7
# Optional: Review configuration. Can be overridden at the camera level
review:
# Optional: alerts configuration
alerts:
# Optional: labels that qualify as an alert (default: shown below)
labels:
- car
- person
# Optional: required zones for an object to be marked as an alert (default: none)
# required_zones:
# - driveway
# Optional: detections configuration
detections:
# Optional: labels that qualify as a detection (default: all labels that are tracked / listened to)
labels:
- car
- person
# Optional: required zones for an object to be marked as a detection (default: none)
# required_zones:
# - driveway
record:
enabled: true
retain:
days: 2
mode: motion
events:
pre_capture: 10
post_capture: 10
retain:
default: 14
mode: active_objects
objects:
person: 7
car: 7
preview:
# Optional: Quality of recording preview (default: shown below).
# Options are: very_low, low, medium, high, very_high
quality: medium
sync_recordings: true
# Optional: Audio Events Configuration
# NOTE: Can be overridden at the camera level
audio:
# Optional: Enable audio events (default: shown below)
enabled: true
# Optional: Configure the amount of seconds without detected audio to end the event (default: shown below)
max_not_heard: 30
# Optional: Configure the min rms volume required to run audio detection (default: shown below)
# As a rule of thumb:
# - 200 - high sensitivity
# - 500 - medium sensitivity
# - 1000 - low sensitivity
min_volume: 500
# Optional: Types of audio to listen for (default: shown below)
listen:
- bark
- fire_alarm
- scream
- speech
- yell
- squeal
- breaking
- shatter
- gunshot
- machine_gun
- explosion
- smoke_detector
- knock
- roaring_cats
- roar
- howl
- hiss
# Optional: Filters to configure detection.
filters:
# Label that matches label in listen config.
speech:
# Minimum score that triggers an audio event (default: shown below)
threshold: 0.8
# Optional: Configuration for the jpg snapshots written to the clips directory for each event
snapshots:
enabled: True # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
clean_copy: True # Optional: save a clean PNG copy of the snapshot image (default: shown below)
timestamp: True # Optional: print a timestamp on the snapshots (default: shown below)
bounding_box: True # Optional: draw bounding box on the snapshots (default: shown below)
crop: False # Optional: crop the snapshot (default: shown below)
# height: 175 # Optional: height to resize the snapshot to (default: original size)
required_zones: [] # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
retain: # Optional: Camera override for retention settings (default: global values)
default: 5
objects:
person: 7
car: 7
quality: 70
birdseye:
enabled: True
restream: True
go2rtc:
webrtc:
candidates:
- 192.168.100.22:8555
streams:
front_main:
- rtsp://.../h264Preview_01_main
- "ffmpeg:front_main#video=h264#audio=opus#hardware"
front_main_sub:
- rtsp://.../h264Preview_01_sub
- "ffmpeg:front_main_sub#video=h264#audio=opus#hardware"
front_main_http:
- https://...
- "ffmpeg:front_main_http#video=h264#audio=opus#hardware"
backyard_east:
- rtsp://.../h264Preview_01_main
- "ffmpeg:backyard_east#video=h264#audio=opus#hardware"
backyard_east_sub:
- rtsp://.../h264Preview_01_sub
- "ffmpeg:backyard_east_sub#video=h264#audio=opus#hardware"
backyard_east_http:
- https://...
- "ffmpeg:backyard_east_http#video=h264#audio=opus#hardware"
backyard_west:
- rtsp://.../h264Preview_01_main
- "ffmpeg:backyard_west#video=h264#audio=opus#hardware"
backyard_west_sub:
- rtsp://.../h264Preview_01_sub
- "ffmpeg:backyard_west_sub#video=h264#audio=opus#hardware"
backyard_west_http:
- https://...
- "ffmpeg:backyard_west_http#video=h264#audio=opus#hardware"
sideyard_tesla:
- rtsp://admin:I@[email protected]:554/h264Preview_01_main
- "ffmpeg:sideyard_tesla#video=h264#audio=opus#hardware"
sideyard_tesla_sub:
- rtsp://.../h264Preview_01_sub
- "ffmpeg:sideyard_tesla_sub#video=h264#audio=opus#hardware"
sideyard_tesla_http:
- https://...
- "ffmpeg:sideyard_tesla_http#video=h264#audio=opus#hardware"
sideyard_ac:
- rtsp://.../h264Preview_01_main
- "ffmpeg:sideyard_ac#video=h264#audio=opus#hardware"
sideyard_ac_sub:
- rtsp://.../h264Preview_01_sub
- "ffmpeg:sideyard_ac_sub#video=h264#audio=opus#hardware"
sideyard_ac_http:
- https://...
- "ffmpeg:sideyard_ac_http#video=h264#audio=opus#hardware"
front_doorbell:
- rtsp://.../h264Preview_01_main
- "ffmpeg:front_doorbell#video=h264#audio=opus#hardware"
front_doorbell_sub:
- rtsp://.../h264Preview_01_sub
- "ffmpeg:front_doorbell_sub#video=h264#audio=opus#hardware"
front_doorbell_http:
- https://...
- "ffmpeg:front_doorbell_http#video=h264#audio=opus#hardware"
# high-res / clear stream doesn't work due to limitation of H.264 streams
front_driveway:
- rtsp://..../h264Preview_01_main
- "ffmpeg:front_driveway#video=h264#audio=opus#hardware"
front_driveway_sub:
- rtsp://admin:I@[email protected]:554/h264Preview_01_sub
front_driveway_http:
- https://...
- "ffmpeg:front_driveway_http#video=h264#audio=opus#hardware"
garage_interior:
- rtsp://.../h264Preview_01_main
- "ffmpeg:garage_interior#video=h264#audio=opus#hardware"
garage_interior_sub:
- rtsp://..../h264Preview_01_sub
- "ffmpeg:garage_interior_sub#video=h264#audio=opus#hardware"
garage_interior_http:
- https://...
- "ffmpeg:garage_interior_http#video=h264#audio=opus#hardware"
livingroom:
- rtsp://.../h264Preview_01_main
- "ffmpeg:livingroom#video=h264#audio=opus#hardware"
livingroom_sub:
- rtsp://.../h264Preview_01_sub
- "ffmpeg:livingroom_sub#video=h264#audio=opus#hardware"
livingroom_http:
- https://...
- "ffmpeg:livingroom_http#video=h264#audio=opus#hardware"
cameras:
front_doorbell:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_doorbell
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_doorbell_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
motion:
mask:
0.63,0.772,0.624,0.669,0.548,0.629,0.5,0.56,0.527,0.466,0.587,0.438,0.648,0.484,0.719,0.51,0.817,0.549,0.829,0.614,0.799,0.612,0.706,0.593
zones:
near_front_door:
coordinates:
0.001,0.745,0.049,0.701,0.266,0.614,0.382,0.614,0.462,0.659,0.527,0.653,0.542,0.707,0.504,0.734,0.492,0.794,0.515,0.878,0.508,0.997,0.068,0.995
loitering_time: 0
objects:
- dog
- person
- bicycle
review:
alerts:
required_zones: near_front_door
detections:
required_zones: near_front_door
audio:
enabled: false
live:
stream_name: front_doorbell
front_main:
ffmpeg:
inputs:
# High Resolution Stream
# - path: https://192.168.2.7/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=I%40mdumb02#video=copy#audio=copy#audio=opus
- path: rtsp://127.0.0.1:8554/front_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_main_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
zones:
lawn_driveway:
coordinates:
0.375,0.729,0.499,0.555,0.51,0.506,0.566,0.496,0.584,0.442,0.662,0.425,0.764,0.402,0.785,0.464,0.818,0.472,0.768,0.989,0.007,0.99,0.012,0.942,0.209,0.849
loitering_time: 0
objects:
- bicycle
- bird
- car
- dog
- person
cul_de_sac:
coordinates:
0.004,0.654,0.005,0.426,0.218,0.371,0.246,0.415,0.29,0.444,0.327,0.433,0.453,0.46,0.387,0.557,0.277,0.611
loitering_time: 0
motion:
mask:
- 0.094,0.633,0.064,0.581,0.068,0.516,0.093,0.436,0.139,0.425,0.167,0.436,0.191,0.389,0.216,0.376,0.228,0.336,0.233,0.383,0.238,0.399,0.245,0.381,0.259,0.415,0.27,0.423,0.287,0.437,0.291,0.482,0.314,0.454,0.331,0.485,0.313,0.516,0.278,0.562,0.252,0.562,0.25,0.584,0.275,0.605,0.226,0.618
- 0.508,0.506,0.487,0.476,0.495,0.415,0.524,0.386,0.554,0.402,0.55,0.418,0.564,0.416,0.571,0.434,0.571,0.454,0.561,0.48,0.545,0.492
threshold: 30
contour_area: 20
improve_contrast: True
review:
alerts:
required_zones:
- lawn_driveway
- cul_de_sac
detections:
required_zones:
- lawn_driveway
- cul_de_sac
audio:
enabled: false
live:
stream_name: front_main
backyard_east:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/backyard_east
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/backyard_east_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
audio:
enabled: false
live:
stream_name: backyard_east
backyard_west:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/backyard_west
roles:
- record
- path: rtsp://127.0.0.1:8554/backyard_west_sub
roles:
- detect
- audio
audio:
enabled: false
live:
stream_name: backyard_west
sideyard_tesla:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/sideyard_tesla
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/sideyard_tesla_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
audio:
enabled: false
live:
stream_name: sideyard_tesla
sideyard_ac:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/sideyard_ac
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/sideyard_ac_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
audio:
enabled: false
live:
stream_name: sideyard_ac
garage_interior:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/garage_interior
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/garage_interior_sub
input_args: preset-rtsp-restream
roles:
- detect
audio:
enabled: false
live:
stream_name: garage_interior
livingroom:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/livingroom_sub
input_args: preset-rtsp-restream
roles:
- detect
# - audio
record:
enabled: false
audio:
enabled: false
live:
stream_name: livingroom
front_driveway:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_driveway
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_driveway_sub
input_args: preset-rtsp-restream
roles:
- detect
- audio
motion:
mask:
- 0.536,0.455,0.542,0.603,0.589,0.669,0.646,0.685,0.839,0.786,0.881,0.869,0.954,0.894,0.992,0.829,0.993,0.443,0.802,0.317,0.644,0.348
- 0.003,0.834,0.188,0.85,0.26,0.354,0.221,0.286,0.168,0.279,0.169,0.282,0.119,0.307,0.07,0.343,0.034,0.413,0.019,0.503,0.004,0.578
threshold: 40
contour_area: 20
improve_contrast: true
zones:
driveway:
coordinates:
0.077,0.329,0.409,0.284,0.501,0.465,0.501,0.463,0.635,0.39,0.987,0.57,0.993,0.977,0.006,0.983,0.008,0.523
loitering_time: 0
objects:
- car
- bicycle
- dog
- person
- plate
frontdriveway_cul_de_sac:
coordinates:
0.155,0.277,0.408,0.27,0.543,0.214,0.583,0.078,0.434,0.059,0.343,0.071,0.192,0.124,0.095,0.186,0.062,0.213,0.077,0.324
loitering_time: 0
review:
alerts:
required_zones: driveway
detections:
required_zones:
- driveway
- frontdriveway_cul_de_sac
audio:
enabled: false
live:
stream_name: front_driveway
auth:
reset_admin_password: false
version: 0.14
camera_groups:
Birdseye:
order: 1
icon: LuBird
cameras: birdseye
Describe the bug
Frigate runs in a docker container on a machine separate to HA. Both have http (5000 and 8123 respectively) and https enabled. HA gets served from https link. http links for HA get redirected to https via local nginx.
Frigate access via allowed network'ed computer ✅
HA access via allowed network'ed computer ✅ HA's access to Frigate instance (via HA Terminal) ✅
HA Frigate integration correctly shows all cameras and relevant metrics ✅
But, when viewing any camera's streaming (either via "Visit this camera" option in HA or via frigate-hass-card) for cameras other than birdseye results in redirection to http://frigate.esco.ghaar:5000. Debug log indicate :5000/api/stats is not accesible. But, curl commands above demonstrate that the address is reachable.
This results in custom: frigate-card being unable to show camera views.
If I were to hazard a guess, then ssl:default may be an issue. If ssl can be set to false, then perhaps it may work?
Debug log
2024-09-06 13:01:00.164 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:00.164 ERROR (MainThread) [custom_components.frigate] Error fetching frigate data:
2024-09-06 13:01:05.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:10.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:15.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:20.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:25.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:30.164 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:35.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:40.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:45.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:50.162 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:01:55.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:00.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:05.162 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:10.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:12.712 ERROR (MainThread) [custom_components.blueiris.api.blue_iris_api] Failed to connect http://watchman.esco.ghaar:8081/json, Error: Cannot connect to host watchman.esco.ghaar:8081 ssl:False [Connect call failed ('192.168.100.19', 8081)], Line: 84
2024-09-06 13:02:15.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:20.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:25.162 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:30.165 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:35.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:40.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:41.119 INFO (MainThread) [backoff] Backing off async_request(...) for 0.8s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.250.33)
2024-09-06 13:02:41.784 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:02:41.784 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1073, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 104, in start_connection
raise first_exception
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 81, in start_connection
sock = await _connect_sock(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 166, in _connect_sock
await loop.sock_connect(sock, address)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 681, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.100.22', 5000)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 462, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 813, in get
return await self.handle(request, camera)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 831, in handle
image = await _async_get_image(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 185, in _async_get_image
else await camera.async_camera_image(width=width, height=height)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/frigate/camera.py", line 460, in async_camera_image
response = await websession.get(image_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 657, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 564, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 975, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1350, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1319, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1088, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:41.860 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1073, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 104, in start_connection
raise first_exception
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 81, in start_connection
sock = await _connect_sock(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 166, in _connect_sock
await loop.sock_connect(sock, address)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 681, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.100.22', 5000)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 462, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 813, in get
return await self.handle(request, camera)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 831, in handle
image = await _async_get_image(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 185, in _async_get_image
else await camera.async_camera_image(width=width, height=height)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/frigate/camera.py", line 460, in async_camera_image
response = await websession.get(image_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 657, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 564, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 975, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1350, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1319, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1088, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:45.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:50.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:02:51.790 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:02:55.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:00.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:05.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:10.166 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:11.795 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:03:15.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:20.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:25.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:30.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:35.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:40.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:41.798 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:03:45.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:50.159 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:03:55.164 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:00.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:05.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:10.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:15.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:20.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:21.805 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:04:25.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:30.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:35.164 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:40.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:45.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:50.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:55.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:04:56.551 ERROR (MainThread) [custom_components.blueiris.api.blue_iris_api] Failed to connect http://watchman.esco.ghaar:8081/json, Error: Cannot connect to host watchman.esco.ghaar:8081 ssl:False [Connect call failed ('192.168.100.19', 8081)], Line: 84
2024-09-06 13:05:00.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:05.162 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:10.159 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:11.810 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:05:15.159 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:20.162 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:23.607 INFO (Thread-16 (_run)) [google.api_core.bidi] Re-established stream
2024-09-06 13:05:25.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:30.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:35.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:40.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:45.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:50.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:05:55.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:00.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:05.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:10.064 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.42 data: Unable to connect to the device: 192.168.250.42:9999:
2024-09-06 13:06:10.162 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:10.827 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.41 data: Unable to connect to the device: 192.168.250.41:9999:
2024-09-06 13:06:11.815 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:06:13.078 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.24 data: Unable to connect to the device: 192.168.250.24:9999:
2024-09-06 13:06:13.117 INFO (MainThread) [backoff] Backing off async_request(...) for 0.6s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.250.33)
2024-09-06 13:06:13.829 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.43 data: Unable to connect to the device: 192.168.250.43:9999:
2024-09-06 13:06:13.864 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.49 data: Unable to connect to the device: 192.168.250.49:9999:
2024-09-06 13:06:13.924 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.13 data: Unable to connect to the device: 192.168.250.13:9999:
2024-09-06 13:06:13.952 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.18 data: Unable to connect to the device: 192.168.250.18:9999:
2024-09-06 13:06:13.953 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.46 data: Unable to connect to the device: 192.168.250.46:9999:
2024-09-06 13:06:13.984 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.10 data: Unable to connect to the device: 192.168.250.10:9999:
2024-09-06 13:06:13.986 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.11 data: Unable to connect to the device: 192.168.250.11:9999:
2024-09-06 13:06:14.012 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.12 data: Unable to connect to the device: 192.168.250.12:9999:
2024-09-06 13:06:14.015 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.28 data: Unable to connect to the device: 192.168.250.28:9999:
2024-09-06 13:06:14.043 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.1.248 data: Unable to connect to the device: 192.168.1.248:9999:
2024-09-06 13:06:14.152 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.45 data: Unable to connect to the device: 192.168.250.45:9999:
2024-09-06 13:06:14.262 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.29 data: Unable to connect to the device: 192.168.250.29:9999:
2024-09-06 13:06:14.264 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.40 data: Unable to connect to the device: 192.168.250.40:9999:
2024-09-06 13:06:14.689 INFO (MainThread) [backoff] Backing off async_request(...) for 0.9s (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.250.33)
2024-09-06 13:06:14.827 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.21 data: Unable to connect to the device: 192.168.250.21:9999:
2024-09-06 13:06:15.134 ERROR (MainThread) [homeassistant.components.roborock.coordinator] Error fetching roborock data: id=25010 Timeout after 4 seconds
2024-09-06 13:06:15.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:15.271 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.20 data: Unable to connect to the device: 192.168.250.20:9999:
2024-09-06 13:06:16.562 ERROR (MainThread) [backoff] Giving up async_request(...) after 3 tries (tesla_wall_connector.exceptions.WallConnectorConnectionTimeoutError: Timeout while connecting to Wall Connector at 192.168.250.33)
2024-09-06 13:06:16.563 ERROR (MainThread) [homeassistant.components.tesla_wall_connector] Error fetching tesla-wallconnector data: Could not fetch data from Tesla WallConnector at 192.168.250.33: Timeout
2024-09-06 13:06:18.969 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.43 data recovered
2024-09-06 13:06:19.013 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.49 data recovered
2024-09-06 13:06:19.103 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.11 data recovered
2024-09-06 13:06:19.237 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.10 data recovered
2024-09-06 13:06:19.389 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.46 data recovered
2024-09-06 13:06:19.397 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.18 data recovered
2024-09-06 13:06:19.416 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.40 data recovered
2024-09-06 13:06:19.425 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.1.248 data recovered
2024-09-06 13:06:19.531 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.45 data recovered
2024-09-06 13:06:19.662 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.29 data recovered
2024-09-06 13:06:19.896 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.21 data recovered
2024-09-06 13:06:19.921 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.41 data recovered
2024-09-06 13:06:20.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:20.307 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.20 data recovered
2024-09-06 13:06:20.686 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.13 data recovered
2024-09-06 13:06:20.787 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.28 data recovered
2024-09-06 13:06:24.675 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.42 data recovered
2024-09-06 13:06:25.161 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:26.478 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.12 data recovered
2024-09-06 13:06:30.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:31.134 WARNING (MainThread) [aioesphomeapi.connection] blep-butler @ 192.168.250.207: Connection error occurred: blep-butler @ 192.168.250.207: EOF received
2024-09-06 13:06:31.134 INFO (MainThread) [aioesphomeapi.reconnect_logic] Processing unexpected disconnect from ESPHome API for blep-butler @ 192.168.250.207
2024-09-06 13:06:31.215 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to blep-butler @ 192.168.250.207 in 0.080s
2024-09-06 13:06:31.319 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successful handshake with blep-butler @ 192.168.250.207 in 0.104s
2024-09-06 13:06:35.162 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:37.670 WARNING (MainThread) [aioesphomeapi.connection] sensor-presence-ghardoo @ 192.168.250.211: Connection error occurred: sensor-presence-ghardoo @ 192.168.250.211: EOF received
2024-09-06 13:06:37.671 INFO (MainThread) [aioesphomeapi.reconnect_logic] Processing unexpected disconnect from ESPHome API for sensor-presence-ghardoo @ 192.168.250.211
2024-09-06 13:06:37.683 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to sensor-presence-ghardoo @ 192.168.250.211 in 0.010s
2024-09-06 13:06:37.766 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successful handshake with sensor-presence-ghardoo @ 192.168.250.211 in 0.083s
2024-09-06 13:06:40.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:45.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:45.437 INFO (MainThread) [homeassistant.components.roborock.coordinator] Fetching roborock data recovered
2024-09-06 13:06:46.171 INFO (MainThread) [homeassistant.components.tesla_wall_connector] Fetching tesla-wallconnector data recovered
2024-09-06 13:06:50.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:06:52.281 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.24 data recovered
2024-09-06 13:06:55.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:00.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:05.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:08.678 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.250.42 data: Unable to connect to the device: 192.168.250.42:9999:
2024-09-06 13:07:10.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:11.719 ERROR (MainThread) [custom_components.blueiris.api.blue_iris_api] Failed to connect http://watchman.esco.ghaar:8081/json, Error: Cannot connect to host watchman.esco.ghaar:8081 ssl:False [Connect call failed ('192.168.100.19', 8081)], Line: 84
2024-09-06 13:07:15.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:20.163 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:20.898 INFO (MainThread) [homeassistant.components.tplink.coordinator] Fetching 192.168.250.42 data recovered
2024-09-06 13:07:21.817 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.birdseye] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://frigate.esco.ghaar:8554/birdseye)
2024-09-06 13:07:25.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:30.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:35.164 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:40.160 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://frigate.esco.ghaar:5000/api/stats: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
2024-09-06 13:07:40.781 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1073, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 104, in start_connection
raise first_exception
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 81, in start_connection
sock = await _connect_sock(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 166, in _connect_sock
await loop.sock_connect(sock, address)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 681, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.100.22', 5000)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 462, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 813, in get
return await self.handle(request, camera)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 831, in handle
image = await _async_get_image(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 185, in _async_get_image
else await camera.async_camera_image(width=width, height=height)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/frigate/camera.py", line 460, in async_camera_image
response = await websession.get(image_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 657, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 564, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 975, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1350, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1319, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1088, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host frigate.esco.ghaar:5000 ssl:default [Connect call failed ('192.168.100.22', 5000)]
The text was updated successfully, but these errors were encountered:
@igiannakas Many thanks for taking the time to review the logs to provide a way forward. I only have 1 frigate client instance (frigate_pve_vm) - which per frigate-card's documentation isn't necessary to enter in the case of a single client. That said, adding client instance leads to the same error message.
As next step, I'll remove frigate containers/instance, re-create it (w/ same configuration), and try a re-import into HA. Please do grant me until Sept 22 to report on progress.
Version of the custom_component
Frigate: 0.14.1-f4f3cfa
Frigate IP: 192.168.100.22
HTTPS: Yes. https://frigate.esco.ghaar:8971
HomeAssistant Core: 2024.9.1
HA Supervisor: 2024.08.0
HA OS: 13.1
HA Frontend: 20240906.0
HA IP: 192.168.0.58
HTTPS: Yes. https://homeassistant.esco.ghaar
HA HACS Frigate Integration: v5.4.0
Frigate Configuration
Describe the bug
Frigate runs in a docker container on a machine separate to HA. Both have
http
(5000
and8123
respectively) andhttps
enabled. HA gets served fromhttps
link.http
links for HA get redirected tohttps
via localnginx
.Frigate access via allowed network'ed computer ✅
HA access via allowed network'ed computer ✅
HA's access to Frigate instance (via HA Terminal) ✅
HA Frigate integration correctly shows all cameras and relevant metrics ✅
But, when viewing any camera's streaming (either via "Visit this camera" option in HA or via
frigate-hass-card
) for cameras other thanbirdseye
results in redirection tohttp://frigate.esco.ghaar:5000
. Debug log indicate:5000/api/stats
is not accesible. But, curl commands above demonstrate that the address is reachable.This results in
custom: frigate-card
being unable to show camera views.If I were to hazard a guess, then
ssl:default
may be an issue. If ssl can be set tofalse
, then perhaps it may work?Debug log
The text was updated successfully, but these errors were encountered: