sterrenb / flutterhole

A third party Android application for the Pi-Holeยฎ dashboard.
https://play.google.com/store/apps/details?id=sterrenburg.github.flutterhole
MIT License
400 stars 27 forks source link

Show all clients (i.e. not only the top 10) #102

Closed nine76evil closed 2 years ago

nine76evil commented 4 years ago

Hello,

Love your app flutterhole and have a question regarding my VPN mullvad on Android. I have local traffic enabled but for some reason it blocks Flutterhole app but not anything else. Do you know how I can resolve this issue?

Thanks!

sterrenb commented 4 years ago

Hello @nine76evil ๐Ÿ‘‹ - Thanks for opening an issue!

I have heard from other users that they have issues with VPNs and SSL (perhaps #84 is similar).

Could you take a look at the API log page? Here you can see API requests from the app to your Pi-hole. You should see some requests with e.g. ?summaryRaw= which returns a 200 OK. If we can find out what requests are failing (e.g. timing out or returning a DNS error), we can take it from there.

nine76evil commented 4 years ago

This was my mistake from not entering the local IP. It's weird cause the laptop browser can find it using the domain name.

Sent from ProtonMail mobile

-------- Original Message -------- On Jun 16, 2020, 7:08 AM, Thomas wrote:

Hello @nine76evil ๐Ÿ‘‹ - Thanks for opening an issue!

I have heard from other users that they have issues with VPNs and SSL (perhaps #84 is similar).

Could you take a look at the API log page? Here you can see API requests from the app to your Pi-hole. You should see some requests with e.g. ?summaryRaw= which returns a 200 OK. If we can find out what requests are failing (e.g. timing out or returning a DNS error), we can take it from there.

โ€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

nine76evil commented 4 years ago

Anyway to get the app to show all active connections? Right now it only shows up to 10 with one being localhost?

Thanks

Sent from ProtonMail mobile

-------- Original Message -------- On Jun 16, 2020, 7:08 AM, Thomas wrote:

Hello @nine76evil ๐Ÿ‘‹ - Thanks for opening an issue!

I have heard from other users that they have issues with VPNs and SSL (perhaps #84 is similar).

Could you take a look at the API log page? Here you can see API requests from the app to your Pi-hole. You should see some requests with e.g. ?summaryRaw= which returns a 200 OK. If we can find out what requests are failing (e.g. timing out or returning a DNS error), we can take it from there.

โ€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

sterrenb commented 4 years ago

This was my mistake from not entering the local IP. It's weird cause the laptop browser can find it using the domain name.

Glad to hear it! This happens to other people, including myself sometimes. I believe the phone's DNS service struggles to resolve pi.hole, you could always add it to your hosts file.

Anyway to get the app to show all active connections? Right now it only shows up to 10 with one being localhost?

What do you mean exactly by "active connections"? If you mean multiple Pi-holes, you should be able to add multiple.

nine76evil commented 4 years ago

No not multiple pi-holes..I have one Pi-Hole and like 20 connected devices but the app only shows 10 devices. I think maybe it's because the default on the web page is 10 with multiple pages. But there's no change to show all or next page option.

Sent from ProtonMail mobile

-------- Original Message -------- On Jun 21, 2020, 6:12 AM, Thomas wrote:

This was my mistake from not entering the local IP. It's weird cause the laptop browser can find it using the domain name.

Glad to hear it! This happens to other people, including myself sometimes. I believe the phone's DNS service struggles to resolve pi.hole, you could always add it to your hosts file.

Anyway to get the app to show all active connections? Right now it only shows up to 10 with one being localhost?

What do you mean exactly by "active connections"? If you mean multiple Pi-holes, you should be able to add multiple.

โ€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

sterrenb commented 4 years ago

No not multiple pi-holes..I have one Pi-Hole and like 20 connected devices but the app only shows 10 devices. I think maybe it's because the default on the web page is 10 with multiple pages. But there's no change to show all or next page option.

I think I know what you mean. Currently, the 10 clients are obtained using the Pi-hole API ast the topClients endpoint. I believe this only returns up to 10 clients. I am not sure if it is possible to obtain all clients.

Could you check out the output from the following URL in your browser (adjust as needed):

// {{ base_url  }}?topClients&auth={{ auth  }}
http://pi.hole/admin/api.php?topClients&auth=MY_TOKEN

You should get a list, mine is at most 10 items long. Could you share your results?