-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
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:
- HTTP Client 4.4 does not handle the SSL Certificate from cloudfront properly. This issue. I needed to upgrade to 4.5.
- The HttpClientConfigurator does not setup an
AuthScopethat covers the cloudfront domain name causing the credentials to not be set. - 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
Labels
No labels