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

fatal: The remote end hung up unexpectedly #506

Closed
antoinedc opened this issue Apr 7, 2017 · 6 comments
Closed

fatal: The remote end hung up unexpectedly #506

antoinedc opened this issue Apr 7, 2017 · 6 comments

Comments

@antoinedc
Copy link

Hi,

I'm trying to push a codebase that's ~140mb, and I keep getting the fatal: The remote end hung up unexpectedly error.

The timeout on my ELB is 3600 (max), and looking at other threads I couldn't find any other solutions to fix that besides upping this value.

Is there any other way to push the code with Deis?

@antoinedc
Copy link
Author

Happens during the build phase as well after the code is pushed.

@bacongobbler
Copy link
Member

You can try deis pull which fetches a pre-built docker image from a registry.

Can you check your load balancer's logs? Something somewhere along the connection is hanging up.

@antoinedc
Copy link
Author

I'm able to deploy a docker image (I tried this one: https://github.com/deis/example-dockerfile-http)

Here are the ELB logs I have:

2017-04-07T19:30:27.092415Z a7532836e1b6c11e7a380068441a7376 81.57.247.210:55685 172.20.35.81:31981 0.001049 0.000009 0.000012 - - 84844701 136812 "- - - " "-" - -
2017-04-07T20:02:11.684242Z a7532836e1b6c11e7a380068441a7376 81.57.247.210:53724 172.20.53.112:31561 0.000516 0.000009 0.000013 - - 676 0 "- - - " "-" - -
2017-04-07T20:02:31.239449Z a7532836e1b6c11e7a380068441a7376 81.57.247.210:54035 172.20.47.99:31981 0.000824 0.000009 0.000013 - - 81989361 132288 "- - - " "-" - -
2017-04-07T20:47:28.468987Z a7532836e1b6c11e7a380068441a7376 54.185.127.203:65195 172.20.53.112:31793 0.000507 0.000009 0.000013 - - 289 1427 "- - - " "-" - -
2017-04-07T20:37:59.391204Z a7532836e1b6c11e7a380068441a7376 209.126.136.2:32946 172.20.35.81:31561 0.000896 0.000009 0.000012 - - 191 407 "- - - " "-" - -

@Cryptophobia
Copy link

This issue was moved to teamhephy/builder#12

@luanguimaraesla
Copy link

Hey @antoinedc, do you remember how did you solve this problem? :/ I'm facing the same issue here.

@Cryptophobia
Copy link

Hi @luanguimaraesla , have you tried to increase the timeout on the ELB for a start?

https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html

The other solution is to not build but to pre-build the image and to use deis pull just like @bacongobbler mentioned.

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

4 participants