celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
3.01k stars 154 forks source link

DNS stuck sometimes #1544

Open iulko opened 5 months ago

iulko commented 5 months ago

Sometimes domains dont resolve at all. To fix it, I need to open Rethink app. When I open it , the dns status is "waiting" than in 1 second it changes and when I go back to browser everything works again.

ignoramous commented 5 months ago

Sometimes domains dont resolve at all.

This depends on the upstream resolver. Which one are you using?

When you open DNS Logs UI, what failures do you see (tap on the entries in the logs which should bring up a bottomsheet, the footer of that bottomsheet would show final status msg or errors, if any)?

When I open it , the dns status is "waiting" than in 1 second it changes and when I go back to browser everything works again.

Sorry, I don't get? "Waiting", btw, is not an error. It just means Rethink is "waiting" to serve incoming DNS requests.

Is "waiting" shown in red colour or blue?

iulko commented 5 months ago

Sometimes domains dont resolve at all. This depends on the upstream resolver. Which one are you using?

Cloudflare

When you open DNS Logs UI, what failures do you see (tap on the entries in the logs which should bring up a bottomsheet, the footer of that bottomsheet would show final status msg or errors, if any)?

I will try to look for it next time it happens

When I open it , the dns status is "waiting" than in 1 second it changes and when I go back to browser everything works again.

Sorry, I don't get? "Waiting", btw, is not an error. It just means Rethink is "waiting" to serve incoming DNS requests.

Is "waiting" shown in red colour or blue?

Red color status "Waiting", same way when you turn on the VPN for the first time. So Waiting never appears until I get that bug. Than when DNS is stuck. I open the app and "waiting" appear for like 1 second, than its all ok. Seems like opening the app is fixing that DNS problem.

ignoramous commented 5 months ago

Red color status "Waiting"

This means, the app is crashing on your Android. Are you on v055n (check the footer in the About UI)? If so (and if you're comfortable), tap on "bug report" in About UI and email it to us? Make sure to mention this github issue.

If you're on a Samsung device (using Android 13+), it is likely you're seeing #1539

iulko commented 5 months ago

Red color status "Waiting"

This means, the app is crashing on your Android. Are you on v055n (check the footer in the About UI)? If so (and if you're comfortable), tap on "bug report" in About UI and email it to us? Make sure to mention this github issue.

If you're on a Samsung device (using Android 13+), it is likely you're seeing #1539

Im using v055n, there was no error on v0.5.5m. And yes, Samsung Android 13+

ignoramous commented 5 months ago

OK. We think we know why apps crash on Samsungs (#1539), but can't be sure. We'll attempt a fix for v055o and release it soon.