[BUG] expects XML but getting JSON
Environment
Self-Hosted (Bare Metal)
System
kubuntu firefox (Dashy is in Proxmox container)
Version
3.1.1
Describe the problem
I am using the Dashy LXC container from community-scripts.github.io. I also have a HealthCheck local instance. I am adding a widget and getting "An error occurred, see the logs for more info. Unable to fetch data"" Firefox console shows: XML Parsing Error: not well-formed Location: http://192.168.99.49:4000/status-check/?&url=http%3A%2F%2F192.168.99.19&enableInsecure=true Line Number 1, Column 1: When I curl (from dashy) I get: curl "http://192.168.99.49:4000/status-check/?&url=http%3A%2F%2F192.168.99.19&enableInsecure=true" {"statusCode":200,"statusText":"OK","serverName":false,"successStatus":true,"timeTaken":9,"message":"✅ Server responded with 200 - OK. \n⏱️Took 9 ms"}
Yes, I have a read-only api key. Here's config: { "type": "HealthChecks", "options": { "host": "https://192.168.99.19/", "apiKey": "hcr....." },
Additional info
No response
Please tick the boxes
- [x] You have explained the issue clearly, and included all relevant info
- [x] You are using a supported version of Dashy
- [x] You've checked that this issue hasn't already been raised
- [x] You've checked the docs and troubleshooting guide
- [x] You agree to the code of conduct