friimaind / pi-hole-droid

Pi-hole Droid is an unofficial app that connects to your Pi-hole to show charts and statistics.
Apache License 2.0
127 stars 16 forks source link

pi-hole droid won't connect from external through apache reverse proxy #17

Open JZXPacky opened 7 years ago

JZXPacky commented 7 years ago

Hi,

I've got Pi-Hole up and running at home and installed the android app here to connect to my setup. I've entered the api key but am not getting any connection, just a constant spinning arrow in each box.

I'm running through an apache reverse proxy and can access externally through the web interface (www.domain.com/pihole) but the app never pulls any information. I have also tried on the internal network with the default path, bypassing the reverse proxy, but no luck either.

Not sure if it has any relevance but my Pi-Hole installation never generates a QR code for the API, I had to manually get it from the setupVars.conf file.

Cheers, Luke.

JZXPacky commented 7 years ago

Has this project been abandoned now?

friimaind commented 7 years ago

Sorry for the delay. Unfortunately the block in the playstore was a tough hit, https://discourse.pi-hole.net/t/pi-hole-eupl-license-question/2915/9

I was thinking of releasing apk via fdroid but there's no news since 6 months ago https://gitlab.com/fdroid/rfp/issues/48 because the app is developed with Cordova framework and F-droid is still unable to package it.

I'm sorry but I have suspended the development until I have at least one of these two channels available.

micressor commented 5 years ago

@JZXPacky: Pi-Hole has a hardcoded /admin/ path. So you can't change it by proxy. I used my own domain (pihole.domain.tld) and used the following proxy configuration with the docker image:

<Location />
  Require all granted
  ProxyPass http://localhost:port/
  ProxyPassReverse http://localhost:port/
</Location>

That works for me.