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
401 stars 27 forks source link

Since probably yesterday not able to connect #126

Closed baahver closed 3 years ago

baahver commented 3 years ago

Since a short time Flutterhole is not ableto connect to my pi-hole. This is on the home screen: {message: fetchSummary failed with unexpected error, error: Exception: unknown NumString type Null: value

In the API log I see: Alice - HTTP Inspector App name: flutterhole Package: sterrenburg.github.flutterhole Version: v5.2.3 Build number: 641 Generated: 2020-12-24T09:22:25.931282 =========================================== Id: 976452676 ============================================ -------------------------------------------- General data -------------------------------------------- Server: 192.168.188.63 Method: GET Endpoint: /admin/api.php Client: Dio Duration 308 ms Secured connection: false Completed: true -------------------------------------------- Request -------------------------------------------- Request time: 2020-12-24 09:11:50.387195 Request content type: application/json; charset=utf-8 Request cookies: [] Request headers: { "user-agent": "flutterhole" } Request size: 0 B Request body: Body is empty -------------------------------------------- Response -------------------------------------------- Response time: 2020-12-24 09:11:50.695902 Response status: 200 Response size: 39 B Response headers: { "connection": "[Upgrade]", "set-cookie": "[PHPSESSID=4dk4anjgj6g77mpenlrfkpmflp; path=/]", "cache-control": "[no-store, no-cache, must-revalidate]", "date": "[Thu, 24 Dec 2020 08:11:49 GMT]", "content-length": "[42]", "content-type": "[application/json]", "pragma": "[no-cache]", "server": "[Apache/2.4.38 (Raspbian)]", "upgrade": "[h2]", "expires": "[Thu, 19 Nov 1981 08:52:00 GMT]" } Response body: { "status": "disabled", "FTLnotrunning": true } -------------------------------------------- Curl -------------------------------------------- curl -X GET -H 'user-agent: flutterhole' 'http://192.168.188.63/admin/api.php' ==============================================

The API seems correct. The app does not want to validate the earlier validated code. I checkt all the settings and also reconfigured the app, but no solution. Is there a solution for this?

Pi-hole v5.2.1 Web Interface v5.2.1 FTL v5.3.2

Sorry. Although the Pi-Hole seems to work well, I restarted the Pi. After that Flutterhole did work again. So probalbly this was a Pi-Hole issue.