Skip to content

"http: Hijack is incompatible with use of CloseNotifier in same ServeHTTP call" errors #3685

Closed

Description

@justincormack

Using 1.8-rc1 and docker 1.12-rc3 with the following compose file:

version: '2'
services:
  test:
    build:
      context: .

and Dockerfile:

FROM alpine

If I do:

whale:comprun justin$ docker-compose build test
Building test
Step 1 : FROM alpine
 ---> f70c828098f5
Successfully built f70c828098f5
whale:comprun justin$ docker-compose run test ls
http: Hijack is incompatible with use of CloseNotifier in same ServeHTTP call
                                                                             http: Hijack is incompatible with use of CloseNotifier in same ServeHTTP call
                                                                                                                                                          whale:comprun justin$ 

Looks like a missed case in #1374

cc @dnephin

Activity

  1. added this to the 1.8.0 milestone on Jul 4, 2016
  2. SantoDE commented on Jul 5, 2016

    @SantoDE

    I now have the same issue. Just upgraded and my compose setup refuses to start :(

  3. jonniedarko commented on Jul 5, 2016

    @jonniedarko

    @SantoDE I was able to restart after I removed all containers , I still get the log jack is incompatible with use of CloseNotifier in same ServeHTTP call and no other log outs (which is concerning) but everything seems to be running fine

  4. SantoDE commented on Jul 5, 2016

    @SantoDE

    @jonniedarko oh you are right. The containers are up, but I dont have any more logs. Still an issue then I guess :/ cc: @justincormack

  5. DejaAugustine commented on Jul 5, 2016

    @DejaAugustine

    Docker version 1.12.0-rc3, build 91e29e8, experimental is pretty much non-functional for me due to this bug.

    I was lucky in that I still had an old Docker.dmg from May with Docker version 1.11.0, build 4dc5990 on it, but this change is seriously breaking.

  6. PatrickDRusk commented on Jul 5, 2016

    @PatrickDRusk

    Busted in Boston, too.

  7. SantoDE commented on Jul 5, 2016

    @SantoDE

    Hopefully the docker team can fix that fast :/

  8. javawolfpack commented on Jul 5, 2016

    @javawolfpack

    Fingers crossed... was having no issues until I just installed the update. Had this one after fixing another that required me to rebuild my containers...

  9. JonathanTech commented on Jul 5, 2016

    @JonathanTech

    Well, I get that error, but if I run docker-compose in daemon mode everything seems to be working fine.

  10. JonathanTech commented on Jul 5, 2016

    @JonathanTech

    I can still attach using docker exec -it <container_name> bash and everything is working as expected. docker attach also works as expected.

  11. javawolfpack commented on Jul 5, 2016

    @javawolfpack

    I need to run one of my containers in bash currently... so this is causing a significant headache :(

  12. dnephin commented on Jul 5, 2016

    @dnephin

    Did this just start happening with RC3? It was fine with RC2?

  13. emgeee commented on Jul 5, 2016

    @emgeee

    +1 for this issue. Just upgraded to Docker for Mac Version 1.12.0-rc3-beta18 (build: 9969) and I'm running into this issue

  14. javawolfpack commented on Jul 5, 2016

    @javawolfpack

    @JonathanTech that's interesting... maybe I can run it manually but fails when I try interactive bash from compose.

  15. 33 remaining items

  16. justincormack commented on Jul 6, 2016

    @justincormack
    ContributorAuthor

    Apologies for this, a hotfix has been released and it should be safe to update.

  17. Manoj-nathwani commented on Jul 6, 2016

    @Manoj-nathwani

    Updated to latest version of docker which fixed the issue 😄

  18. jonniedarko commented on Jul 6, 2016

    @jonniedarko

    +1

    On Wed, Jul 6, 2016, 8:13 AM Manoj Nathwani [email protected]
    wrote:

    Updated to latest version of docker which fixed the issue 😄

    —
    You are receiving this because you were mentioned.
    Reply to this email directly, view it on GitHub
    #3685 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe/ADgPVy99v0JjGB6Kkm9Hu_mjY8FhugmGks5qS5vygaJpZM4JEgw5
    .

  19. cap10morgan commented on Jul 6, 2016

    @cap10morgan

    Running the latest Docker for Mac that mine says is available (1.12.0-rc3-beta18 build: 9969), I still get this error trying to bring up docker-compose stacks.

  20. jamshid commented on Jul 6, 2016

    @jamshid

    @justincormack where is the hotfix? "Check for updates" says my rc3 Beta 18 is the latest but I still get the [Hi]jack is incompatible with use of CloseNotifier in same ServeHTTP call error.

    $ docker version
    Client:
     Version:      1.12.0-rc3
     API version:  1.24
     Go version:   go1.6.2
     Git commit:   91e29e8
     Built:        Sat Jul  2 00:09:24 2016
     OS/Arch:      darwin/amd64
     Experimental: true
    
    Server:
     Version:      1.12.0-rc3
     API version:  1.24
     Go version:   go1.6.2
     Git commit:   876f3a7
     Built:        Tue Jul  5 02:20:13 2016
     OS/Arch:      linux/amd64
     Experimental: true
    
  21. gitnickgit commented on Jul 6, 2016

    @gitnickgit

    current master should be rolled back and set as current release. This way new users don't get something that is broken right off the bat.

  22. antipin commented on Jul 6, 2016

    @antipin

    Docker version 1.12.0-rc3, build 91e29e8, experimental
    Still have this error:

    Creating api_data_1
    Creating api_db_1
    Creating api_api_1
    Attaching to api_data_1, api_db_1, api_api_1
    db_1    | jack is incompatible with use of CloseNotifier in same ServeHTTP call
    api_1   | jack is incompatible with use of CloseNotifier in same ServeHTTP call
    data_1  | jack is incompatible with use of CloseNotifier in same ServeHTTP call
    api_data_1 exited with code 0
    
  23. antipin commented on Jul 6, 2016

    @antipin
  24. simonamdev commented on Jul 7, 2016

    @simonamdev

    I just started getting this issue this morning and I'm on windows. I did check for updates at it says I am up to date.

    docker version

    image

  25. justincormack commented on Jul 7, 2016

    @justincormack
    ContributorAuthor

    Sorry, we pulled the update temporarily for other reasons. If you still have the issue, you can reinstall the previous version or wait a few hours.

  26. tejasmanohar commented on Jul 11, 2016

    @tejasmanohar

    @antipin I'm getting beta-18 when I use that link. know if there's an archive somewhere?

  27. antipin commented on Jul 11, 2016

    @antipin

    @tejasmanohar if you for some reason can't recreate your containers, the only solution I saw is here moby/moby#24343 (comment)

    If you are using docker in a right way and don't persist your data inside containers, I guess you have no reason not to update to the latest version, recreate containers and it will be ok ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions