Skip to content

network zlib stream error confusion #8517

@ehuss

Description

@ehuss

Problem
On rust-lang/rust CI, I've been noticing this error happening a lot lately:

    Updating crates.io index
error: failed to get `cc` as a dependency of package `bootstrap v0.0.0 (D:\a\1\s\src\bootstrap)`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  error inflating zlib stream; class=Zlib (5)

I think the CI has been having network problems in general, but this error in particular seems a little confusing to me. I don't know what would cause this error. I think it might be helpful to understand this error case a little better.

Here is the corresponding error in libgit2.

Should this error class be added to the spurious error list? What can possibly cause this to happen?

Notes

cargo 1.46.0-beta (4f74d9b2a 2020-07-08)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-gitArea: anything dealing with gitC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions