ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.41k stars 178 forks source link

Proxying an android emulator, does it require "Proxy Overridden" on macOS #1750

Open ColtonIdle opened 11 months ago

ColtonIdle commented 11 months ago

Description

I was proxying my android emulator just fine yesterday. I restarted my computer + updated proxyman to latest. and now i cant get the emulator to proxy at all. all network requests in the emulator just fail. (for example even going to cnn.com in the webbrowser fails too). seems like it just can't connect to proxyman at all. yesterday i had "proxy overidden" off. but im thinking maybe it needs to be on? running out of ideas.

NghiaTranUIT commented 11 months ago

You should override your Android Emulator again in the Tool menu -> Install a certificate for Android -> Emulator -> Click on the Override Emulator button.

I guess your IP address has been changed, so the old proxy config (on Android Emulator) is mismatched.

ColtonIdle commented 11 months ago

Yeah, I did that (a few times) but still no luck. Can you confirm if I need "proxy overriden" on or off?

NghiaTranUIT commented 11 months ago

Can you confirm if I need "proxy overriden" on or off?

Just need to override it. If you want to turn it off, just click on the "Revert" button in the Android Emulator Setup Guide.

-> then it should work normally.


Just wondering: Do you enable SSL Proxying for these domains? Because you can't decrypt the HTTPS Traffic on Google Chrome from Android Emulator freely as we do with iOS Simulator. If yes, just remove all or turn off the SSL Proxying in the Tool menu.

ColtonIdle commented 11 months ago

Just need to override it. Okay. I will enable proxy overridden. I had it disabled yesterday and it worked fine, so I've kept it off.

Let me see what happens!

Just wondering: Do you enable SSL Proxying for these domains? Because you can't decrypt the HTTPS Traffic on Google Chrome from Android Emulator freely as we do with iOS Simulator. If yes, just remove all or turn off the SSL Proxying in the Tool menu.

Yep. I followed all of the steps that Proxyman showed me when "installing certificate on Android > Emulators"

ColtonIdle commented 11 months ago

Okay. I overrode proxy and i still dont even get any events from macOS. weird.

NghiaTranUIT commented 11 months ago

It's odd too.

Can you simply delete your Android Emulator and create a new one? and Open Tools -> SSL Proxying List -> Remove all items in the Include List.

I believe that it fixes your issue.

ColtonIdle commented 11 months ago

Did that. no luck. ssl proxy list > remove all. no luck.

deleted proxyman. redownloaded. everything works now. 🤷

either the computer restart broke something, or the update to proxyman broke something. but it all works now. so thats good.

NghiaTranUIT commented 11 months ago

I hear that Android Emulator is buggy with the proxy setting, so just to Delete Android Emulator and boot a new one will do the trick.

ColtonIdle commented 11 months ago

but it wasn't the emulator. mac OS traffic wasn't working either.

ColtonIdle commented 11 months ago

no matter how many times i enabled/disabled "override proxy", restarted my computer, or restarted proxyman. i could not get macOS network data.

deleted proxyman. redownloaded and installed. macOS proxy data worked again. 🤷‍♂️

ColtonIdle commented 11 months ago

ill try to keep my eyes out for if this happens again. but if anyone reads this in the future. just try uninstalling proxyman and reinstalling.

ColtonIdle commented 10 months ago

@NghiaTranUIT I had another issue today where I couldn't use proxyman at all. I had to uninstall proxyman again and reinstall and everything worked. Any chance you could add a button to proxyman to delete everything/reset everything so I don't have to delete proxyman when things aren't working?

NghiaTranUIT commented 10 months ago

@ColtonIdle You can do a factory reset in the Help menu -> Advance.

I suppose that Proxyman is conflicting with some of your running VPN apps. When the issue happens, can you try to stop any VPN app?