Unable to proxy from Android phone

Hi,

This is probably a problem with Postman as I seem to have the same issue trying to proxy with Charles. I followed instructions http://blog.getpostman.com/2017/09/29/client-proxy-settings-in-postman/ with Postman app open but I am unable to connect to WiFi with proxy settings on. Do you have any ideas on troubleshooting this? I am using default port of 5555 and my macbook proā€™s IP. Both laptop and phone are on the same WiFi network. Thanks for any help!

2 Likes

Have you found a solution? Looks like Iā€™m having the same issues

WIth my research into this issue, iā€™m starting to believe postman is not as good as it claims. There seems to be no fix for this problem as if it doesnā€™t exist. Weā€™ve all obviously followed the tutorial exactly and have had no luck. It is a simple tutorial, so there very little room for error. I think it just does not work.

1 Like

Having the same issues here as well. I connected to the WiFi by enabling Manual Proxy and entered my systemā€™s IP Address and the port as mentioned and saved those settings. Thought that some error/success would be shown. But unfortunately, it just doesnā€™t do anything.
In fact, my internet doesnā€™t function in the phone after that.

Am I doing something wrong? Or is it the same problem we all are facing?

Iā€™m not sure which tutorial everyone is getting stuck on. The linked article is not a tutorial. The docs describe an example of inspecting HTTP network calls made from your phone: https://learning.postman.com/docs/sending-requests/capturing-request-data/capturing-http-requests/#using-postmans-proxy-example

Joyce, I am having the same issue that the above users mentioned. When configuring the HTTP proxy on my mobile device (step 3 of your link), I enter the correct IP address and port number; however, I then lose internet access on my mobile. It is still connected to the wifi, but Safari on my mobile tells me it ā€œcannot open the page because it could not establish a connection to the server.ā€ Therefore, my History in the Postman App remains empty as I cannot navigate to any websites. Please advise on how to correct this

Hi @spacecraft-cosmolog3 -

Are you selecting ā€œManualā€ proxy to input your IP and port?

I just tried this on my own Android phone. If I set up a Static (instead of DHCP), my connection also turns off. So try configuring it under ā€œManualā€ instead. This blog post has a nice screenshot of Android settings: https://blog.postman.com/debug-api-requests-mobile-postman-proxy/

Thanks for the quick reply Joyce. I am selecting ā€œManualā€, and also I am actually on an iPhone. I have realized that some websites work but others dont. Weirdly, google.com does not work, but less popular websites seem to work such as finviz.com, or a specific url that goes to a specific page of a website. However, the ones that do work, I get prompted by my phone that ā€œThis Connection Is Not Privateā€, and I have to say i understand the risks involved before visiting the website. I believe this is because I do not see the ā€˜Postman Proxy CAā€™ certificate in my Keychain Access Certificates. Do you know of any reasons why I do not see this certificate? Or why only certain websites work for me?

Sounds like youā€™re trying to proxy https (or HSTS enabled) sites? Postman recently released support for this. Youā€™ll need to install a self-signed certificate authority in order to proxy most remote web traffic.

3 Likes

Thank you! navigating to ~/Library/Application Support/Postman/proxy was not very easy but i was able to figure it out by watching a youtube video on finding the ā€˜Application Supportā€™ folder

1 Like

hi did anyone solve this issue? i get this on my phone

Your connection is not private
Attackers might be trying to steal your information from learning.postman.com (for example, passwords, messages or credit cards). Learn more
NET::ERR_CERT_INVALID
To get Chromeā€™s highest level of security, turn on enhanced protection

hi joyce, can you please record a newer video for this. i spent 3 days trying to figure out how to make it work.

What Iā€™ve done:

  • Installed the certificate
  • Changed trust settings to ā€œAllow allā€
  • Configure the Postman Proxy to port 5555
  • Add proxy settings for HTTP/HTTPS to 127.0.0.1 and port 5555

Result:
Every page I visit results in ā€œyour connection is not privateā€

What am I doing wrong here?

You need to install the postman crt (certificate) on your phone as described here: Capturing HTTPS traffic | Postman Learning Center
This will allow to make https calls, hence no "ā€œyour connection is not privateā€ issue