IngoZenz / personaldnsfilter

See http://www.zenz-solutions.de/personaldnsfilter for details
GNU General Public License v2.0
645 stars 55 forks source link

Constant IO Error when changing networks #97

Open qwerty017 opened 4 years ago

qwerty017 commented 4 years ago

Version: V1504000 When changing networks, usually from WIFI to 4G, my phone starts throwing IO Errors. If I go in and hit the button labeled Restart, it sometimes starts working again, but usually keeps throwing the error. I have to click Close then re-open it for the errors to go away.

image

IngoZenz commented 4 years ago

this is due to broken connections in the connection pool - therer shouldn't be functional impact but I will check in next version

qwerty017 commented 4 years ago

Ok. One thing I didn't put in the initial report was that, while it is doing this, the IO errors, apps lose access to the internet. When it stops, either through a close and reopen or restart, access is allowed again. If I put in a specific DNS to use, such as 8.8.8.8 in the settings, it works fine so I have done that for now. If you want me to test anything or send logs, I'm willing to help out however I can.

IngoZenz commented 4 years ago

Thanks for the update. 192.168.0.217 - is this your routers IP? Does the issue also occur in other networks or only in combination with 192.168.0.217?

Getting the error logs is normal - but it shouldn't block internet access...

IngoZenz commented 4 years ago

it would help if you could test if attached dev version (https://github.com/IngoZenz/personaldnsfilter/commit/cf54b30a3d6bca5a471dc9fbf3a1ae62729873a9) solves the issue for you. dnsfilter-15043-dev.zip

qwerty017 commented 3 years ago

I installed and will let you know if it fixed it.

On Fri, Sep 25, 2020, 4:21 AM IngoZenz notifications@github.com wrote:

it would help if you could test if attached dev version solves the issue for you. dnsfilter-15043-dev.zip https://github.com/IngoZenz/personaldnsfilter/files/5282423/dnsfilter-15043-dev.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IngoZenz/personaldnsfilter/issues/97#issuecomment-698874585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABU766ZIRQFL7BID5DMIJTSHR4MBANCNFSM4PECAOFQ .

qwerty017 commented 3 years ago

I am still seeing the same issue. I am also seeing a yellow bar at the bottom stating Resolver Count has reached 100 if that means anything. Are there any other logs I can send you besides the ones attached? Also, this seems to only really happen when going from Wifi to Cellular. I can't remember this ever happening when going from Cellular to Wifi. Screenshot_20200926-083954 pFilter Logs.txt

ckuethe commented 1 year ago

I see something similar with version V1505401 on Android 13 (Google pixel 6) going from wifi to mobile data. It can take quite a while (up to 10 or 15 minutes) for that state transition to be recognized. My workaround is just to hit the restart button a bunch of times until my mobile provider's resolvers are selected.

ScrambledBrain commented 5 months ago

I see something similar with version V1505401 on Android 13 (Google pixel 6) going from wifi to mobile data. It can take quite a while (up to 10 or 15 minutes) for that state transition to be recognized. My workaround is just to hit the restart button a bunch of times until my mobile provider's resolvers are selected.

I have the same issue: when I leave my home (wifi) and LTE is used at work, I also receive these errors. I don't recognize them all the time, but sometime I also wonder, why the apps show internet connectivity issues and then I see such an error. If I restart PDNSF, the correct DNS resolver is used.

IngoZenz commented 5 months ago

Seems on some networks there are issues with dns detection. In order to workarround this, just disable dns detection in DNS settings (see pencil icon on dns field).

ckuethe commented 5 months ago

Also happens on Android 14, Google Pixel 8, pdnsf V1505503.

Turning off auto detection is kind of unpleasant since my carrier uses ipv6 for their DNS, and I use a few wifi networks that don't necessarily have predictable DHCP-assigned DNS (and they block anything other than their internal resolvers)

MrAnon-dev commented 2 months ago

Hi,

Same problem here on realmeUI 5, Android 14 based ROM and personalDNSfilter v1505503.
In my case i suffer this issue with and without DNS detection, however it not always occurs. With discovery disabled I have only [1.1.1.1]::853::DOT as custom DNS, all the rest are commented.

Thanks!