Blagoi Anastasov created JCLOUDS-1449:
-----------------------------------------
Summary: HTTP Proxy authentication fails
Key: JCLOUDS-1449
URL: https://issues.apache.org/jira/browse/JCLOUDS-1449
Project: jclouds
Issue Type: Bug
Components: jclouds-core
Affects Versions: 2.1.1
Reporter: Blagoi Anastasov
{color:#333333}When using http proxy, which requires authentication, in order
to connect with s3, it fails with {color}
{color:#808000}{color:#000000}Caused by:
org.jclouds.http.HttpResponseException: request: HEAD
https://xxx.xxx.xxx.xxx.s3.ap-northeast-1.amazonaws.com/ HTTP/1.1 failed with
response: HTTP/1.1 407 Proxy Authentication Required{color}
{color:#000000}at
{color}{color:#000000}atorg.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:63)
at
org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65)
at
org.jclouds.http.internal.shouldContinue(BaseUrlHttpCommandExecutorService.java:125)
at
org.jclouds.http.internal.BaseUrlHttpCommandExecutorService.invoke(BaseUrlHttpCommandExecutorService.java:94)
at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)
at
org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156)
at
org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123)
at com.sun.proxy.$Proxy173.listBucket(Unknown Source){color}{color}
{color:#808000}{color:#000000}{color:#333333}It works with SOCKS proxy with
authentication, but fails with HTTP proxy with authentication
{color}{color}{color}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)