Description:
openstack authentication not working when behind a proxy with user and password authentication.
It fails with:
ClientResponseException{message=Proxy Authentication Required, status=407, status-code=PROXY_AUTH_REQUIRED}
at org.openstack4j.core.transport.HttpExceptionHandler.mapException(HttpExceptionHandler.java:38)
at org.openstack4j.core.transport.HttpExceptionHandler.mapException(HttpExceptionHandler.java:23)
at org.openstack4j.openstack.internal.OSAuthenticator.authenticateV3(OSAuthenticator.java:191)
at org.openstack4j.openstack.internal.OSAuthenticator.invoke(OSAuthenticator.java:74)
at org.openstack4j.openstack.client.OSClientBuilder$ClientV3.authenticate(OSClientBuilder.java:172)
at org.openstack4j.openstack.client.OSClientBuilder$ClientV3.authenticate(OSClientBuilder.java:129)
Reproduce with:
Use a proxy with required authentication
Version: openstack4j 3.4 (maven)
any java version
I debuged a bit and saw that in the method:
org.openstack4j.connectors.resteasy.executors.ApacheHttpClientEngine.create()
the proxy information is used but not username and password
Hi,
Description: openstack authentication not working when behind a proxy with user and password authentication. It fails with:
Reproduce with: Use a proxy with required authentication Version: openstack4j 3.4 (maven) any java version
I debuged a bit and saw that in the method: org.openstack4j.connectors.resteasy.executors.ApacheHttpClientEngine.create() the proxy information is used but not username and password
Regards Lukas