35

I am using the desktop version of Postman at a client site to test an API. However, I am unable to access any SSL sites in Postman, such as the Git Hib API: https://api.github.com/users/karlgjertsen

However, I can make the same API call through Chrome, so this is Postman specific.

I assume it is down to proxy settings, but I am not sure how to view or update these in Postman. Has anyone had any experienced something similar?

Karl Gjertsen
  • 4,690
  • 8
  • 41
  • 64

8 Answers8

66

I turned OFF both Global Proxy Configuration and Use System Proxy in Settings->Proxy tab in Postman and it started to work.

Nida
  • 791
  • 5
  • 4
18

This solved my issue :

The option "Respect HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables." was selected by default in the proxy settings. I turned off this option and it worked for me.

user10699193
  • 181
  • 1
  • 2
16

Follow these steps on postman - Go to file=>Settings => Proxy (Tab) and uncheck the "Use System Proxy" checkbox. That should work

enter image description here

Sharad Biradar
  • 1,724
  • 15
  • 11
8

Posting as the other solutions presented in this thread did not work in our corporate environment. We have a proxy configured on the network which uses Windows Default Credentials (username and password) for authentication. For whatever reason the browser knows how to pass these details with each request but postman does not by default.

Solution was to update the Default Proxy Configuration under settings -> proxy -> Default Proxy Configuration -> Tick 'This proxy requires authentication' then enter Windows Username and Password. Leave Use the system proxy and Add a custom proxy configuration settings disabled.

From the Windows start menu go to Change proxy settings and configure the host and port there.

enter image description here

Kannan K
  • 4,411
  • 1
  • 11
  • 25
Daniel Offner
  • 204
  • 2
  • 3
6

This turned out to be a local security policy that was applied to the machine in use. The local SSL proxy had a policy applied and it would not allow me to make a secure connection unless it was through a web browser.

Karl Gjertsen
  • 4,690
  • 8
  • 41
  • 64
  • so there is no way to do it through the app? I just get the same error and I thought it is because of proxy too. But my administrator don't let to install chrome extension, so I'm confused... – Mikhail_Sam Aug 20 '18 at 10:09
  • Where can you check for this in the local security policy? – Chris Oct 24 '18 at 21:07
  • 1
    The local policy was added by the IT team and I had to request an exemption. Typical issue you will run in to in a corporate environment. – Karl Gjertsen Oct 25 '18 at 08:47
  • 2
    What is the name of the policy, if it has a name? This is in the proxy software itself, right, not at the OS level, correct? Thanks – EnocNRoll - AnandaGopal Pardue Aug 30 '22 at 20:55
1

In my case I turned off the 'Add a custom proxy configuration' in File -> Settings -> Proxy tab and it solved the issue. No idea why it was on.

Guy_g23
  • 316
  • 2
  • 7
0

For me, none of the options above worked. The 'Use the system proxy' setting ought to respect the HTTP_PROXY environment variables, however the proxy may still need a login if you are accessing from inside a secure corporate network.

I took value in the Environment variable HTTP_PROXY (or HTTPS_PROXY)....

HTTP_PROXY Environment Variable

...and used it to setup a 'custom proxy configuration'

Postman Settings Add a custom proxy configuration

The above worked to me on the example given at https://learning.postman.com/docs/sending-requests/soap/making-soap-requests/#:~:text=Postman%20can%20make%20HTTP%20calls%20using%20SOAP%2C%20a,Select%20POST%20from%20the%20request%20method%20dropdown%20list.

(Service endpoint: https://www.dataaccess.com/webservicesserver/NumberConversion.wso)

James Wiseman
  • 29,946
  • 17
  • 95
  • 158
0

On Postman desktop version, setting is required to be updated. Turn off "Use System Proxy" in the settings area.

Go to Settings (Gear Icon, Beside Invite Button) Then go to Proxy menu item and TURN OFF Use System Proxy

See screenshot of the desktop version On Newer Version of Postman

Shabi
  • 1
  • 2
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 15 '23 at 06:28