Frigate integration, can't connect to my frigate

See original GitHub issue

Hi,

Moved my Ubuntu VM ( wich contain my frigate docker ) , so reconfigure ip of frigate proxy and addon, but now addon refuse to connect 😦 ( proxy is ok )

HAOSS : raspi 192.168.0.10 Frigate : docker on Ubuntu host 192.168.0.6

2022-06-22 22:46:09 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://192.168.0.6:5000/api/stats: 500, message='INTERNAL SERVER ERROR', url=URL('http://192.168.0.6:5000/api/stats')

Frigate is running. Alive and healthy!
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
  • Ping from HAOS to my Ubuntu host witch contain Frigate Docker :
| |  | |                          /\           (_)   | |            | |  
| |__| | ___  _ __ ___   ___     /  \   ___ ___ _ ___| |_ __ _ _ __ | |_ 
|  __  |/ _ \| '_ \ _ \ / _ \   / /\ \ / __/ __| / __| __/ _\ | '_ \| __|
| |  | | (_) | | | | | |  __/  / ____ \\__ \__ \ \__ \ || (_| | | | | |_ 
|_|  |_|\___/|_| |_| |_|\___| /_/    \_\___/___/_|___/\__\__,_|_| |_|\__|

Welcome to the Home Assistant command line.

System information
  IPv4 addresses for eth0:  192.168.0.10/24
  IPv6 addresses for eth0:  2a01:e0a:3c5:8d90:840:e0aa:1de4:39a5/64, fe80::81d7:a7e6:50c8:8f62/64
  IPv4 addresses for wlan0: 

  OS Version:               Home Assistant OS 8.2
  Home Assistant Core:      2022.6.7

  Home Assistant URL:       http://homeassistant.local:8123
  Observer URL:             http://homeassistant.local:4357
➜  ~ ping 192.168.0.6
PING 192.168.0.6 (192.168.0.6): 56 data bytes
64 bytes from 192.168.0.6: seq=0 ttl=64 time=0.799 ms
64 bytes from 192.168.0.6: seq=1 ttl=64 time=0.634 ms
64 bytes from 192.168.0.6: seq=2 ttl=64 time=0.763 ms
64 bytes from 192.168.0.6: seq=3 ttl=64 time=0.631 ms
^C
--- 192.168.0.6 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.631/0.706/0.799 ms
  • Frigate Docker Compose ( changed nothing )
---
version: "3.8"
services:
  frigate:
    container_name: frigate
    privileged: true
    restart: unless-stopped
    image: blakeblackshear/frigate:stable-amd64
    shm_size: "64mb"
    devices:
      - /dev/dri/renderD128
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - $PWD/data/config.yml:/config/config.yml:ro
      - /mnt/drives/docs/_FRIGATE/:/media/frigate
      - $PWD/data/db:/db
      - type: tmpfs
        target: /tmp/cache
        tmpfs:
          size: 2000000000
    ports:
      - "5000:5000"
      - "1935:1935"
    environment:
      - PUID=1005
      - PGID=1007
      - TZ=Europe/Paris
      - FRIGATE_RTSP_PASSWORD= "xxxxx"
  • Telnet from another computer ( 192.168.0.2 ) ‘telnet 192.168.0.6:5000’ connected successfully

  • Proof of the correct IP and frigate running :

image

  • Just tested with blakeblackshear/frigate:0.11.0-beta4 same problem

  • Tested with addon v2.3 & 3.0.0 rc2, same error, I will go crazy ^^

  • Tested from HACS and installed manually, same problem

Any idea ? thanks !

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
pinkfloydFRcommented, Jun 23, 2022

No sorry, i will close this issue as the integration working well with the media folder in local, so this is the real problem, no the integration ! Thanks again

0reactions
pinkfloydFRcommented, Jun 23, 2022

Just a funny fact :

create the docker with : “$PWD/media:/media/frigate:rw” configure the integration kill the docker restart it with “/mnt/drives/docs/_FRIGATE/:/media/frigate:rw”

and all is working again… so strange what the integration check when configure it

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Unable to connect to Frigate" error when adding integration
Issue persists in 1.8. Troubleshooting steps I've tried: Multiple reboots; Check HA and Frigate logs for errors; Verify that sidebar is working ...
Read more >
Trying to install Frigate but get, "Failed to Connect"
I set up MQTT and the broker but when I add the Frigate integration it fails. I'm not sure where I should look...
Read more >
HACS Frigate Install Not Working : r/homeassistant - Reddit
When trying to add the Frigate integration, it times out connecting. There is no sign anywhere in HA that Frigate is running at...
Read more >
Home Assistant Integration - Frigate Docs
The best way to integrate with Home Assistant is to use the official integration.
Read more >
Home Assistant | Anyone else have experience with Frigate
I investigated Frigate on a Pi4 with Coral USB stick; ... Stefano Grigis shared a link to the group: ... 192.168.86.xx Ip range...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found