[RTFACT-10423] A remote Docker repository can fail to retrieve artifacts when anonymous access is disabled on the source repository Created: 04/Jun/16  Updated: 08/Jan/20

Status: Open
Project: Artifactory Binary Repository
Component/s: Docker, Remote Repository , Smart Remote Repository
Affects Version/s: 4.8.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Arturo Aparicio Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None


 Description   

A remote Docker repository fails to retrieve artifacts when anonymous access is disabled on the source repository.

This happens only when no permission targets grants anonymous access to the source repository. If the global Allow anonymous access feature is unchecked, the retrieval will work.

To reproduce:

1. Create a local docker repository and upload an image to it
2. Remove any permission target that grants read access to anonymous to the local repository (but don't uncheck the global Allow anonymous access setting)
3. On a different Artifactory instance, create a remote repository and reference the local repository. Set the credentials under Advanced of a user that has the required permissions to pull.
4. Attempt a pull from the remote repository and notice the failure.

At best, this is a documentation issue as it is very unclear what the settings should be to properly remote another Artifactory instance.

Workaround:

Uncheck the "Enable Token Authentication" option.


Generated at Sat Apr 04 12:51:04 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.