question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keep getting error message 'Remote has disconnected'

See original GitHub issue

Description

I upgraded the app to v.8, and every push to the remote end with a ‘remote has disconnected’ error

Version

GitHub Desktop version: [0.8.0]

OS version: [OSX 10.12.6]

Steps to Reproduce

Commit to local Click the push to origin

Expected behavior: [Push to finish loading to remote]

Actual behavior: [failure screen shot 2017-08-25 at 9 54 57 am ]

Reproduces how often: [100%]

Logs

Additional Information

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:24 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
TLGustavcommented, Nov 1, 2017

Thanks for clearing up Markus.

I “knew” this, but I wanted to ask because I considered this answer so unlikely.

I hate to state the obvious, but if you develop on media projects, 2Gb+ is standard, and binary files are a natural part of your IDE workflow.

With regards to Git not supporting 2GB, that leaves the following options for projects like this:

a) Git + another overlapping sync/cloud solution (high maintenance and messy - not happening) b) No versioning (nope - need that versioning) c) Another versioning software.

a) and b) are out of the question. Thus c) is the only viable option.

As a paying customer hoping to go full Git, I’m disappointed (and a bit shocked) that Git doesn’t support big projects out of the box, and I’m very annoyed that Git deals with the problem by just running for hours before crashing with an ambiguous message. This is pretty much the worst case scenario in terms of wasting users’ time, and also contributes to the confusion of thinking “I can get this to work… right?”.

It’s now almost two months since I wrote about this.

Gustav C. Tresselt TenkLabs AS +47 98447222

On Wed, Nov 1, 2017 at 1:29 PM, Markus Olsson notifications@github.com wrote:

As has been said earlier in this thread we don’t believe this issue is related to GitHub Desktop. There is a hard limit of 2GB for pushes to GitHub.com which is enforced server-side and I suspect that’s what most of you are hitting here. Additionally there’s a soft limit https://help.github.com/articles/what-is-my-disk-quota/ or recommendation of keeping your repositories under 1Gb.

You can try breaking up your pushes into smaller chunks by pushing a subset of your commits but a better solution would be to use Git Large File Storage https://help.github.com/articles/about-git-large-file-storage/ which is designed to support these scenarios. See also Working With Large Files https://help.github.com/articles/working-with-large-files/ in our help documentation.

For people having problems pushing repositories well under the 2GB limit we recommend you contact our support team at github.com/support as they can help you debug any network interference that may be present in between you and our data centers.

We’ve experimented with reducing the upload size (just temporarily moving big files out), but no luck.

Note that due to the way Git stores files in perpetuity it’s not straightforward to reduce the size of a repository. Have a look at some of the tooling that’s available such as BFG https://rtyley.github.io/bfg-repo-cleaner/ but be aware that rewriting your repository should be done with utmost care and caution and with backups readily available.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/desktop/desktop/issues/2545#issuecomment-341093103, or mute the thread https://github.com/notifications/unsubscribe-auth/AciWv0aS7K10JI8k23mK1Mr0gqJMy_QLks5syGQ8gaJpZM4PCtCX .

2reactions
cilmoncommented, Feb 13, 2018

I had the same problem and I think it is related to the files size of your repository. I fixed the problem by running this on console in your git’s folder:

git config http.postBuffer 524288000

I hope it can help you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Remote desktop disconnected errors
Error message 2. Remote desktop disconnected. Because of a security error, the client could not connect to the remote computer.
Read more >
How to Resolve Remote Desktop Disconnected Error
Remote Desktop disconnected error may occur in multiple ways. Find the exact cause and resolve it with the appropriate steps for each case....
Read more >
Fix: You have been disconnected because another ...
If you're getting You have been disconnected because another connection was made to the remote computer error on Windows 10, fix it here....
Read more >
SOLVED Remote users keep getting "The connection has ...
Two of the five remote users keep getting disconnected from RDS with this error message many times per hour throughout the whole day:....
Read more >
PSMRD001E User was disconnected from remote machine ...
PSMRD001E User was disconnected from remote machine. Reason: [An internal error has occurred.] (Code: <error_code>).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found