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

Oneplus 7T android 10 #88

Closed Ryanh85 closed 4 years ago

Ryanh85 commented 4 years ago

Describe the bug Running FlutterHole 5.0.125 on both Oneplus 7T Oxygen OS10.0.9.HD65AA and Fire HD 8 with Fire OS 5.6.6.0. Flutterhole works perfectly on Fire HD, but on Oneplus all i get are fetching host status failed. The myPiHoles options are set up the same on both devices

To Reproduce Steps to reproduce the behavior:

  1. Open App
  2. See error "Failure (message: pingPihole failed, error: PIExeption.malformedResponse(error:DioError[DioErrorType.DEFAULT]: SocketExeption: Failed Host Lookup: 'pi.hole' (OS Error: noaddress associated with Hostname, errno = 7)))

Expected behavior Expect to see pihole on Oneplus 7T

Screenshots If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

Additional context Add any other context about the problem here.

Ryanh85 commented 4 years ago

OnePlus 7t Screenshot_20200522-133013

Fire HD IMG_20200522_133159

sterrenb commented 4 years ago

Hello @Ryanh85 👋 - Thanks for opening an issue!

Sorry to hear that. This sounds similar to #86, I will give you the same tips to start off with:

Apart from that, do you know what Android version your OS (Oxygen OS10.0.9) runs on? I noticed that some Android 8.0/8.1 phones have been crashing according to the Google Play dashboard. Might be unrelated, but worth a check.

Ryanh85 commented 4 years ago

1) cleaned app data/cache. Deleted app, reinstalled and still errors 2) reload and still errors 3) deleting And still errors 4)192.168.1.12 as IP still errors 5) Screenshot_20200522-142301 Screenshot_20200522-142306 Screenshot_20200522-142315 Screenshot_20200522-142320

sterrenb commented 4 years ago

Thank you for the info.

In the final screenshot, the Alice Error tab, the error states Failed host lookup: 'pi.hole' ... No address associated with hostname .... This happens to me when the device cannot resolve pi.hole to the IP on my local network via DNS. Every now and again, either my Pi-hole or my device seems to forget the IP of the pi.hole domain.

Could you share your logs for requests that show the Pi-hole IP in the Request error tab after "Server:"? If those requests fail as well, I assume they have another kind of error under the Alice Error tab.

Ryanh85 commented 4 years ago

So confused. Opened flutterhole to this screen today. Screenshot_20200523-080208

So I deleted all mypihole and reloaded. Changed to IP and now it works.

Screenshot_20200523-080539

No idea what I different.

sterrenb commented 4 years ago

So confused. Opened flutterhole to this screen today.

Interesting, looks like the Alice service gets passed an error that is null... Not sure how that happens, but glad it works again.

Will look into better error management, the newest beta builds should have more verbose errors too.