Skip to content

Unspecific protocol error detected #2755

Open
@henryiii

Description

@henryiii

I moved Scientific-Python's cookie over to uv, which due to the large number of installs needed when testing a cookiecutter with 11 backends, really saved a lot of time, taking some jobs from 6 minutes to 3 minutes. However, the jobs have become flakey. I've first noticed it with the PyPy job, but just got it with the CPython 3.12 macOS job:

nox > Command uv pip install '.[test]' failed with exit code 2:
Resolved 7 packages in 8ms
error: Failed to download distributions
  Caused by: Failed to fetch wheel: cookie-maturin @ file:///Users/runner/work/cookie/cookie/.nox/tests-maturin-novcs/tmp/cookie-maturin
  Caused by: Failed to build: cookie-maturin @ file:///Users/runner/work/cookie/cookie/.nox/tests-maturin-novcs/tmp/cookie-maturin
  Caused by: Failed to install requirements from build-system.requires (install)
  Caused by: Failed to download and build distributions
  Caused by: Failed to fetch wheel: maturin==1.5.1
  Caused by: Failed to extract archive
  Caused by: request or response body error: error reading a body from connection: stream error received: unspecific protocol error detected
  Caused by: error reading a body from connection: stream error received: unspecific protocol error detected
  Caused by: stream error received: unspecific protocol error detected

https://github.com/scientific-python/cookie/actions/runs/8504663817/job/23291927556?pr=395

Here's a PyPy linux failure:

nox > Command uv pip install cookiecutter poetry failed with exit code 2:
Resolved 56 packages in 465ms
error: Failed to download distributions
  Caused by: Failed to fetch wheel: rapidfuzz==3.7.0
  Caused by: Failed to extract archive
  Caused by: request or response body error: error reading a body from connection: stream error received: unspecific protocol error detected
  Caused by: error reading a body from connection: stream error received: unspecific protocol error detected
  Caused by: stream error received: unspecific protocol error detected

https://github.com/scientific-python/cookie/actions/runs/8503847665/job/23289923070

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-mreNeeds more information for reproduction, see #9452networkNetwork connectivity e.g. proxies, DNS, and SSL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions