Repo clones over HTTPS are broken for slow connections #135808
Unanswered
ell1e
asked this question in
Repositories
Replies: 1 comment 2 replies
-
This is still broken as of today, 2024-11-07. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Introduction: Repo clones over HTTPS are broken for slow connections due to what seems to be an error on GitHub's end, and GitHub apparently doesn't plan to fix it. This is can be a big issue since e.g. this also breaks any submodules or install scripts that indirectly access any GitHub repo of any kind that isn't trivially sized.
I am writing this here so people can reference this issue.
This is who is affected:
Your connection is reliable enough to download 100MB+ files without a hiccup or need to pause and resume in at least the majority of cases.
You can clone big repositories on gitlab.com and codeberg.org and other alternate git repository platforms without issues, other than at most rare hiccups which don't repeat on 2nd try.
But your connection is DSL era slow, 5mbit/s or slower.
This is how it looks like:
This is why it seems to be an error on Github's end:
I found others with the same problem, although due to people usually having faster internet it's somewhat rare.
Cloning similarly sized or magnitudes larger repositories with HTTPS from any other platform like gitlab.com works fine, just github.com is affected.
Cloning the repositories from GitHub via SSH instead works.
Downloading anything else, like archives, of even larger size via HTTPs from GitHub works. Only HTTPS git clone doesn't.
GitHub's support admitted in response to me that this is likely a problem on their end, but that they don't plan to fix it any time soon. At least this is my understanding of their responses.
Beta Was this translation helpful? Give feedback.
All reactions