You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compose should send connection upgrade headers #3700
In this version of the API, /attach, uses hijacking to transport stdin, stdout, and stderr on the same socket.
To hint potential proxies about connection hijacking, Docker client sends connection upgrade headers similarly to websocket.
Upgrade: tcp
Connection: Upgrade
On Docker for Desktop, the proxy that sits between Docker Compose and the daemon will not be aware that the connection will be hijacked. This can lead to an issue where the proxy will install a CloseNotifier and just after that will hijack the connection, which is know to be incompatible. See #3685
Activity
justincormack commentedon Jul 7, 2016
We have a hacky workaround now in docker 4 mac/win, but it would be nice to fix this.
aanand commentedon Jul 7, 2016
Makes sense. I think the fix needs to go in docker-py.
justincormack commentedon Jul 8, 2016
@aanand do you think there is a chance of fixing this for 1.8? It is proving very hard to work around for docker for mac.
dgageot commentedon Jul 8, 2016
Just submitted a patch to docker-py. Not sure I've got it all right, though docker/docker-py#1124
aanand commentedon Jul 22, 2016
Support has gone in with docker/docker-py#1130, so we just need to do a docker-py release and update the version in
requirements.txt.aanand commentedon Jul 27, 2016
OK, this should now be closed by #3769
shin- commentedon Jul 27, 2016
Those changes unfortunately did not make it in docker-py 1.9