[GH-ISSUE #1240] Android Emulator Override Does Not Set Proxy #1235

Open
opened 2026-03-03 19:49:33 +03:00 by kerem · 2 comments
Owner

Originally created by @RisenAsh on GitHub (May 19, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1240

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? 3.5.0

macOS Version? 12.3.1

Steps to reproduce

  1. Open the certificate screen for Android emulator.
  2. Press "Override Emulator".
  3. Wait for the override script to complete and restart the emulator.
  4. Go back to the emulator. Look at the Wifi configuration.
  5. Notice that the current network connection has no proxy settings set.

Expected behavior

Script should be setting the device proxy settings on the network connection.

Screenshots (optional)

image

Originally created by @RisenAsh on GitHub (May 19, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1240 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? 3.5.0 ### macOS Version? 12.3.1 ### Steps to reproduce 1. Open the certificate screen for Android emulator. 2. Press "Override Emulator". 3. Wait for the override script to complete and restart the emulator. 4. Go back to the emulator. Look at the Wifi configuration. 5. Notice that the current network connection has no proxy settings set. ### Expected behavior Script should be setting the device proxy settings on the network connection. ### Screenshots (optional) ![image](https://user-images.githubusercontent.com/9076940/169286198-0244fa9f-a8c6-4955-8c39-4af3c7473d77.png)
Author
Owner

@NghiaTranUIT commented on GitHub (May 19, 2022):

Sorry, it's not a bug from Proxyman. It's how adb command works.

Basically, the emulator is overridden by this command adb shell settings put global http_proxy $ip $port, and adb command doesn't update the UI.

I tested and It still works. Proxyman still captures the traffic.

Screen_Shot_2022-05-19_at_19_13_04
<!-- gh-comment-id:1131613710 --> @NghiaTranUIT commented on GitHub (May 19, 2022): Sorry, it's not a bug from Proxyman. It's how `adb` command works. Basically, the emulator is overridden by this command `adb shell settings put global http_proxy $ip $port`, and `adb` command doesn't update the UI. I tested and It still works. Proxyman still captures the traffic. <img width="1471" alt="Screen_Shot_2022-05-19_at_19_13_04" src="https://user-images.githubusercontent.com/5878421/169291125-d5163f59-226a-4837-b0cc-e29b98133dc3.png">
Author
Owner

@RisenAsh commented on GitHub (May 27, 2022):

Proxyman still captures the traffic, however without setting this manually after the script I've found that SSL requests do not function. I get this after running the script:

image

Once I have manually set the the proxy settings via the Android UI in the emulator, SSL requests suddenly start working as expected.

I appreciate this could be wholly an Android issue, just wasn't sure so thought I'd raise it here.

<!-- gh-comment-id:1139448546 --> @RisenAsh commented on GitHub (May 27, 2022): Proxyman still captures the traffic, however without setting this manually after the script I've found that SSL requests do not function. I get this after running the script: ![image](https://user-images.githubusercontent.com/9076940/170672813-bacc6d7d-62f0-4d2b-a14e-b03aa612f308.png) Once I have manually set the the proxy settings via the Android UI in the emulator, SSL requests suddenly start working as expected. I appreciate this could be wholly an Android issue, just wasn't sure so thought I'd raise it here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1235
No description provided.