#Portainer keeps failing with 'Bad gateway' error

1 messages · Page 1 of 1 (latest)

maiden dune
#

Hello,
Has anyone got the Portainer integration working in 2025.10 update? I'm getting below error:
Failed setup, will retry: An error occurred while trying to connect to the Portainer instance: PortainerConnectionError("Connection error for GET https://192.168.55.99:9443/api/endpoints/6/docker/containers/json?all=1: 502, message='Bad Gateway', url='https://192.168.55.99:9443/api/endpoints/6/docker/containers/json?all=1'")
I've added access token under Admin account and entered 'url' as https://192.168.55.99:9443 with generated access token under 'API token'. Any help would be appreciated!
Thanks!
Portainer integration: https://www.home-assistant.io/integrations/portainer/

Home Assistant

Instructions on how to integrate Portainer with Home Assistant.

maiden dune
#

Anyone got any clue? Thanks!

proven crystal
#

Does https://192.168.55.99:9443/api/endpoints/6/docker/containers/json actually load?

It sounds like there may be an issue with reaching the portainer server from HA.

maiden dune