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

BLOB_UNKOWN error when pushing a Docker image to Bintray

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.3
    • Component/s: Bintray Integration, Docker
    • Labels:
      None

      Description

      Artifactory uses old Docker client push method (pre 1.8). The package indexer logic for identifying old docker clients is based on the user-agent header, which is not passed by Artifactory. As a result Bintray expects the behavior of a post 1.8 Docker client which cause the push to fail with a 400 status code and a BLOB_UNKNOWN error.
      Also, the isLayerExist call tries to query a wrong URL - must fix that too avoid unnecessary uploads.

        Attachments

          Activity

            People

            • Assignee:
              chenk Chen Keinan
              Reporter:
              danf Dan Feldman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: