Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Error 400 when adding Integration #55

Open
BS-Foster opened this issue Jan 13, 2025 · 4 comments
Open

[Question] Error 400 when adding Integration #55

BS-Foster opened this issue Jan 13, 2025 · 4 comments
Labels
question Further information is requested

Comments

@BS-Foster
Copy link

(Fairly new to linux and sell hosting in general)

Proxmox Hypervisor 8.3.2
Home Assistant OS 2025.1.2 VM
Portainer 2.21.5 in docker VM

I've had this integration running for some time now and noticed one day my Home Assistant Portainer integration is giving me unknown entities. I removed the integration and tried to readd it. Not sure if this is/was an error on my part or if this is an issue with my Portainer or Home Assistant instance, but when I try to readd it I keep getting a 400 error. I've done a few things between the time I last saw it was working fine and the time I noticed it wasn't, so I don't really know where to begin.

I saw there were a couple previous issues in githb that are somewhat related to my issue but don't have a solid answer. I've pinged Portainer from Home Assistant and vice versa. From Home Assistant to Portainer the ping says " host is alive!" and from Portainer to Home Assistant is gives me a constant string of pings. I'm also able to access both from my browser. On top of that I have Plex running in the same docker as Portainer and I'm able to connect Plex to Home Assistant just fine (not sure if the is related or gives and insight).

The only thing I can add that I know I did for sure between the time it was working and wasn't is, I added 2 Proxmox Helper-scripts. I've since removed them to make sure they weren't a variable but unsure if they would've messed with network config of any sort under the hood in unaware of, but that's unrelated to this forum so I only include it to give a better idea.

This isn't a major problem as everything else seems to be working. I would just like to make sure it won't cause and future problems. I greatly appreciate any input! If you need any other info just ask.

@BS-Foster BS-Foster added the question Further information is requested label Jan 13, 2025
@Technology89
Copy link

Technology89 commented Jan 23, 2025

Seems like i got a simular issue. Just noticed that all my containers are shown unavailable. Deleted the integration and tried to add my portainer again. Generated new token and tried to add it and get "No response from host." as error instantly. Ping both sides work perfectly fine, and also see the 443 packages in the firewall. Can't see any issue with the network.

Maybe some of the latest Home Assistant updates broke the integration?

@BS-Foster
Copy link
Author

I thought the same thing and rolled back Home Assistant with a back up I had. Can't remember the version I rolled it back to but it didn't help. Pretty sure Portainer was on the same version I have it on now when it was working.

@mjleonides
Copy link

mjleonides commented Jan 29, 2025

Portainer Integration v1.0.2
Home Assistant Core 2025.1.3 in Docker
Portainer CE 2.21.5 in Docker

Having exact same issue. Using Host: host-ip:9443, API Key, Use SLL: False, Verify SSL: True when adding the integration in HA results in a 400 error.

@mjleonides
Copy link

Portainer Integration v1.0.2 Home Assistant Core 2025.1.3 in Docker Portainer CE 2.21.5 in Docker

Having exact same issue. Using Host: host-ip:9443, API Key, Use SLL: False, Verify SSL: True when adding the integration in HA results in a 400 error.

Jk got it working using Host: host-ip:9443, API Key, Use SLL: True, Verify SSL: False. My Portainer server is running locally without an SSL cert so that all makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants