Error: tunneling socket could not be established, cause=socket hang up

Hallo,

I’m going to test external api.
https://stock-dev-api.corelogic…/stock-api-soap/StockServiceType?wsdl

how to change settings to see good result?

Regards

Hi @sync_bear,

It sounds like you might be connecting through a proxy or that you may need to connect through a proxy. Are you running on a corporate network? Can you access that endpoint in your browser?

See here for configuring proxy settings in Postman: https://learning.postman.com/docs/postman/sending-api-requests/proxy/

Best,

Kevin

I need to connect through a proxy. I don’t run the proxy in my whole system, only have set proxy in one of my browsers and it’s working fine. Any way, I used the same proxy setting for Postman but I got this error message: Error: tunneling socket could not be established, cause=socket hang up

the proxy setting on Postman

Hi @eashsae,

Postman doesn’t support SOCKS proxies at this time. This issue is being tracked here: SOCKS5 · Issue #1321 · postmanlabs/postman-app-support · GitHub.

Some folks are using this project as a solution. It sets up an HTTP proxy and forwards traffic through a SOCKS proxy. In this case, you’d use the HTTP proxy settings in Postman and point to the IP/port where this is running. GitHub - oyyd/http-proxy-to-socks: hpts(http-proxy-to-socks) is a nodejs client to convert socks proxy into http proxy

Hope this helps.

Best,

Kevin

1 Like