Flutterhole dashboard unusable with v5.18 of Pihole web interface API
Opened this issue ยท 13 comments
Describe the bug
Flutterhole does not properly use auth on dashboard screen causing it to be unusable.
To Reproduce
Steps to reproduce the behavior:
- Open Dashboard
Expected behavior
Dashboard should load in with data.
Versions:
Additional context
Pihole web v5.18 requires auth on all API endpoints now except for version and type.
PR that caused this change - pi-hole/web#2411
Pihole release - https://github.com/pi-hole/AdminLTE/releases/v5.18
Since upgrading to the Pihole web v5.18, Flutterhole no longer works. Adding auth to the API endpoints that don't have it should fix the issue. Those are status, summary, summaryRaw, overTimeData10mins
Having the same issue
Can confirm
Also confirming
sadly can confirm also.
was working on previous version, then app suggested I upgrade and then after successfully upgrade, app won't validate IP address but will validate API code. :(
Sorry to hear it! I made a quick fix for this on the web
branch, but the branch is not published in the Play Store. It isn't quite stable, but seeing as the Pi-hole API is changing this often I doubt it ever will. I'll see if I can at least publish the web
branch as a beta build for the time being.
In the interim, the following changes restore functionality. Go to your Pi-hole settings and amend the API path in the Host details section. Please note your host address may be different to http://pi.hole
Change
http://pi.hole/admin/api.php?status
to
http://pi.hole/admin/api.php?status&auth=<TOKEN>
You can get the token from Settings/API/Show API token or from /etc/pihole/setupVars.conf (WEBPASSWORD).
Full guide found here: https://pi-hole.net/blog/2022/11/17/upcoming-changes-authentication-for-more-api-endpoints-required/#page-content
In the interim, the following changes restore functionality. Go to your Pi-hole settings and amend the API path in the Host details section. Please note your host address may be different to http://pi.hole
Change
http://pi.hole/admin/api.php?status
to
http://pi.hole/admin/api.php?status&auth=<TOKEN>
You can get the token from Settings/API/Show API token or from /etc/pihole/setupVars.conf (WEBPASSWORD).
Full guide found here: https://pi-hole.net/blog/2022/11/17/upcoming-changes-authentication-for-more-api-endpoints-required/#page-content
Thank you. This workaround works.
This workaround has addressed the dashboard loading but I'm unable to get the query log page. Does that work for anyone else?
This workaround has addressed the dashboard loading but I'm unable to get the query log page. Does that work for anyone else?
I can confirm I'm having the same issue. Anyone got it working?
I've mostly just started going to the web API directly. I haven't had time to attempt to fix.
Same issue here, any updates?
Project seems abandoned, no maintainers. I don't have the time to learn Flutter and fix it :/
But it also seems like they're waiting for the upcoming (3 years later) API changes to get merged, so that falls in line.
pi-hole/FTL#659