Error when publishing branch: "The remote disconnected. Check your Internet connection and try again."
See original GitHub issueDescription
When I try to publish my branch to Github from Github Desktop, it stalls on “Pushing to origin” before showing the following error: “The remote disconnected. Check your Internet connection and try again.”
I’ve also tried pushing through Command Prompt but again see a fatal error (screenshot).
Version
- GitHub Desktop: Version 1.1.1
- Git: 2.17.0
- Operating system: Windows 10 Home
Steps to Reproduce
- Create a new repository on github.com and open in GitHub desktop.
- Create a new branch via GitHub desktop.
- Add some files and commit to the new branch.
- Try to publish the branch to GitHub.
Expected Behavior
Branch should be published to GitHub website.
Actual Behavior
Fatal error prevents branch from being published.
Additional Information
I have seen other bug reports for this issue, but none of the suggested fixes have worked for me.
My network connection is good and stable. I’m not behind a firewall.
The repository contains two files, one of which being a large CSV (146MB). I have tried “git config --global http.postBuffer 157286400” without success.
Logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Failed to publish branch to remote Github repository
I have tried using the command git push -u origin main to push changes through the terminal and it still gives me an...
Read more >Fix Network Disconnected Please Check Your ... - YouTube
Thank You Everyone So Much For Watch My Video On " Fix Network Disconnected Please Check Your Internet Connection And Try Again Error...
Read more >Frequently Encountered Orchestrator Errors
Bad request and. The remote host did not answer in a timely manner. The issues occur when not all users on a machine...
Read more >How to use the dugite.GitError.RebaseConflicts function in dugite ...
RemoteDisconnection: return 'The remote disconnected. Check your Internet connection and try again.' case DugiteError.HostDown: return 'The host is down.
Read more >Troubleshoot SD-WAN Control Connections - Cisco
As part of troubleshooting, ensure that you have the connectivity to the controller. Use Internet Control Message Protocol (ICMP) and/or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Where do i put this command?
Note to any others experiencing this problem: for me it stemmed from my project folder being saved onto another internal hard drive (M:) instead of my main drive (C:). Creating the repository on my desktop and copying everything over fixed the issue for me.