streamdeck-pihole icon indicating copy to clipboard operation
streamdeck-pihole copied to clipboard

Can't control PiHole using IP

Open morficus opened this issue 10 months ago • 7 comments

Hello there! I've been using this plugin since May with no issues until about a week ago or so.

I recently noticed the ⚠️ would appear on the PiHole buttons for a few seconds, then disappear. After a bit of experimentation... I was able to fix it by configuring the plugin to use the DNS name rather than the IP (which is how it was set up since May).

This seems to be a similar issue reported in this comment, which is where I got the idea of trying the hostname.

System details:

  • MacOS 13.4.1(c)
  • Stream Deck firmware 1.01.000
  • Pi-hole v5.17.1
  • Yes, I can access the PiHole using the IP address from the host machine

morficus avatar Aug 23 '23 02:08 morficus

I am also having this issue. Windows 10 - 22H2 Firmware: 1.30 Pihole - 5.17.1

warinthestars avatar Aug 31 '23 12:08 warinthestars

I too ran into this. Out of a hunch I checked the source code, and it didn't look like anything strange was occurring.

What I observed was that changing from ip to host fixed the issue, but subsequently changing BACK to the IP doesn't seem to have reintroduced the issue. I suspect that #9 may have introduced an upgrade bug where the new protocol setting had no value for older installations (this lines up with your timing!), and the act of changing anything got it populated so it could make correct requests again.

If you've run into this and have not yet tried changing the settings, making a copy of your stream deck config and showing the section that has the config for this plugin may confirm (or refute) this theory. My guess is before making a change the protocol setting won't be there at all, and any change will get it filled in and fix the issue.

Firehed avatar Sep 21 '23 21:09 Firehed

No amount of changing anything fixed this for me. I even uninstalled and reinstalled the plugin. It would show the alert icon, which would disappear, but then the button would do nothing at all - the state of the blocking always remained enabled in my Pihole.

Shame, cos it was quite useful.

recrudesce avatar Oct 03 '23 23:10 recrudesce

I am seeing the same issue.

Could this be related to the situation where (after a recent Pi-hole update) simply typing the IP address into a browser returns a '403 Forbidden'?

To get Pi-hole to open in a browser now you have to use 'http://ip/admin'

See: https://pi-hole.net/blog/2023/01/15/pi-hole-ftl-v5-20-1-web-v5-18-1-and-core-v5-15-released/#page-content

gbutts avatar Oct 09 '23 23:10 gbutts

I am seeing the same issue.

Is there already a solution?

I can only open my pihole via http://IP/admin/

Webranger2 avatar Oct 30 '23 19:10 Webranger2

I was also experiencing this issue. By removing http:// from before the IP it worked for me

benjisoft avatar Jan 22 '24 17:01 benjisoft

For me neither IP Address nor Hostname worked....

But for me it worked to just use "pi.hole:8081"

s1nfin avatar Mar 15 '24 10:03 s1nfin