teamhephy / builder

MIT License
3 stars 12 forks source link

fatal: The remote end hung up unexpectedly #12

Open Cryptophobia opened 6 years ago

Cryptophobia commented 6 years ago

From @antoinedc on April 7, 2017 11:37

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?

Copied from original issue: deis/builder#506

Cryptophobia commented 6 years ago

From @antoinedc on April 7, 2017 15:50

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

Cryptophobia commented 6 years ago

From @bacongobbler on April 7, 2017 18:9

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.

Cryptophobia commented 6 years ago

From @antoinedc on April 7, 2017 21:33

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 "- - - " "-" - -