Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-25742

Issue while docker image pull

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docker Image
    • Labels:
    • Severity:
      Critical

      Description

      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"
       }
       ]
      }

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alisha Alisha Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-25742 -
                SYNCHRONIZED
                • Last Sync Date: