How do I exclude hosts from going through an HTTP proxy with S3AsyncClient.crtBuilder()? #5166
Unanswered
armlesshobo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As far as I can tell, it seems that the http.nonProxyHosts system property isn't accounted for in S3CrtProxyConfiguration. Is there some way to work around this?
I create the async client with this code:
The below code resolves my proxy issue, but breaks multipart downloads, because MultipartS3AsyncClient overrides the getObject method which throws an UnsupportedOperationException. Unfortunately, I can't use S3AsyncClient.builder(), because I need multipart enabled for downloads.
Beta Was this translation helpful? Give feedback.
All reactions