API Error: Unexpected token 'I', "Internal S"... is not valid JSON #3311
-
DescriptionI'm not sure what I'm doing wrong, hoping someone can clue me in, but my implementation of the Pi-Hole widget is not working. All I get is an I am able to connect to the URL from the {
"domains_being_blocked": 164561,
"dns_queries_today": 136634,
"ads_blocked_today": 23172,
"ads_percentage_today": 16.959175,
"unique_domains": 10512,
"queries_forwarded": 37892,
"queries_cached": 74064,
"clients_ever_seen": 33,
"unique_clients": 33,
"dns_queries_all_types": 136634,
"reply_UNKNOWN": 2161,
"reply_NODATA": 13386,
"reply_NXDOMAIN": 9911,
"reply_CNAME": 16115,
"reply_IP": 85407,
"reply_DOMAIN": 8025,
"reply_RRNAME": 13,
"reply_SERVFAIL": 1430,
"reply_REFUSED": 0,
"reply_NOTIMP": 0,
"reply_OTHER": 0,
"reply_DNSSEC": 7,
"reply_NONE": 0,
"reply_BLOB": 179,
"dns_queries_all_replies": 136634,
"privacy_level": 0,
"status": "enabled",
"gravity_last_updated": {
"file_exists": true,
"absolute": 1713094384,
"relative": {
"days": 2,
"hours": 10,
"minutes": 16
}
}
} This is the section of my - PiHole:
icon: pi-hole.png
href: http://pihole.myinternal.domain.com/admin/login.php
description: DNS Blackhole Utility
widget:
type: pihole
url: pihole.myinternal.domain.com
version: 5
key: API_KEY Thanks for the help! homepage version0.8.11 Installation methodDocker ConfigurationNo response Container LogsNo response Browser LogsNo response Troubleshooting
[] |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
I'm also able to query the endpoint from the
{"domains_being_blocked":"164,561","dns_queries_today":"137,535","ads_blocked_today":"23,271","ads_percentage_today":"16.9","unique_domains":"10,609","queries_forwarded":"38,277","queries_cached":"74,486","clients_ever_seen":"33","unique_clients":"33","dns_queries_all_types":"137,535","reply_UNKNOWN":"2,164","reply_NODATA":"13,472","reply_NXDOMAIN":"9,946","reply_CNAME":"16,350","reply_IP":"85,883","reply_DOMAIN":"8,082","reply_RRNAME":"13","reply_SERVFAIL":"1,438","reply_REFUSED":"0","reply_NOTIMP":"0","reply_OTHER":"0","reply_DNSSEC":"7","reply_NONE":"0","reply_BLOB":"180","dns_queries_all_replies":"137,535","privacy_level":"0","status":"enabled","gravity_last_updated":{"file_exists":true,"absolute":1713094384,"relative":{"days":2,"hours":10,"minutes":42}}} This, to me, seems to suggest something wrong with either Homepage, or the widget. |
Beta Was this translation helpful? Give feedback.
-
Where's the bot when you need it. The widget isnt broken, there are similar issues if you search. Try |
Beta Was this translation helpful? Give feedback.
-
Please open an issue for this, indeed for a change theres a real bug, ha. |
Beta Was this translation helpful? Give feedback.
-
try adding the headers Host
|
Beta Was this translation helpful? Give feedback.
-
No, this was #3313 |
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.
No, this was #3313