-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hello.
I am deploying b2 client application behind proxy and it is unable to contact Backblaze API endpoints.
My proxy is definitely working as I have no problems contacting other hosts with other clients.
I believe cause of this is because Apache commons http client does not checking default proxy selector and this means the System Properties like https.proxyHost
and https.proxyPort
are ineffective.
Since Apache HttpClient seems to have its own way to configure proxies it would be nice to have some of its interface exposed to allow proxy configuration.
As I understood from the docs, it could be done e.g. with RequestConfig.custom().setProxy(new HttpHost(...))
, or making HttpClientBuilder
use system properties, or some other method.
If this problem could be solved with some other solution, could you please tell me? Thank you.