Fork me on GitHub
#aws
<
2023-03-09
>
xiongtx04:03:22

Setting https.proxyHost & https.proxyPort doesn’t seem to be working for me. What’s the recommended to use an HTTP proxy w/ the aws-api [library](https://github.com/cognitect-labs/aws-api)? https://clojurians.slack.com/archives/C09N0H1RB/p1606170559137300

xiongtx04:03:06

I think this is b/c the com.cognitect/http-client dependency uses Jetty, which doesn’t respect those system properties. IIUC com.cognitect/http-client ’s source code isn’t available anywhere, so would appreciate any example as to how to use a proxy server for HTTP requests.

xiongtx06:03:57

Managed to [figure it out](https://github.com/cognitect-labs/aws-api/issues/181#issuecomment-1461414333). Hope this helps someone!

thanks3 4
🙌 2