No more iphone notifictions and frigate notifications with 502 error after moving to other server

After, changing over to a new server, which runs HA as Proxmox VM. I experience some problems on the mobile app.

  • I receive only frigate triggered notifications on the iphone. The received image is not visible only an error message referring to:
    response status code was unacceptable 502
    clicking on it does not show any image but a link producing a 404 error.

  • Other “ipcam related” automations, having iphone notifications are not triggered any more. The automation is not run. Although they use the same motion trigger from the ipcam which Frigate uses. If manual triggered they work.

I did not change anything. just used the backup from the old system Rpi4.
What can I do to get this working again? What to look at or change?


somewhere an ip address is wrong most likely, need to check the logs

Ok I did have a look at the log and it was a bit loaded with messages.
I fund out that for some reason this line is the problem:
http://192.168.0.31:8123/api/frigate/notifications/1687931611.610692-idzbsq/snapshot.jpg
502: Bad Gateway

and this is what is in the log file:

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.frigate.api
Source: custom_components/frigate/api.py:51
Integration: Frigate (documentation, issues)
First occurred: 27 juni 2023 om 20:04:35 (642 occurrences)
Last logged: 10:57:07

Error fetching information from http://ccab4aaf-frigate:5000/api/stats: Cannot connect to host ccab4aaf-frigate:5000 ssl:default [Name has no usable address]

So it might be a port 5000 which is not open? Since I run this on Proxmox VM where no firewall is enabled, this must be a HA thing somehow?

@mr_home-assitant Did you figure out how to fix this “502” issue?

I am experiencing the same thing. I used to run HA on a Rasberry Pi 4. I bought a mini pc and now run HA on a KVM virtual machine. The host computer also runs my Frigate docker container. Both the host and guest have different ip address as they did before, but I have made sure to set the ip addresses statically so that they match my earlier set up. Still I experience the same problem as you.

Any thoughts on how to fix this?