'JFrog Artifactory - not able to set replication for "docker" repository on replica server
I have replica and master Artifactory server. I have set replication successfully for many different packages (maven, npm, bower etc.). I am having difficulties to set pull replication for docker repository on my replica server.
I am able to list the URL with repository structure and its folders in web browser:
http://af.domain:8081/artifactory/front-docker
This lists a folders which I have in that repo. I am using the admin user to access. However if I try to set this URL in JFROG Artifactory UI I am getting the message:
Connection failed: Error 404: Not Found
I have found this link as well:
https://www.jfrog.com/confluence/display/JFROG/Smart+Remote+Repositories#SmartRemoteRepositories-Configuration
which implies that I should use /api/docker as prefix before the repository key.
http://af.domain:8081/artifactory/api/docker/front-docker
with this URL I am getting:
Connection failed: Error 403: Forbidden
I tried also:
http://af.domain:8081/api/docker/front-docker
but again I get error 404.
I have set admin credentials on Advanced tab. That is the admin user on master server which I am using for all other replications so the permissions should not be the issue.
In logs I do not see anything. What else can I try? Thanks!
Solution 1:[1]
The needed URL for pull replication is "http://af.domain:8081/artifactory/api/docker/front-docker" and the reason you are getting 403 is the forbidden issue, so add the admin to confirm if 403 is indeed a forbidden/permission issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Muhammed Kashif |
