Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1449

HTTP Proxy authentication fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: jclouds-core
    • Labels:
      None

      Description

      When using http proxy, which requires authentication, in order to connect with s3, it fails with

      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
      at 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)


       

      It works with SOCKS proxy with authentication, but fails with HTTP proxy with authentication

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              blagolaj Blagoi Anastasov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: