Skip to content

Failed sending data to the peer with latest nightly #9697

@fourbytes

Description

@fourbytes

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-networkingArea: networking issues, curl, etc.C-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions