Open pierreprinetti opened 9 years ago
This is not possible at a collection level. Postman uses Chrome's default proxy settings for all requests.
Do you think it is feasable to implement custom proxy rules internally?
Not sure. We'll look into this.
Thank you! Very useful project, no regrets since purchase.
So, this implies Chrome must be running in order for the standalone Postman app to work? Guess I'm ok with that, just doesn't sound like a standalone app.
But, I do need to access an API via a SOCKS5 proxy, somehost:9999. Works fine when the Chrome Postman app runs, since it uses my Chrome extension SwitchyOmega. Haven't been able to figure out how to get the standalone OSX Postman app to use it.
Are there actual plans that this will be implemented?
It would be fine to have different proxy settings for each environment (e.g. for live no proxy, for devel proxy)
Is there a timeline on this feature?
i wanna this feature too
Without this feature, I have to give up using native postman and continue for Chrome app.
Hope you can integrate this before the Chrome apps are deprecated
This is still open..Any plans to fix this?
Could this get a higher priority now that the Chrome extension has been removed.
In our situation we cannot use postman to test our APIs because we need to use SOCKS proxies setup using SSH tunnels in order to access the servers
I end up using privoxy as http=>socks5 proxy. It can forward requests to different socks5 proxies by host patterns. e.g.
forward-socks5t a1* 127.0.0.1:1088 .
forward-socks5t a2* 127.0.0.1:1088 .
forward-socks5t a3* 127.0.0.1:1088 .
forward-socks5t sg-* 127.0.0.1:1090 .
When should we expect this feature? Are you working on it?
I'm also eagerly awaiting this feature :(
FTTB I switched to FoxyProxy + RESTClient (both FireFox extensions) to test and debug the webservices I work with.
When will this be fixed? This is a hard stop for using Postman.
Also would like SOCKS support. Very important for us.
In the mean while you could do a local tunnel.
ssh -L 9999:destination.com:80 sock5_proxy_server
Use localhost:9999
in your postman address and it will be the same as accessing destination.com:80
from the sock5_proxy_server
Nope. In the meantime I can more easily use RESTClient + FoxyProxy because for this I do not have to change any url.
To be honest: I find it much more convenient and I do not miss Postman at all.
Can we assume this will never be implemented?
SSH tunnelling works. ssh -L 12345:192.168.1.15:80 your-external-ip in postman as dest you specify localhost:12345 Make sure proxy is disabled in the settings.
@navennn you totally missed the point. This is about socks5 proxy.
With that you have a socks 5 proxy which will forward any traffic to any target host.
Normal tunneling forwards traffic to one specific target host.
I know. But this is a workaround to your issue. At least you can do it.
And @navennn you also missed the fact that there already is a much better workaround. Additionally your "tipp" already was given by @marpo60.
I read all of it, I know. You can't prove me wrong since I'm not wrong.
@Skeeve
Unless @navennn is representing @postmanlabs, I see no reason for being aggressive.
Okay, @pierreprinetti - I'm out. No more interest in Postman.
Okay, @pierreprinetti - I'm out. No more interest in Postman.
Just to clarify: nobody in this thread works for Postman AFAIK, except @abhijitkane. People are just trying to help.
That being said, bye bye @Skeeve!
I just reverted to using the postman chrome app then set the socks proxy in my browser.
FWIW, I found a kanban board in this project with proxy related issues on it. Not really much insight there but I think this is were this work would be tracked (if it were in flight)...
Curious if socks 5 proxy is going to be implemented into the standalone app. Since this appears to be a port from chromium via electron it should be able to set its own socks 5 proxy.
Since it looks like this is available in electron and is documented well it shouldn't be difficult to implement. https://github.com/electron/electron/blob/a0cac0555570b1c55d011d72e32f48ef6e0c9e28/docs/api/session.md
A workaround to this issue is to convert the socks proxy into an http proxy using https://github.com/oyyd/http-proxy-to-socks
@avmohan - thanks for sharing. that's the most easy solution. great tool!
Any plans to have this feature implemented? Will the existent Chrome app stay functional or should we expect it to be unusable after a point?
I would love to see this feature in Postman, tip: "take a look of SwitchyOmega Chrome extension", if Postman can do that... would be really powerful and support proxy settings for multiple profiles / envs.
thanks!
A workaround to this issue is to convert the socks proxy into an http proxy using https://github.com/oyyd/http-proxy-to-socks
+1 But doesn't work for host:ip Switched to Chrome extension, which works smooth with browser config.
A workaround to this issue is to convert the socks proxy into an http proxy using https://github.com/oyyd/http-proxy-to-socks
Does this work with https urls?
Awesome tip by @tangyl about using Privoxy. Basically it can "add" SOCKS5 support to any app which doesn't natively support SOCKS5. Documented my experience with Postman + Privoxy here.
This is a pretty serious blocker for our use case. Is there any word on when this might be implemented? Would anyone from the postmanlabs care to comment?
I'll make sure this thread is part of conversations we are having. Thanks for elevating.
Thanks, @kinlane ! Looking forward to updates... Just to record the ask here, we would need socks5h variant (with DNS support).
Yea totally looking forward.
@kinlane we tested a few options on our end and I would like to submit a couple of PRs to support what would be an MVP solution for us. As a first step we would like to support passing in agent to newman API.
Looking forward to feedback/conversation:
Companion newman
PR:
2349 was replaced by https://github.com/postmanlabs/newman/pull/2392
Thanks to the postman team, @codenirvana, for working through this. API consumers of newman should now be able to use socks proxies: https://github.com/postmanlabs/newman#using-socks-proxy
@codenirvana and postman team, any interest in bringing newman types up to date? I added requestAgents. Anything else changed since 4.5? https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45436
Hello, any effort here? Someone came by & contributed code to help get you started. This is absolutely essential for using Postman in a wide variety of corporate environments. This ticket has been open a LONG time. Please help.
Anything new in this topic?
Is it possible to set up a specific collection to fire requests through a pre-existent SOCKS proxy?