Skip to content

Fail To Download Content From Private Repository #10

@jeromebridge

Description

@jeromebridge

I get an exception when trying to download content using the Bintray client: No credentials for preemptive authentication

I debugged to the line HttpClientConfigurator:292. It appears that it does not recognize credentials for the site: https://d29vzk4ow07wi7.cloudfront.net.

Update

3 problems I ran into:

  1. HTTP Client 4.4 does not handle the SSL Certificate from cloudfront properly. This issue. I needed to upgrade to 4.5.
  2. The HttpClientConfigurator does not setup an AuthScope that covers the cloudfront domain name causing the credentials to not be set.
  3. The BintrayImpl handles all HTTP responses and converts the stream to a String. In order to download I believe I need access to the original HTTP response to stream the data. See my workaround here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions