Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    ProGet Docker Connector to gcr.io not working

    Scheduled Pinned Locked Moved Support
    6 Posts 3 Posters 49 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      liuhan907_8630
      last edited by liuhan907_8630

      I am using Docker Connector to try to cache mcr.microsoft.com, gcr.io and hub.docker.com images.
      I was able to successfully cache the image of mcr and hub, but when I added the connector of gcr and tried to pull the image from the feed, I got error.

      When I pull the image from gcr, I got an error:

      # docker pull myproget/gcr/kaniko-project/executor:v1.6.0-debug
      v1.6.0-debug: Pulling from gcr/kaniko-project/executor
      981fc7edb8fd: Pulling fs layer
      d044254b2a54: Pulling fs layer
      8f137c16aecd: Pulling fs layer
      6566d8138b04: Waiting
      3d8068545002: Waiting
      fe2d5f51c3f2: Waiting
      ee2c784f1c11: Waiting
      13e1a61a0623: Waiting
      ddd1314b2f82: Waiting
      1e1b51c21c3c: Waiting
      error pulling image configuration: unknown blob
      

      At this time, I can see the following warning message on the management interface:

      Connector: #3 Google Container Registry (https://gcr.io/)
      Blob requested: kaniko-project/executor:sha256:d044254b2a54234cc1cc99f99e20b921714376e4139f6933f41b266b90675635
      Full exception:
      System.Net.WebException: The remote server returned an error: (400) Bad Request.
      at Inedo.ProGet.Feeds.Docker.DockerException.TryThrow(Exception innerException, Int32 statusCode, String body) in ...\Src\ProGetCoreEx\Feeds\Docker\DockerException.cs:line 108
      at Inedo.ProGet.Feeds.Docker.DockerConnector.GetDirectResponseAsync(String url) in ...\Src\ProGetCoreEx\Feeds\Docker\DockerConnector.cs:line 209
      at Inedo.ProGet.Feeds.Docker.DockerConnector.GetBlobAndMediaTypeAsync(DockerRepositoryName repositoryName, DockerDigest digest) n ...\Src\ProGetCoreEx\Feeds\Docker\DockerConnector.cs:line 113
      at Inedo.ProGet.WebApplication.SimpleHandlers.Docker.DockerHandler.ProcessBlobAsync(HttpContext context, DockerFeed feed, String repositoryName, String reference) in ...\Src\ProGet.WebApplication\SimpleHandlers\Docker\DockerHandler.cs:line 271
      
      1 Reply Last reply Reply Quote 1
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        Hello; what version of ProGet are you using?

        1 Reply Last reply Reply Quote 0
        • L Offline
          liuhan907_8630
          last edited by

          I use Version 5.3.33 (Build 9) by Docker.

          1 Reply Last reply Reply Quote 0
          • L Offline
            liuhan907_8630
            last edited by

            Today I found another problem. Connectors health check reports docker hub, gcr and k8s gcr check errors.
            The error message looks like there is Unauthorized, but docker hub and gcr should be public registry. Why does the health check require authentication and how to eliminate this error?

            Connector Docker Hub health check reported error: The remote server returned an error: (401) Unauthorized.
            
            1 Reply Last reply Reply Quote 0
            • rhessingerR Offline
              rhessinger inedo-engineer
              last edited by

              Hi @liuhan907_8630,

              I don't believe the health check is the reason for the error. Is it only gcr.io that is having this issue? Does this happen on all images for the gcr? Are you able to pull the image directly from gcr?

              Also, has this image been pulled before? If so, there could be a bad image cached. You can delete the cached image by hovering over the button in the upper write and click Delete Cached Image and try again.

              Thanks,
              Rich

              Products Engineer, Inedo

              1 Reply Last reply Reply Quote 0
              • L Offline
                liuhan907_8630
                last edited by

                No, this is a new deployment. And health check errors only occur on the connectors of Docker Hub and GCR, while Quay and MCR are work final.
                At the same time, I can pull the image directly from gcr.io.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation