"Unable to Connect to Frigate" when installing Frigate Integration

I get the same error when trying to add the integration after installing via HACS and restarting.

I can’t figure out what is wrong, and am starting to think it’s not me.

Are you running Frigate in a supervised version of HA or separately in a docker container? If the latter you have the wrong URL

I think I am in supervised version. I had the frigate integration working before upgrades to both HA and Frigate.

Resolved. Reloaded

Would you mind sharing how you resolved it? Reload what? HomeAssistant?. Did not work out for me. Same “Failed to connect” redish message.

Install frigate NVR and not Frigate NVR (full access). Restart Frigate and then all works

I had the same “Failed to Connect” problem and switching from "Frigate NVR (full access) to “Frigate NVR” fixed the issue. I’m running Home Assistant Supervised on a Pi 4 with Pi operating system.

Someone found any solution for this issue?

I facing same issue here

Solved. Each host-name is diferent. Each one has to use his/her own hostname. Host-name can be finded on configuration > supervisor > FrigateNVR, just above of “CPU usage”.
Then you have to chage the “http://ccab4aaf-frigate:5000/” for “http://YOUR-HOST-NAME:5000/” and it’s done.

Good luck everybody

4 Likes

worked, thanks!

I had the same problem.

SOLVED by removing “Frigate NVR (full access)” and then installing “Frigate NVR”

Have the same issue and I am kinda puzzled here.
I don’t have the menu point “configuration” in the menu of HA like @jordi.palomares.f implied. I have the supervisor in the “Devices & Services” menu but no such entry as host-name.
How Can I switch from “Frigate NVR (full access)” and then installing “Frigate NVR” like @jeffconnor proposed? I installed “Frigate” over HACS. There is not even an option with NVR there.

“Frigate NVR” and “Frigate NVR (Full Access)” is in the add-on store, not HACS (these are different things).

Hi,

I joined this topic because i have the same problem, used to have my frigate ( another machine in docker ) in my HAOS ( rasbpi ) but don’t want connect anymore

my rasbpi is 192.168.0.10 and my host with docker is 192.168.0.6
frigate proxy configured with 192.168.0.6:5000 is working well

but the frigate integration refuse to connect :

http://192.168.0.6:5000/api/stats: 500, message=‘INTERNAL SERVER ERROR’, url=URL(‘http://192.168.0.6:5000/api/stats’)

Is there a way to tell frigate bottle detections?!

I have a coral on it…

Anyone solved that?
I have frigate on docker on QNAP and HA as a virtual machine on it (same hardware, different IPs).
I have coral being utilized by QNAP, so docker for frigate is preferred (coral on same host, utilized by several apps).
Frigate is running well and I can access it from browser on qnap_ip:5000 but when trying to run the integration I get FAILED TO CONNECT error.
I am suspecting this has something to do with my nginx proxy configuration or network configuration for docker and vms but it looks like the communication between qnap and HA vm working well.
anyone solved that?

Problem solved, if you running frigate NVR, your host name will be something like “http://ccab4aaf-frigate:5000" but if you running frigate Full-Access, you need to put a “-fa” in the end of hostname, for example “http://ccab4aaf-frigate-fa:5000"… this is why works when people change to Frigate NVR.

2 Likes

It is possible to run frigte server on one home assistant os, and then using fregate integration on another home assistant os?

I succesfuly configured frigate server and integration on same host.

Then I installed frigate proxy addon on another and I added ip-frigate-server:5000 in configuration and when I start proxy and try to connect http://ip-frigate-proxy:5000 I get 403 Forbidden.
error log:

[error] 352#352: *4 access forbidden by rule, client: 192.168.2.254, server: ccab4aaf-frigate-proxy, request: "GET / HTTP/1.1", host: "192.168.2.200:5000"

yes this is possible, but you should not point the integration at the frigate proxy but instead the ip:port of the device running frigate itself

I try to put http://ip-frigate-server:5000 in frigate integration on another ha os host, but I get error Failed to connect.

Error in log:

Error fetching information from http://frigate:5000/api/stats: Cannot connect to host frigate:5000 ssl:default [Name does not resolve]
Error fetching information from https://192.168.200.198:5000/api/stats: Cannot connect to host 192.168.200.198:5000 ssl:default [[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007)]
Error fetching information from http://192.168.2.200:5000/api/stats: 403, message='Forbidden', url=URL('http://192.168.2.200:5000/api/stats')
Error fetching information from http://localhost:5000/api/stats: 403, message='Forbidden', url=URL('http://localhost:5000/api/stats')
Error fetching information from http://192.168.200.198:5000/api/stats: Cannot connect to host 192.168.200.198:5000 ssl:default [Connect call failed ('192.168.200.198', 5000)]