-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression found in 1.67: Timeout downloading crates from custom registry #12077
Comments
Can you include the output of What server are you running (what is the host OS, the web server, the registry implementation, etc.)? Does it still happen on nightly? |
Note that I do not control the Jenkins CI environment. I do control the docker image being used in there though. I just tried in the docker image locally but couldn't reproduce... :( Here's the info from inside the docker container:
The registry is Alexandrie. Suprisingly it worked using nightly!
|
Yes, beta worked too.
I'm looking at the issue/PR for some possible workaround to my issue. |
Thanks for helping the confirmation. Go ahead and close this, as Rust the project doesn't have a policy of backporting older version of toolchain, and this issue has been resolved in the current beta channel. If you find something useful, feel free to share here or elsewhere :) |
I was able to make it work with Rust 1.69 by clearing both Thanks for the help into identifying the issue! Now into fighting Jenkins to clear the variable... |
So I couldn't clear the |
Problem
I am in the process of updating to 1.69 in some repos and found what I believe to be a regression.
The CI process started to fail trying to download the crates from a custom registry (named
internal-registry
here):At first a connection issue was though to be causing this, but the problem was constant over many weeks. Adding a
curl
call to download the crate right before thecargo
call was able to download the crate too so it isn't caused by a network issue.Unfortunately the problem occurs inside Jenkins (using a
kubernetes
agent) and I cannot reproduce this locally (macOS). Jobs were ran with all Rust versions since 1.60 to see if it could be caused by the toolchain update.All versions from 1.60 to 1.66 succeeded in CI, while 1.67 stopped working with the error above.
Looking at cargo CHANGELOG for 1.67 the only line that jumps to me is the last one of the Changed section:
Looking at #11307 in particular mentions the update:
A lot has changed between those two libcurl versions so I'm not sure what to look for.
The text was updated successfully, but these errors were encountered: