-
Notifications
You must be signed in to change notification settings - Fork 758
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
Timeout when downloading submodules recursively, even though I can clone them individually #4578
Comments
Hey @JeffreyBenjaminBrown - is it possible you have restrictive network settings? The submodules that are all failing for you are using the git protocol which is frequently blocked in restrictive/corporate settings. See [1] [2] [3] [1] https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols |
My OS is a vanilla KUbuntu (KDE + Ubuntu) 18.04, on my home laptop. I've never messed with network settings beyond adding Wifi networks. When you say network settings, you're not talking about my Git setup, correct? I just dug into my System Settings and I don't even see anything particularly "secure" about it -- the firewall is off, and that's the only obvious access-restriction option. Would restrictive settings have the effect that some repos download recursively with no complaint while others don't, and the ones that don't can still be cloned without complaint? |
Is there any reason not to just clone each of the submodules by hand? |
You were right, it was the network. My computer was fine but my router seems to have something firewalled. I didn't fix the router, but I instead (inspired by this issue) I connected through my phone, and the download worked. And to answer my previous question,
I tried that and it sucked pretty hard. There are submodules in more places than external_libraries/, and it takes more than just downloading them to the right place; there's some kind of linking that you'd have to forge too, which I didn't understand. |
For anyone struggling to clone submodules, this is what fixed it for me. In my case, the problem was that my machine wasn't cloning repos through The solution was to force git to always replace
|
@berteodosio thanks for the comment. Just FYI - we had a number of submodules that were using |
(This issue appear to have arisen before but I don't see a solution there.)
I am installing Supercollider from source onto Linux (Debian, more specifically Kubuntu). The
--recurse-submodules
argument togit clone
downloaded precisely one library (Abletonlink
), then timed out onnova-tt
. I tried runninggit submodule init && git submodule update
a few times, and it kept timing out. So I just clonednova-tt
by hand and moved it to theexternal_libraries
folder of SuperCollider. Then when I triedgit submodule init && git submodule update
again, it skippednova-tt
, but timed out on other things.I read somewhere online that this could be due to a misconfigured
.gitmodules
file, but I see nothing wrong with it.The output I get looks like this:
The text was updated successfully, but these errors were encountered: