"No internet connection" in Android app with using mitmproxy, but works fine with Charles
See original GitHub issueSteps to reproduce the problem:
mitmproxy
- Install the mitmproxy certificate through http://mitm.it/
- Start mitmproxy with
mitmproxy -p 8080
- Set proxy settings on Android Marshmallow or Nougat
- Open the application
- Get prompted with the error
Charles
- Install the Charles proxy certificate through http://chls.pro/ssl
- Start Charles
- Set proxy settings on Android Marshmallow or Nougat
- Open the application
- See traffic in Charles
Any other comments?
I cannot see any traffic from the application in mitmproxy what so ever. Nothing. Could this be because the application blocks the mitmproxy certificate somehow?
System information
Mitmproxy version: 2.0.2 (release version) Python version: 3.6.1 Platform: Darwin-15.0.0-x86_64-i386-64bit SSL version: OpenSSL 1.1.0e 16 Feb 2017 Mac version: 10.11.1 (‘’, ‘’, ‘’) x86_64
Also installed and tried on an Ubuntu server.
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (3 by maintainers)
Top Results From Across the Web
No internet connection in Android after using Mitmproxy
The certificates created by mitmproxy should be fine. Burpsuite or Fiddler ones did not work for me though. Share.
Read more >MITM Proxy for Android Emulators - Medium
After using Charles for 2 days, I wanted to try out some open source tool to avoid the repeated prompts and restart from...
Read more >How to mitmproxy part 1: Inspecting Android Network Traffic ...
Open the emulator · Go to setting by clicking the ... · Go to Setting -> Open the Proxy tab. · Uncheck the...
Read more >How to inspect network traffic using mitmproxy - Bad Gateway
APIs are everywhere and that's not about to change. Breaking down each part of your code into separate services is (often) good but...
Read more >How to Use Charles Proxy to View the Data Your Mobile Apps ...
Tap the info icon next to the connected network, then scroll to the bottom and select "Configure Proxy." Select the row for "Manual,"...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Guess the solution is use http://chls.pro/ssl and not https://github.com/mitmproxy/mitmproxy 👍
It’s a huge problem for Android testers and forced me to move away from mitmproxy for now.