Skip to content

ssh_exchange_identification: Connection closed by remote host #503

Open

Description

@pfeodrippe

I was pushing my app to production and

...
...
...
...
...
Done, example-web-production:v7 deployed to Workflow

Use 'deis open' to view this application in your browser

To learn more, use 'deis help' or visit https://deis.com/

fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly

Now I can't push more releases

ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Activity

  1. bacongobbler commented on Apr 1, 2017

    @bacongobbler
    Member

    Hi there! To debug builder errors, can you follow the Troubleshooting Using Kubectl guide to grab the pod status using kubectl describe? If you can provide more info in a gist that'd be helpful. I have a feeling this is because the builder or the load balancer is flapping.

    Also what cloud provider is this? Has this been resolved since the report?

  2. pfeodrippe commented on Apr 4, 2017

    @pfeodrippe
    Author

    I'm using AWS.
    I've deleted the pod and it was created again. Now it appears to be working. There was a lot of slug builds with 'Completed' state like

    ...
    slugbuild-app-03e393cf-806e499c   0/1       Completed   0          16h
    slugbuild-app-47518ffc-db057d22   0/1       Completed   0          17h
    slugbuild-app-8d9c75fd-bfdd9d8b   0/1       Completed   0          17h
    slugbuild-app-91945f35-db840892   0/1       Completed   0          16h
    slugbuild-app-96089789-253a75f1   0/1       Completed   0          19h
    slugbuild-app-9d40299d-b3bbff1a   0/1       Completed   0          17h
    slugbuild-app-9d40299d-daacec4e   0/1       Completed   0
    

    A kubectl --namespace=deis logs deis-builder-4114410410-vgwwv gave me

    Accepted connection.
    ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> ---> panic: runtime error: slice bounds out of range
    
    goroutine 87771 [running]:
    panic(0x11acf20, 0xc4200180c0)
    	/usr/local/go/src/runtime/panic.go:500 +0x1a1
    github.com/deis/builder/vendor/golang.org/x/crypto/ssh.(*dsaPrivateKey).Sign(0xc4201e60e0, 0x1c22840, 0xc4200156e0, 0xc42048f140, 0x14, 0x20, 0x0, 0x800, 0xc42048f140)
    	/go/src/github.com/deis/builder/vendor/golang.org/x/crypto/ssh/keys.go:457 +0x3bf
    github.com/deis/builder/vendor/golang.org/x/crypto/ssh.signAndMarshal(0x1c2c000, 0xc4201e60e0, 0x1c22840, 0xc4200156e0, 0xc42048f140, 0x14, 0x20, 0xc4204cf10b, 0x132737d, 0x8, ...)
    	/go/src/github.com/deis/builder/vendor/golang.org/x/crypto/ssh/server.go:160 +0x6d
    github.com/deis/builder/vendor/golang.org/x/crypto/ssh.(*dhGroup).Server(0xc4200bf7a0, 0x7fd33be12a28, 0xc4203087e0, 0x1c22840, 0xc4200156e0, 0xc4203d4720, 0x1c2c000, 0xc4201e60e0, 0x40df84, 0x133bed3, ...)
    	/go/src/github.com/deis/builder/vendor/golang.org/x/crypto/ssh/kex.go:188 +0x511
    github.com/deis/builder/vendor/golang.org/x/crypto/ssh.(*handshakeTransport).server(0xc4205b4f20, 0x1c2bfc0, 0xc4200bf7a0, 0xc42039a980, 0xc4203d4720, 0x1, 0x0, 0xc420437440)
    	/go/src/github.com/deis/builder/vendor/golang.org/x/crypto/ssh/handshake.go:598 +0x1db
    github.com/deis/builder/vendor/golang.org/x/crypto/ssh.(*handshakeTransport).enterKeyExchange(0xc4205b4f20, 0xc420476540, 0xd9, 0xd9, 0x1, 0x0)
    	/go/src/github.com/deis/builder/vendor/golang.org/x/crypto/ssh/handshake.go:563 +0x3aa
    github.com/deis/builder/vendor/golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0xc4205b4f20)
    	/go/src/github.com/deis/builder/vendor/golang.org/x/crypto/ssh/handshake.go:282 +0x1ec
    created by github.com/deis/builder/vendor/golang.org/x/crypto/ssh.newServerTransport
    	/go/src/github.com/deis/builder/vendor/golang.org/x/crypto/ssh/handshake.go:135 +0x262
    
  3. Cryptophobia commented on Mar 21, 2018

    @Cryptophobia

    This issue was moved to teamhephy/builder#13

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions