-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Docker Image
-
Severity:Critical
While trying to docker pull image from jfrog, for that we create a remote repository with following config:
{ "key": "{repo-name}", "rclass": "remote", "packageType": "docker", "blockPushingSchema1": false, "username": "{username}", "password": "{password}", "allowAnyHostAuth": true, "repoLayoutRef": "build-default", "enableTokenAuthentication": true, "url": "{jfrog-url}" }
and after its creation we tries to docker pull to this repo using
GET api: {jfrog-url}/artifactory/{repo-name}/v2/{docker-image-name}/manifests/{docker-image-tag}
This method works for cloud hosted jfrog but fails for on prem jfrog and give 404 error with 2 different type of messages:
This message if thrown at first try for docker pull
{ "errors": [ { "status": 404, "message": "Error in getting information (Failed retrieving resource: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)." } ] }
For subsequent retries afterwards, following error is thrown
{ "errors": [ { "status": 404, "message": "{repo-name}: is assumed offline" } ] }