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 duringcargo buildit'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`)
...
``