Skip to content

Hijack is incompatible with use of CloseNotifier #12845

@delfick

Description

@delfick

Hi,

I upgraded my docker to 1.6 today (I believe it was on 1.5, but I'm not 100% sure).

I 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)

It would appear that compose has a similar problem (docker/compose#1275).

If I run an image with the docker cli it does work (for example, docker run -it ubuntu:14.04 /bin/bash)

I'm not entirely sure how to debug this issue.

Thanks

Stephen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions