Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. rel_0477
    R
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    rel_0477

    @rel_0477

    3
    Reputation
    10
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    rel_0477 Follow

    Best posts made by rel_0477

    • ProGet Docker Compose Upgrade Issues

      Hello,

      I'm attempting to upgrade to the latest release of ProGet (2025) and I'm suffering some issues. A couple of days ago, before it was pushed to the proget tag, I tried to pull the image but was meant with a 502 error and so I just reverted back to the 2024 version I was on (at that time, the latest proget version).

      I recently pulled the latest version and 2025 was released and was met with the same issue. I'm working with a staging enviroment so I simply destroyed the ProGet & SQL Server stack and recreated it to no avail. The only logs that are being output is this: https://pastebin.com/413pr2hg

      I saw that ProGet was upgrading to PostgreSQL but didn't find any information about installing ProGet with postgres, only how to migrate. I haven't had too much time to dive into this but every surface level idea that I (and ChatGPT) have had haven't been successful. Is there anything that I could be doing wrong? I'm using the default docker compose file provided by the documentation.

      Attempting to access ProGet locally (via curl) results in the connection being reset by peer.

      Thank you in advance.

      posted in Support
      R
      rel_0477

    Latest posts made by rel_0477

    • RE: Rust - invalid gzip header

      @rel_0477 Yes, it was my side. Thank you!

      posted in Support
      R
      rel_0477
    • RE: Rust - invalid gzip header

      @rhessinger Are you kidding? You responded extremely fast! I wasn't being sarcastic, I truly appreciate the rapid support from the ProGet team, it's admirable.

      I went ahead and ran the index job and deleted the package and republished it to no avail. I also went ahead and retried the reproduction case above, and it worked fine (I was able to publish & pull).

      Cargo logs:

      $ cargo build
          Updating `crate` index
           Locking 1 package to latest Rust 1.87.0 compatible version
        Downloaded reprod v0.1.0 (registry `crate`)
        Downloaded 1 crate (815B) in 0.17s
         Compiling reprod v0.1.0 (registry `crate`)
         Compiling pull v0.1.0 (C:\Users\relax\dev\rust\.test\pull)
          Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.03s
      
      $ cargo build
          Updating `crate` index
           Locking 3 packages to latest Rust 1.87.0 compatible versions
            Adding bridge-logger v1.0.0 (registry `crate`)
            Adding log v0.4.27 (registry `crate`)
            Adding once_cell v1.21.3 (registry `crate`)
      error: failed to download `bridge-logger v1.0.0 (registry `crate`)`
      
      Caused by:
        unable to get packages from source
      
      Caused by:
        failed to unpack package `bridge-logger v1.0.0 (registry `crate`)`
      
      Caused by:
        failed to iterate over archive
      
      Caused by:
        invalid gzip header
      

      Results from the reindex:

      INFO : 2025-06-19 18:11:40Z - Performing reindex for Cargo feed 2: cargo
      INFO : 2025-06-19 18:11:40Z - Deactivating feed.
      DEBUG: 2025-06-19 18:11:40Z - Checking for crates that include a JSON header...
      DEBUG: 2025-06-19 18:11:40Z - Found 0 crates with JSON headers.
      DEBUG: 2025-06-19 18:11:40Z - Checking for orphaned FeedPackages...
      DEBUG: 2025-06-19 18:11:40Z - No orphaned FeedPackages found.
      DEBUG: 2025-06-19 18:11:40Z - Recalculating latest versions of packages...
      DEBUG: 2025-06-19 18:11:40Z - Health check complete; recording results...
      INFO : 2025-06-19 18:11:40Z - Re-activating feed.
      

      I'm not sure what would be causing my original package to not even be able to be pulled, I suspect it might be cached improperly. I'll continue to investigate to ensure that it's my side only.

      Thank you again, I truly appreciate all of the support.

      posted in Support
      R
      rel_0477
    • RE: Rust - invalid gzip header

      @rhessinger Thank you for the quick response! I am still experiencing this issue on the latest release of ProGet, are you able to verify that it is fixed on your end? Thank you again.

      posted in Support
      R
      rel_0477
    • ProGet Docker Compose Upgrade Issues

      Hello,

      I'm attempting to upgrade to the latest release of ProGet (2025) and I'm suffering some issues. A couple of days ago, before it was pushed to the proget tag, I tried to pull the image but was meant with a 502 error and so I just reverted back to the 2024 version I was on (at that time, the latest proget version).

      I recently pulled the latest version and 2025 was released and was met with the same issue. I'm working with a staging enviroment so I simply destroyed the ProGet & SQL Server stack and recreated it to no avail. The only logs that are being output is this: https://pastebin.com/413pr2hg

      I saw that ProGet was upgrading to PostgreSQL but didn't find any information about installing ProGet with postgres, only how to migrate. I haven't had too much time to dive into this but every surface level idea that I (and ChatGPT) have had haven't been successful. Is there anything that I could be doing wrong? I'm using the default docker compose file provided by the documentation.

      Attempting to access ProGet locally (via curl) results in the connection being reset by peer.

      Thank you in advance.

      posted in Support
      R
      rel_0477
    • RE: Rust - invalid gzip header

      I reproduced it in the following:

      cargo new reproduction --lib
      cd reproduction
      cargo publish --index sparse+<proget url> --token <token> --allow-dirty
      cd ..
      cargo new pull
      cd pull
      nano Config.toml
      

      My Config.toml:

      [package]
      name = "pull"
      version = "0.1.0"
      edition = "2024"
      publish = ["crates-io"]
      
      [dependencies]
      reproduction = {version = "0.1.0", registry = "crate"}
      
      cargo build
      

      Result:

      cargo build
          Updating `crate` index
           Locking 1 package to latest Rust 1.87.0 compatible version                                                             
        Downloaded reproduction v0.1.0 (registry `crate`)                                                                                
      error: failed to unpack package `reproduction v0.1.0 (registry `crate`)`                                                           
      
      Caused by:
        failed to iterate over archive
      
      Caused by:
        invalid gzip header
      
      posted in Support
      R
      rel_0477
    • Rust - invalid gzip header

      Previously, I reported a bug where publishing Rust packages wouldn't compress properly and thus wouldn't be able to be viewed online or pulled. Re: Rust Crates are uploaded with an incorrect compression method

      I am experiencing a new error when attempting to pull a Rust package from ProGet.

      Error:

      Caused by:
        failed to iterate over archive
      
      Caused by:
        invalid gzip header
      

      I am able to view the package fine on the web interface, which is unique to the previous error.

      posted in Support
      R
      rel_0477
    • RE: Rust Crates are uploaded with an incorrect compression method

      Awesome, thank you so much!

      posted in Support
      R
      rel_0477
    • RE: Rust Crates are uploaded with an incorrect compression method

      @rhessinger Sure. I created a basic Rust library using cargo new test --lib and didn't edit any of the code. I then immediately published using cargo publish --index sparse+https://stage.pub.rip/cargo/rs/ --token <token> --allow-dirty, where stage.pub.rip is my ProGet instance. The output of cargo publish:

          Updating `sparse+https://stage.pub.rip/cargo/rs/` index
      warning: manifest has no description, license, license-file, documentation, homepage or repository.                        
      See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
         Packaging inedo_test v0.1.0 (C:\Users\relax\dev\rust\inedo_test)
          Packaged 4 files, 1.2KiB (824.0B compressed)
         Verifying inedo_test v0.1.0 (C:\Users\relax\dev\rust\inedo_test)
         Compiling inedo_test v0.1.0 (C:\Users\relax\dev\rust\inedo_test\target\package\inedo_test-0.1.0)
          Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s                                                    
         Uploading inedo_test v0.1.0 (C:\Users\relax\dev\rust\inedo_test)
          Uploaded inedo_test v0.1.0 to registry `sparse+https://stage.pub.rip/cargo/rs/`
      note: waiting for `inedo_test v0.1.0` to be available at registry `sparse+https://stage.pub.rip/cargo/rs/`.
      You may press ctrl-c to skip waiting; the crate should be available shortly.
         Published inedo_test v0.1.0 at registry `sparse+https://stage.pub.rip/cargo/rs/`     
      

      I then went to my ProGet instance and attempted to view the files and got the same 500 error about the compression method.
      Cargo publish verbose:

      Updating `sparse+https://stage.pub.rip/cargo/rs/` index
      Blocking waiting for file lock on package cache
      Blocking waiting for file lock on package cache
      warning: manifest has no description, license, license-file, documentation, homepage or repository.
      See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
      Packaging inedo_test v0.1.1 (C:\Users\relax\dev\rust\inedo_test)
      Archiving Cargo.lock
      Archiving Cargo.toml
      Archiving Cargo.toml.orig
      Archiving src\lib.rs
      Packaged 4 files, 1.2KiB (824.0B compressed)
      Verifying inedo_test v0.1.1 (C:\Users\relax\dev\rust\inedo_test)
      Blocking waiting for file lock on package cache
      Compiling inedo_test v0.1.1 (C:\Users\relax\dev\rust\inedo_test\target\package\inedo_test-0.1.1)
      Running `C:\Users\relax\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name inedo_test --edition=2024 'src\lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=123 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=816c523b1b089ad8 -C extra-filename=-8b9ef5447a4b1bad --out-dir 'C:\Users\relax\dev\rust\inedo_test\target\package\inedo_test-0.1.1\target\debug\deps' -C 'incremental=C:\Users\relax\dev\rust\inedo_test\target\package\inedo_test-0.1.1\target\debug\incremental' -L 'dependency=C:\Users\relax\dev\rust\inedo_test\target\package\inedo_test-0.1.1\target\debug\deps'`
      Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s
      Uploading inedo_test v0.1.1 (C:\Users\relax\dev\rust\inedo_test)
      Uploaded inedo_test v0.1.1 to registry `sparse+https://stage.pub.rip/cargo/rs/`
      note: waiting for `inedo_test v0.1.1` to be available at registry `sparse+https://stage.pub.rip/cargo/rs/`.
      You may press ctrl-c to skip waiting; the crate should be available shortly.
      Published inedo_test v0.1.1 at registry `sparse+https://stage.pub.rip/cargo/rs/` 
      

      I also packaged it using cargo package --allow-dirty and uploaded it, and I am able to view & fetch it with cargo fine.

      posted in Support
      R
      rel_0477
    • RE: Rust Crates are uploaded with an incorrect compression method

      @atripp Yes, the file uploads fine, but the contents are corrupted / unabled to be downloaded and viewed. The error is when you go to the "Files" tab under any version. All crates from a connector / manually uploaded are fine, which made me think it was an issue with cargo upload, but I am able to upload fine to alternative crate hosters. I am able to pull & download the same crate uploaded to shipyard.rs fine.

      posted in Support
      R
      rel_0477
    • Rust Crates are uploaded with an incorrect compression method

      Apologies if this is in a correct format/too much information, but the forums guide just led to the Inedo website.

      When uploading via cargo publish, the published crates are unable to be viewed in the versions tab and are unable to be downloaded. The same crate packaged using cargo package is able to be uploaded manually fine and viewed/downloaded/etc. There are no errors within the actual act of cargo publish, and the verbose logs do not point to anything out of the unordinary.

      Hex dump of the crate uploaded to ProGet:

      00000000  99 06 00 00 7b 22 6e 61  6d 65 22 3a 22 62 72 69  |....{"name":"bri|
      00000010  64 67 65 22 2c 22 76 65  72 73 22 3a 22 30 2e 31  |dge","vers":"0.1|
      00000020  2e 30 22 2c 22 64 65 70  73 22 3a 5b 7b 22 6f 70  |.0","deps":[{"op|
      00000030  74 69 6f 6e 61 6c 22 3a  66 61 6c 73 65 2c 22 64  |tional":false,"d|
      00000040  65 66 61 75 6c 74 5f 66  65 61 74 75 72 65 73 22  |efault_features"|
      00000050  3a 74 72 75 65 2c 22 6e  61 6d 65 22 3a 22 62 72  |:true,"name":"br|
      00000060  69 64 67 65 2d 6c 6f 67  67 65 72 22 2c 22 66 65  |idge-logger","fe|
      00000070  61 74 75 72 65 73 22 3a  5b 22 70 61 6e 69 63 22  |atures":["panic"|
      00000080  5d 2c 22 76 65 72 73 69  6f 6e 5f 72 65 71 22 3a  |],"version_req":|
      00000090  22 5e 31 2e 30 2e 30 22  2c 22 74 61 72 67 65 74  |"^1.0.0","target|
      000000a0  22 3a 6e 75 6c 6c 2c 22  6b 69 6e 64 22 3a 22 6e  |":null,"kind":"n|
      000000b0  6f 72 6d 61 6c 22 2c 22  72 65 67 69 73 74 72 79  |ormal","registry|
      

      Hex dump of the same crate packaged with cargo package:

      00000000  1f 8b 08 08 00 00 00 00  02 ff 62 72 69 64 67 65  |..........bridge|
      00000010  2d 6c 6f 67 67 65 72 2d  31 2e 30 2e 30 2e 63 72  |-logger-1.0.0.cr|
      00000020  61 74 65 00 ed 5c fd 73  db c4 d6 e6 67 cf e4 7f  |ate..\.s....g...|
      00000030  58 5c 06 6c 70 ec c4 76  9c d6 fd 7a 43 92 96 f0  |X\.lp..v...zC...|
      00000040  a6 b4 93 84 cb f0 76 32  46 96 d6 f6 12 49 2b b4  |......v2F....I+.|
      00000050  52 5c 03 f9 df df e7 9c  95 64 c9 76 da 72 6f e9  |R\.......d.v.ro.|
      00000060  00 37 86 69 ad d5 7e 9c  ef f3 9c 23 b9 e3 58 79  |.7.i..~....#..Xy|
      00000070  53 b9 ed eb e9 54 c6 db  bb ed 9d f6 4e a7 ed 3a  |S....T......N..:|
      00000080  f1 54 8f ae 5d 33 52 e1  44 b7 7f 36 3a fc e4 3f  |.T..]3R.D..6:..?|
      00000090  f8 ec e0 33 e8 f7 37 8e  d3 67 77 b0 5b 7c c7 15  |...3..7..gw.[|..|
      000000a0  be ef f6 f6 fa f8 fb 93  8f f0 49 4d e2 c4 42 7c  |..........IM..B||
      000000b0  f2 5f fa f9 ad 26 44 7d  aa 92 fa 50 d0 57 5c 98  |._...&D}...P.W\.|
      

      ProGet error (only when trying to view the files)

      An error occurred in the web application: The archive entry was compressed using an unsupported compression method.
      
      URL: http://stage.pub.rip/feeds/rs/bridge/0.1.0/files
      Referrer: https://stage.pub.rip/feeds/rs/bridge/0.1.0
      User: Admin
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
      Stack trace:    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.ReadOutput(Byte* bufPtr, Int32 length, Int32& bytesRead)
         at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
         at System.IO.Compression.DeflateStream.ReadCore(Span`1 buffer)
         at System.IO.Compression.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
         at SharpCompress.IO.RewindableStream.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.IO.Stream.Read(Span`1 buffer)
         at SharpCompress.Utility.ReadFully(Stream stream, Span`1 buffer)
         at SharpCompress.Archives.GZip.GZipArchive.IsGZipFile(Stream stream)
         at SharpCompress.Readers.Tar.TarReader.Open(Stream stream, ReaderOptions options)
         at Inedo.ProGet.Feeds.PackageFileInfo.ListTarEntries(Stream stream)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGetCoreEx\Feeds\PackageFileInfo.cs:line 135
         at Inedo.ProGet.Feeds.PackageFileInfo.ListTgzEntries(Stream stream)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGetCoreEx\Feeds\PackageFileInfo.cs:line 147
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.ListFilesWithinPackageAsync(TPackage package, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGetCoreEx\Feeds\StandardCanonicalPackageFeed.cs:line 175
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.ListFilesWithinPackageAsync(TPackage package, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.ListFilesWithinPackageAsync(PackageVersionId purl, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGetCoreEx\Feeds\StandardCanonicalPackageFeed.cs:line 156
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.ListFilesWithinPackageAsync(PackageVersionId purl, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGetCoreEx\Feeds\StandardCanonicalPackageFeed.cs:line 156
         at Inedo.ProGet.Feeds.StandardCanonicalPackageFeed`5.ListFilesWithinPackageAsync(PackageVersionId purl, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
         at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
         at Inedo.ProGet.WebApplication.Pages.Packages.PackageFilesPage.AddDirectoriesAndFiles() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGet.WebApplication\Pages\Packages\PackageFilesPage.cs:line 63
         at Inedo.ProGet.WebApplication.Pages.Packages.PackageFilesPage.AddContentControlsAsync(ContentContainer content) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGet.WebApplication\Pages\Packages\PackageFilesPage.cs:line 39
         at Inedo.ProGet.WebApplication.Pages.Packages.PackagePageBase.CreateChildControlsAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGet.WebApplication\Pages\Packages\PackagePageBase.cs:line 113
         at Inedo.ProGet.WebApplication.Pages.ProGetSimplePage.InitializeAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E534044\Src\ProGet.WebApplication\Pages\ProGetSimplePage.cs:line 55
         at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
         at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
         at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      
      ::Web Error on 03/11/2025 03:21:41::
      

      I am able to upload the same crate to a service such as https://shipyard.rs, is there anything that I may be doing wrong in this scenario. Thank you.

      posted in Support
      R
      rel_0477