same proxy setup fails on Fiddler but works with MitmProxy

1 Answer 134 Views
Android Fiddler Everywhere
Zhen
Top achievements
Rank 1
Zhen asked on 21 Aug 2024, 08:12 AM | edited on 21 Aug 2024, 09:19 AM

I want to setup proxy for a c++ application for android.

Here is my setup:

adb reverse tcp:8888 tcp:8866

adb shell settings put global http_proxy localhost:8888

And then in my own app, point my c++ libccurl to use localhost:8888 as proxy and give it the fiddler pem.

Now, my problem is that this setup doesn't work on fiddler.

However, the same exact setup works with Mitmproxy. where it points to 8080 on host and using the pem from mitmproxy.

Does anyone have any idea why this might be the case?


Thanks


1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 21 Aug 2024, 09:24 AM

Hello Zhen,


Is there a specific reason you are using ADB reverse to explicitly map a port and to set the proxy? Usually, you should be able to set an Android proxy through the Android proxy settings (on the testing device or emulator) as explained here:

https://docs.telerik.com/fiddler-everywhere/capture-traffic/capture-from-android#capturing-remote-android-traffic-manual-setup 

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Android Fiddler Everywhere
Asked by
Zhen
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or