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

aiohttp==3.9 issues #833

Open
Artucuno opened this issue Nov 24, 2023 · 0 comments
Open

aiohttp==3.9 issues #833

Artucuno opened this issue Nov 24, 2023 · 0 comments
Labels
bug sprint:pyconus2024 Issues marked for the sprint in PyCon US 2024

Comments

@Artucuno
Copy link

Long story short

  • Expected behaviour:
    Features like attach stdin to work
  • Actual behaviour:
aiodocker.exceptions.DockerError: DockerError(500, "Cannot upgrade connection to vendored tcp protocol, the docker server has closed underlying socket. Status code: 101. Headers: <CIMultiDictProxy('Content-Type': 'application/vnd.docker.multiplexed-stream', 'Connection': 'Upgrade', 'Upgrade': 'tcp')>.")

How to reproduce

stream = container.attach(stdin=True, logs=True)
await stream.write_in(str(cmd + '\n').encode('utf-8'))

Your environment

aiohttp==3.9

Downgrading to aiohttp 3.8 fixed it, but support for 3.9 would be nice. Thanks

@achimnol achimnol added bug sprint:pyconus2024 Issues marked for the sprint in PyCon US 2024 labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug sprint:pyconus2024 Issues marked for the sprint in PyCon US 2024
Projects
None yet
Development

No branches or pull requests

2 participants