Redirect spray https traffic through a tunnel to support an https client proxy?

283 views
Skip to first unread message

David Walend

unread,
Feb 22, 2018, 11:16:00 PM2/22/18
to spray.io User List
Spray's https client doesn't support https client proxies. I'm helping set up a system behind an https client proxy that needs to reach our sever (and can't deliver an akka-http-based version for a few months).

Has anyone had success using something like corkscrew, httptunnel, or netcat to handle the CONNECT commands with the proxy? 

Is that a reasonable thing to try?

Would the command be as simple as setting up the tunnel on the client side - like

> htc -F LOCALPORT -P PROXY_ADDRESS:PROXYPORT TARGET_ADDRESS:8443


Or am I completely wrong and Spray's https client can support https client proxies? (It looks like akka-http added it recently. https://github.com/akka/akka-http/issues/192

Thanks,

David


Reply all
Reply to author
Forward
0 new messages