-
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
bugsprint:pyconus2024Issues marked for the sprint in PyCon US 2024Issues marked for the sprint in PyCon US 2024
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugsprint:pyconus2024Issues marked for the sprint in PyCon US 2024Issues marked for the sprint in PyCon US 2024