Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh_exchange_identification: Connection closed by remote host #503

Open
pfeodrippe opened this issue Mar 30, 2017 · 3 comments
Open

ssh_exchange_identification: Connection closed by remote host #503

pfeodrippe opened this issue Mar 30, 2017 · 3 comments

Comments

@pfeodrippe
Copy link

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.
@bacongobbler
Copy link
Member

bacongobbler commented Apr 1, 2017

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?

@pfeodrippe
Copy link
Author

pfeodrippe commented Apr 4, 2017

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

@Cryptophobia
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants