You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @elephant-giraffe
please try overriding the ApiClient's Http Client builder with this method "setHttpClientBuilder" right after the Fireblocks client init
Activity
github-actions commentedon Dec 19, 2024
Your issue is important to us. We will look into it shortly.
asafs932 commentedon Dec 19, 2024
Hey @elephant-giraffe
please try overriding the ApiClient's Http Client builder with this method "setHttpClientBuilder" right after the Fireblocks client init
borislav72 commentedon Apr 3, 2025
Hello,
Doesn't seem to work if the proxy requires authentication. We tried to configure the proxy and authenticator like this:
`HttpClient.Builder builder = HttpClient.newBuilder()
.proxy(ProxySelector.of(new InetSocketAddress(proxyHost, proxyPort)))
.authenticator(new Authenticator() {
@OverRide
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(proxyUser, proxyPassword.toCharArray());
}
});
// then replace the builder
fireblocks.getApiClient().setHttpClientBuilder(builder);`
But we get error 407 - [no body]
It seems the injected authenticator is not used by HttpClient (implemented in HttpClientImpl)
Is there a way to solve this?