aiohttp==3.9 issues
Artucuno opened this issue · comments
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