-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Bug] Portainer not connecting with "list index out of range;" error #17
Comments
check your ha log for errors |
Logger: homeassistant.config_entries Config entry 'Portainer' for portainer integration not ready yet: list index out of range; Retrying in background |
is that only error message? |
Thanks for the help, here is the log file once i enabled debug. |
Hmm, I can see integration itself is gathering data correctly, but there are bunch of crashes related to different integrations and such. |
The other integrations are expected, I was just trying some things out, I removed them so here is another log file, i tried completely removing and re-adding the plugin but still doesnt work |
I see, you are not running it on docker, seems to be kubernates? |
I had the same error when I had two environments in Portainer, one being a swarm externally (which actually was empty). Removing this environment, the integration started working fine for the local one. Thanks! |
yea, its could be the same issue. but its better to open issue when you have some problem like that. |
Understood - it was a half finished config from a failed experiment, so was meaning to delete and just saw this same error before I did. Thought it may help if @alanrenouf has any empty or failing environments |
Thanks @gapthorpe appreciate the information, I only have 1 environment but this definitely looks like some response the API is giving that the code isn't expecting. @tomaae is there any way to enable debug on the GET requests? |
yes, but that is not your issue. |
@tomaae Probably best to follow something like this for a quick start: https://yashsrivastav.hashnode.dev/getting-started-with-portainer-using-kind |
Anything I can do to help with this one? |
not really, I just have very little time right now due to family issues. |
I have several different Kubernetes environments in my Portainer instance and I'm available for testing. |
Another with this issue. I'm running Kubernetes via microk8s on Ubuntu (Jammy)...this should be probably one of the easiest environments to build a test VM for. Install Jammy, install microk8s (via snap) and then install the portainer add-on with |
@tomaae you can setup k3s on a raspberry pi for testing this, i am also available to help if needed. let me know. thanks. |
I have the same issue, i have a Portainer instance with a 9 node MicroK8s cluster and an additional 3 docker hosts and i receive this same error. happy to be a tester for any code changes |
Ran into the same issue when trying to set this up in HA. Have a docker setup in portainer, along with a k3s cluster. |
Setup the HACS integration and registered my portainer but get the following error:
The text was updated successfully, but these errors were encountered: