Navigation

    Inedo Community Forums

    Forums

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

    jolaka9284_9458

    @jolaka9284_9458

    0
    Reputation
    2
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jolaka9284_9458 Follow

    Best posts made by jolaka9284_9458

    This user hasn't posted anything yet.

    Latest posts made by jolaka9284_9458

    • RE: ProGet slow fetching cargo packages

      Hello. Excuse me, I failed to provide basic stuff.

      What version of ProGet you are running?

      • It's 2025.17 (Build 12).

      Is your config.toml configured to proxy all cargo requests through ProGet (overriding [source.crates-io])?

      • Yes
      [source.crates-io]
      replace-with = "cds_registry"
      
      [registries.cds_registry]
      index = "sparse+http://serverhost.example.com:8624/cargo/public-cargo/"
      #Seems to be needed even though we allow anonymous access
      token = ""
      
      [registry]
      default = "cds_registry"
      global-credential-providers = ["cargo:token"]
      
      [net]
      #network retries
      retry = 10
      #tells cargo to use git when fetching from the registry instead of the cargo default libgit2
      git-fetch-with-cli = true
      

      git-fetch-with-cli = false made no difference.

      I also used the default config.toml config and it was the same thing:

      [registries]
      proget = {index = "sparse+http://serverhost.example.com:8624/cargo/public-cargo/" }
      
      [registry]
      default = "proget"
      
      [source]
      [source.proget]
      registry = "sparse+http://serverhost.example.com:8624/cargo/public-cargo/"
      [source.crates-io]
      replace-with = "proget"
      

      Do you have connector package caching and/or metadata caching enabled?

      • I have Connector Crate Caching enabled, with a cache size of 38 MB. No retention policy
        (However if I check what the total size we downloaded during cargo build it's 856 MB)
      • Metadata caching was not enabled (Enabling this did not make a difference)

      Are you using SQL Server or PostgreSQL (the embedded database, InedoDB, etc..)?

      • We installed using docker so i'm guessing InedoDB? Checking proget-database under /home/ I can see postgresql

      Is it also possible to get a list of your HTTP requests and timings made during these? I don't need the response body, but the URL Path (host and feed names can be anonymized), response time taken, and response code is all I really need. In ProGet 2025, you can enable HTTP Request Logging to obtain these.

      • You can download the file here. https://send.vis.ee/download/cc7739c4f7f93c3b/#qJl3zTC6C3G7OFea5fWaDg
        Expires after 10 downloads or 3days

      .
      .
      .
      .
      .

      We also get alot of timeouts after having a clean slate.
      rm -rf ~/.cargo/registry/cache/*
      rm -rf ~/.cargo/registry/index/*
      cd nytest
      cargo clean
      cargo build

      superuser@debian:~/nytest$ cargo build
          Updating `cds_registry` index
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30002 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30002 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30002 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30002 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30002 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
      warning: spurious network error (10 tries remaining): [28] Timeout was reached (Operation timed out after 30001 milliseconds with 0 bytes received)
        Downloaded aho-corasick v1.1.4 (registry `cds_registry`)
        Downloaded anstyle v1.0.13 (registry `cds_registry`)
        Downloaded anstream v0.6.21 (registry `cds_registry`)
        Downloaded anstyle-query v1.1.5 (registry `cds_registry`)
        Downloaded anstyle-parse v0.2.7 (registry `cds_registry`)
        Downloaded anyhow v1.0.100 (registry `cds_registry`)
        Downloaded arrayref v0.3.9 (registry `cds_registry`)
        Downloaded arrayvec v0.7.6 (registry `cds_registry`)
        Downloaded atomic-waker v1.1.2 (registry `cds_registry`)
        Downloaded autocfg v1.5.0 (registry `cds_registry`)
        Downloaded base64 v0.22.1 (registry `cds_registry`)
      ...
      ``
      posted in Support
      J
      jolaka9284_9458
    • ProGet slow fetching cargo packages

      Hello.

      We have currently two package mirrors on the same server running, trying to replace one, and evaluating ProGet as that's the one we wanna switch to.

      When doing a cargo build with these dependencies:

      [dependencies]
      anyhow = "*"
      bollard = "0.19"
      blake3 = "^1.5"
      clap =  { version = "=4.5.32", features = ["wrap_help"] }
      macaddr = { version = "1.0", features = ["serde_std"] }
      optional_struct = { version = "0.5" }
      regex-lite = { version = "0.1.6" }
      tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros", "net", "sync", "io-util", "time", "fs"] }
      serde = { version = "*", features = ["derive"] }
      serde_json = "1.0"
      tracing = "0.1"
      tracing-subscriber = { version = "0.3", features = ["env-filter"] }
      tracing-journald = { version = "0.3"}
      nix = "*"
      

      We get a very slow fetching of packages. To compare: we counted seconds for a build to complete for each, you and artifactory. Both with cache cleared
      Proget : 88s
      Artifactory : 15s

      We are not familiar with ProGet so I wish for some help regarding why these numbers are so far apart, we are on the trial license currently.

      posted in Support
      J
      jolaka9284_9458