flutterhole icon indicating copy to clipboard operation
flutterhole copied to clipboard

Query Log not loading

Open gorillap opened this issue 4 years ago • 13 comments

Query log not loading. Occasionally will load, but rarely. Looking at log, it calls on the Admin/api.php but loads 0B each time. There appears to be an inconvenient workaround for this by changing to results from the default 100 to 10. This is occuring on my phone and tablet. Screenshot_20210102-030509 Uploaded log here Log

gorillap avatar Jan 02 '21 09:01 gorillap

I'm also seeing this on my phone. If additional logs would help just let me know.

INeedCaffeine avatar Jan 16 '21 22:01 INeedCaffeine

Same issue pihole 5.2.4 and flutterhole 5.2.3

mellingham avatar Jan 24 '21 19:01 mellingham

This might be due to a change in the Pi-hole API, since it works locally on Pi-hole v5.1.1. Idea for now: look into API compatibility for the most recent Pi-hole web (currently v5.3.2).

sterrenb avatar Jan 31 '21 15:01 sterrenb

I am currently using the latest version of PiHole and Flutterhole 5.2.3 The issue appears to be resolved.

gorillap avatar Feb 08 '21 03:02 gorillap

It works for me now on both of my PiHoles as well. I'm running PiHole 5.2.4 and Flutterhole 5.2.3 (build 641)

INeedCaffeine avatar Feb 08 '21 18:02 INeedCaffeine

I'm on latest versions of everything on 2 separate installs of pihole and 5.2.3 of flutterhole and still see this issue

TheBishopOfSoho avatar Feb 20 '21 09:02 TheBishopOfSoho

Still the same issue. I'm on PiHole 5.2.4 and FlutterHole 5.2.3

Walter-Maus avatar Mar 03 '21 18:03 Walter-Maus

This happened twice to me over the past 5 days.

Changing the size to 10 and then back to 100 managed to get it working again.

I checked both of my PiHoles ~5-10 more times after each failure but could not force it to reproduce consistently. I will keep trying to reproduce it now that I have seen it on the latest version of everything.

Both of my PH are running 5.2.4.

INeedCaffeine avatar Mar 03 '21 19:03 INeedCaffeine

Looks like a pagination issue in the client. I noticed the same, can get 10 but no more.

scottpageindysoft avatar Mar 04 '21 19:03 scottpageindysoft

This is continuing for me. Im not seeing a pattern other than it will work normally for a short period, then back to the same issue, but will sometimes work with a maximim of 10.

gorillap avatar Mar 14 '21 00:03 gorillap

Quick update: my guess is that the client struggles with the delayed responses from the Pi-hole. My own Raspberry Pi sadly passed away in 2020, but once I set up a new one with Pi-hole, I will try and work on some bug fixes.

You can locally verify that your Pi-hole properly works by running this in a browser:

// with max value
http://pi.hole/admin/api.php?getAllQueries=5&auth=<token>
// without max value (this could take a while)
http://pi.hole/admin/api.php?getAllQueries&auth=<token>

sterrenb avatar Mar 15 '21 09:03 sterrenb

Are there any updates regarding this issue?

galaxyrun avatar May 03 '21 17:05 galaxyrun

No progress yet! I am hoping that the new API will expose a new query log endpoint with pagination.

sterrenb avatar May 03 '21 18:05 sterrenb