Skip to content
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

Failed sending data to the peer with latest nightly #9697

Open
fourbytes opened this issue Jul 16, 2021 · 3 comments
Open

Failed sending data to the peer with latest nightly #9697

fourbytes opened this issue Jul 16, 2021 · 3 comments
Labels
A-networking Area: networking issues, curl, etc. C-bug Category: bug

Comments

@fourbytes
Copy link

Problem

Builds inside docker containers (CI) seem to fail on nightly versions > 2021-07-05.

error: failed to compile `sccache v0.2.15`, intermediate artifacts can be found at `/tmp/cargo-installYaFAmQ`

Caused by:
failed to download from `https://crates.io/api/v1/crates/async-io/1.6.0/download`

Caused by:
[55] Failed sending data to the peer (Connection died, tried 5 times before giving up)

Steps

  1. Build a project inside a docker container.

Possible Solution(s)

Using nightly 2021-07-05 with rustup default nightly-2021-07-05 appears to fix the issue.

Notes
May be related to #6513.
https://github.community/t/failed-sending-data-to-the-peer-connection-died-tried-5-times-before-giving-up/189130

Output of cargo version:
cargo 1.55.0-nightly (3ebb5f15a 2021-07-02) (oddly this is the same version that seems to fail in the latest nightly builds).

@fourbytes fourbytes added the C-bug Category: bug label Jul 16, 2021
@hi-rustin
Copy link
Member

Is it a duplicate of rust-lang/crates.io#3782?

@fourbytes
Copy link
Author

Is it a duplicate of rust-lang/crates.io#3782?

Yep, apologies, searched for the error but didn't see any results.

@ehuss
Copy link
Contributor

ehuss commented Jul 16, 2021

The next nightly (in about 12 hours from the time of this post) should have a temporary workaround in #9695.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-networking Area: networking issues, curl, etc. C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

3 participants