I'm getting "API Error" when running with docker swarm and the container runs in a different server #3410
Replies: 5 comments
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ Based on the provided context and the error logs, it seems that the issue is related to the Docker configuration, specifically with the Docker status and stats services. The error messages indicate that there is a problem with reading properties of Given that the error occurs with containers running on a different Docker node than Homepage, it's possible that the connection to the Docker API on the remote node is not correctly established or that there are network issues preventing proper communication. Here are some steps you can take to troubleshoot the issue:
Remember to check the official Homepage documentation and GitHub repository for any updates or additional troubleshooting tips that might be relevant to your issue. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
I am having the same problem |
Beta Was this translation helpful? Give feedback.
-
I am experiencing the same error also. Docker service discovery works in a swarm (awesome), but docker service stats only work for the node on which Homepage is deployed and display an API error for services deployed on other nodes. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
Description
Everything is running smoothly with homepage, the services are added automatically in the corresponding groups but it displays "API ERROR" on containers that are running on a different docker node than homepage
homepage version
v0.8.12 (12ec1cf, Apr 17, 2024)
Installation method
Docker
Configuration
Container Logs
No response
Browser Logs
No response
Troubleshooting
Beta Was this translation helpful? Give feedback.
All reactions