krlvm / PowerTunnel-Android

Powerful and extensible proxy server with anti-censorship functionality for Android
GNU General Public License v3.0
1.6k stars 120 forks source link

PowerTunnel sometimes not working after Android 12 #148

Open Hans5958 opened 1 year ago

Hans5958 commented 1 year ago

Upon updating to Android 12, PowerTunnel started to be unstable. Last time on 11, PowerTunnel never broke, but upon updating to 12, it only works sometimes, especially to ISP blocked sites (Reddit in this case). Sometimes it works perfectly, no bugs, sometimes I couldn't access ANY sites, sometimes it just passess through without unblocking.

Some observed behaviors, keep in mind these are quite inconsistent:

  1. No PowerTunnel: Firefox works except Reddit, Joey for Reddit doesn't work, other app works
  2. Clean state/app reset: Same as (1) (Log file)
  3. plus Strict DNS Mode: Firefox doesn't work at all, apps work including Joey for Reddit.
  4. minus DNS module: Same as (1)
  5. minus DNS module, plus Strict DNS Mode: Same as (1)

There is a similar issue on #140 but I don't think it is the same, so I put it on a separate issue.

I'm running Android 12 with One UI 4.1 in my Samsung Galaxy A31.

krlvm commented 1 year ago

Does it work in proxy mode or if you disable DNS plugin? You can also test if version 1.9.1 works for you.

Hans5958 commented 1 year ago

Still not working when disabling the DNS plugin (keep in mind Reddit is blocked here, so probably no surprise).

I may try the proxy mode or version 1.9.1 later.

PS. I edited the original post. I wrote that on the mobile earlier and now edited it on the computer.

Hans5958 commented 1 year ago

I've tried 1.9.1 and the behaviour is the same as on 2.x.

Hans5958 commented 1 year ago

Proxy also does not work, by the way.

I'm happy to fulfill specific log request, by the way.

krlvm commented 1 year ago

I don't think there's something helpful in logs, I will try to test it on Android 12 later

Hans5958 commented 1 year ago

As I had nothing to do, I decided to dig deeper by trial and error. Hope this can be found useful. I tried my best to clear the data to solve cache issues.

For information regarding the blocking in Indonesia, my country, see https://github.com/bebasid/KominFudge.

Accessing Reddit using the official Reddit app (2023.31.0)

⬇️ Mobile (3, AS45727) Wi-Fi (IndiHome, AS7713)
none
PowerTunnel (2.7.3)
PowerTunnel (2.7.3) with DNS ✔️
Nebulo (2.0-beta) ✔️
1.1.1.1 app (6.26) ✔️ ✔️
1.1.1.1 app (6.26) with WARP ✔️ ✔️
Proton VPN (4.6.12.1) ✔️ ✔️

Ads on Notebloc (4.3.7)

⬇️ Mobile (3, AS45727) Wi-Fi (IndiHome, AS7713)
none
PowerTunnel (2.7.3) with AdBlock enabled ✔️ ✔️
Nebulo (2.0-beta) ✔️

Specification:

krlvm commented 1 year ago

Do you have custom DNS enabled in PowerTunnel?

Hans5958 commented 1 year ago

I cleared the app data and it is chosen as "Custom" and "Not set" by default.

krlvm commented 1 year ago

Try other options, such as Google or Cloudflare, I mean

Hans5958 commented 1 year ago

Same as Nebulo. Updated the table.