Configuring an External Proxy Server Requiring Authentication for Postman

I am setting up native Postman windows and trying to run the request header api provided in the Postman Echo collection. I am getting the following error.

"Error: Unable to establish tunnel socket, statusCode = 407"

In the postman console, I can see that it is picking the correct proxy from the environment. My proxy requires authentication, how do I provide credentials. I tried to start Postman using the following command, but it didn't help.

postman.exe --proxy-server = username: password @myproxy: 8090

+4


source to share


7 replies


Unfortunately, the proxy tab in the settings does not allow proxy authentication. Entering proxy information in the format "username: password @myproxy" will cause all "@" characters to be removed.



+4


source


In the Global Proxy Configuration section of the Proxy tab, set the Proxy Server to --userName: password @proxyHost: proxyPort resolves the problem.



0


source


I could solve this problem for Postman as well as other local tools that are not capable of NTLM proxy authentication.

The solution is an open source proxy service / CNTLM daemon running on Linux, macOS and Windows. The project hasn't been updated for a while, but I could easily install and run it under Windows 10.

The best part is that it can check your proxy capabilities and automatically find the latest NTLM that the proxy supports.

http://cntlm.sourceforge.net/

0


source


After testing, this method is useful: Windows - create a postman.bat file with the following content:

set HTTP_PROXY=http://USER:PASS@host:port
set HTTPS_PROXY=https://USER:PASS@host:port
start C:\path\to\Postman.exe

      

how i get it from here

0


source


You can add a header Proxy-Authorization

with the valueBasic base64encode($user:$password)

0


source


run postman via:

vagrant@localhost:~/Downloads/Postman-linux-x64-7.6.0/Postman/app$ ./Postman 

      

and set / reset proxy values

0


source


You may already know, but since version 5.2 Postman includes a Proxy tab in the Preferences section.

You should be able to configure your proxy server on your system (if you are using Windows you can do this in Internet Options β†’ Connections β†’ LAN Settings) and then enable "Use system proxy" on this tab.

-1


source







All Articles