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 - Error scanning blob exception

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 15 Views 1 Watching
    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.
    • J Offline
      jw
      last edited by

      We are encountering the following exceptions, when pushing to the ProGet Docker registry:

      Error scanning blob 487afa63fba9 (id=1793): The archive entry was compressed using an unsupported compression method.
      
      System.IO.InvalidDataException: The archive entry was compressed using an unsupported compression method.
      at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)
      at System.IO.Compression.Inflater.ReadInflateOutput(Byte* bufPtr, Int32 length, FlushCode flushCode, Int32& bytesRead)
      at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
      at System.IO.Compression.DeflateStream.ReadCore(Span`1 buffer)
      at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadRecordAsync(CancellationToken ct, Boolean isAsync)
      at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadBlockIntAsync(Byte[] buffer, CancellationToken ct, Boolean isAsync)
      at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntryAsync(CancellationToken ct, Boolean isAsync)
      at Inedo.ProGet.Feeds.Docker.BlobScanner.DockerBlobScanner.ScanBlobAsync(DockerBlobs blobData, Stream blobStream, ILogSink log)
      

      It appears that the exception is coming from blobs that are just docker manifests in JSON format which are not compressed.

      95aed00f-8d29-4052-b763-d81a9adcea9f-image.png

      The manifests are created and pushed with the docker manifest command.
      https://docs.docker.com/reference/cli/docker/manifest/

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @jw
        last edited by

        Hi @jw ,

        This error should not be logged and you can ignore it; we'll get it fixed in an upcoming maintenance release of ProGet via PG-2740

        Cheers,
        Alana

        1 Reply Last reply Reply Quote 0
        • J Offline
          jw
          last edited by

          Thanks for the feedback and the fix.

          Have a nice weekend.

          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