-
I'm not sure if there's already a fix for this problem, but I could not find anything for the life of me, so I'm resorting to opening an issue. Around 3 days ago I used mitmproxy on my computer and on my phone through adb, just once. I've used mitmproxy a few other times on the PC since then, and I have no issues. On my phone on the other hand, internet access simply stopped working altogether - whether it be Wi-Fi, mobile data or tethering/hotspot. I was trying to fix it, when I noticed it strictly only works if I connect my phone to my computer again, start adb and mitmproxy. How could I fix this? I've already tried many, many things including resetting network settings, setting up a manual IP (and therefore DNS and proxy) for both my Wi-Fi and mobile data connections, nothing worked. I'm pretty sure it would be fixed if I factory reset, but I certainly want to leave it as a very last resort. Help pls. Edit: I've also tried reconnecting my phone to mitmproxy and disabling it properly of course, restarting my phone, etc. Many of the basic things. It's an android. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Did you use WireGuard mode? Is WireGuard (or any VPN) turned off? |
Beta Was this translation helpful? Give feedback.
That's fair. I was finally able to fix it, it was a problem with the adb (Android Debug Bridge), which is what I used to connect to mitmproxy. Thank you either way, you were of help by leading me into the right possible causes.
For curiosity's sake, it's because I used the shell command
settings put global http_proxy 127.0.0.1:8080
and to remove the proxy, you need to specifically then usesettings put global http_proxy :0
. For some reason it's the only way to remove a proxy on Android if you set it up through the shell.settings reset global http_proxy
,settings delete global http_proxy
orsettings put global http_proxy 0:0
don't work, and they're what I had tried before.