DescriptionI have Homepage installed within a docker container which is hosted on a Proxmox VM. I have a separate Proxmox VM where a Caddy reverse proxy is set up, through which I access my services. All my other widgets work fine, but for some reason I can't get Proxmox widget to work. Browser shows error "API Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data" homepage versionv0.8.10 Installation methodDocker Configuration- Proxmox:
href: https://<ip>:8006
icon: proxmox.png
widget:
type: proxmox
url: https://<ip>:8006
username: <username>
password: <secret>Container LogsBrowser LogsNo response TroubleshootingI have run below curl command from within Homepage docker container and receive a correct response The same curl command works fine from my Docker host VM and Caddy host VM as well. |
Replies: 13 comments 12 replies
|
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 information provided, it seems that the Proxmox widget is not able to parse the JSON data correctly, which is resulting in the "API Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data" error message. This could be due to a few reasons:
To further troubleshoot the issue, you can:
If you continue to experience issues, you may want to consult the Homepage documentation, the troubleshooting guide, or seek assistance from the Homepage community on GitHub or Discord. This comment was generated by Glime. |
Yeah I followed that correctly.
Sadly no. I’ve had this issue for a while now. I didn’t bother with it much since I don’t have a real need of the widget. But it would be great to have it working. |
|
I too had this issue and kept trying different things. |
|
None of the above work, was working fine before upgrading Proxmox to 8.2.4 so my guess it's related to an API change on Proxmox side. No solution yet. |
|
Not working with Proxmox VE cluster right ? |
|
I too am still struggling with this and cannot for the life of me figure it out. One thing i noted was the test with CURL gave me an SSL warning (using the default self-signed cert on proxmox). On a whim figured i'd try importing the two certs (private and ca) for proxmox to the server which is running homepage. No longer get a warning in CURL at least, but still get the API error in homepage! |
|
Not sure if this helps, but I have 2 server entries in a row, both with the same name. I do the homepage widget with one, and glances widget charts with the other. The first (top entry) always works, and the 2nd always fails. The order doesn't matter. It seems like you cannot have more than 1 Server: name the same ... cannot be duplicated. Just throwing it out there. I tried making more than one widget per entry, but that doesn't seem to be supported, not sure though, I ain't the best yaml/homepage person around. |
|
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
|
I faced the same error message The Proxmox API key is configured following the widget manual https://gethomepage.dev/widgets/services/proxmox/ |
|
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. |







Not sure if this helps, but I have 2 server entries in a row, both with the same name. I do the homepage widget with one, and glances widget charts with the other. The first (top entry) always works, and the 2nd always fails. The order doesn't matter. It seems like you cannot have more than 1 Server: name the same ... cannot be duplicated. Just throwing it out there. I tried making more than one widget per entry, but that doesn't seem to be supported, not sure though, I ain't the best yaml/homepage person around.