{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12845","labels_url":"https://api.github.com/repos/docker/docker/issues/12845/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12845/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12845/events","html_url":"https://github.com/docker/docker/issues/12845","id":71567173,"number":12845,"title":"Hijack is incompatible with use of CloseNotifier","user":{"login":"delfick","id":109301,"avatar_url":"https://avatars.githubusercontent.com/u/109301?v=3","gravatar_id":"","url":"https://api.github.com/users/delfick","html_url":"https://github.com/delfick","followers_url":"https://api.github.com/users/delfick/followers","following_url":"https://api.github.com/users/delfick/following{/other_user}","gists_url":"https://api.github.com/users/delfick/gists{/gist_id}","starred_url":"https://api.github.com/users/delfick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delfick/subscriptions","organizations_url":"https://api.github.com/users/delfick/orgs","repos_url":"https://api.github.com/users/delfick/repos","events_url":"https://api.github.com/users/delfick/events{/privacy}","received_events_url":"https://api.github.com/users/delfick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-28T11:50:27Z","updated_at":"2015-04-28T16:48:23Z","closed_at":null,"body":"Hi,\r\n\r\nI upgraded my docker to 1.6 today (I believe it was on 1.5, but I'm not 100% sure).\r\n\r\nI now have a problem where my docker client gives me ``docker.errors.APIError: 500 Server Error: Internal Server Error (\"http: Hijack is incompatible with use of CloseNotifier\")`` when I try to post to ``/containers/<container>/attach`` (my client uses dockerpty and docker-py)\r\n\r\nIt would appear that compose has a similar problem (https://github.com/docker/compose/issues/1275).\r\n\r\nIf I run an image with the docker cli it does work (for example, docker run -it ubuntu:14.04 /bin/bash)\r\n\r\nI'm not entirely sure how to debug this issue.\r\n\r\nThanks\r\n\r\nStephen.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/97134612","html_url":"https://github.com/docker/docker/issues/12845#issuecomment-97134612","issue_url":"https://api.github.com/repos/docker/docker/issues/12845","id":97134612,"user":{"login":"delfick","id":109301,"avatar_url":"https://avatars.githubusercontent.com/u/109301?v=3","gravatar_id":"","url":"https://api.github.com/users/delfick","html_url":"https://github.com/delfick","followers_url":"https://api.github.com/users/delfick/followers","following_url":"https://api.github.com/users/delfick/following{/other_user}","gists_url":"https://api.github.com/users/delfick/gists{/gist_id}","starred_url":"https://api.github.com/users/delfick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delfick/subscriptions","organizations_url":"https://api.github.com/users/delfick/orgs","repos_url":"https://api.github.com/users/delfick/repos","events_url":"https://api.github.com/users/delfick/events{/privacy}","received_events_url":"https://api.github.com/users/delfick/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T16:48:23Z","updated_at":"2015-04-28T16:48:23Z","body":"I agree, removing the build step makes it work (my docker client reads yaml that embeds the dockerfile and so it always rebuilds the image before running)\r\n\r\nI'll put in code that recreates the connection for now. Good to see there's an actual fix in the pipeline.\r\n"}}