Updating Git Submodule Fails

I am trying to clone a git repo that contains submodules onto a Namecheap shared server using SSH. The ‘git clone’ command worked fine, except that one of my submodules failed. When I try to run ‘git submodule update’ it fails as well. I get the error;

github.com[0:]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Clone of 'git://github.com/WordPress/Wordpress.git' into submodule path 'wordpress' failed

I tried contacting Namecheap to see if there was a Firewall or something blocking the connection. They said there is no firewall that would be blocking this. Also, all of my other submodules on GitHub updated fine. Regardless, I tried using the https protocol instead and still had no luck.

  • Intellij (Android Studio) git integration: Where is .git?
  • How can/should Zend Framework 2 be included to a Git versioned project?
  • Intellij Diff and Merge tool on Cygwin
  • Multiple simultaneous version control systems?
  • How to automate git version release of master branch?
  • Git remote end hung up unexpectedly
  • Any ideas what is going on?

  • Git hub how to add repository to Netbeans?
  • git checkout - how can I maintain timestamps when switching branches?
  • Problems using git merge
  • How to import and keep updated a CVS repository in Git?
  • Cannot find file to delete via git bash, but it shows up in file explorer
  • git commit opens up two editor panes instead of one to enter message
  • 2 Solutions collect form web for “Updating Git Submodule Fails”

    In general, a “errno=Connection timed out” should indicate an issue on the GitHub side (their status report page indicates they had a few issue on the 21st and 20th of September)

    So unless the issue still persists (in which case, the root cause might be on your side), GitHub should have resolved it by now.

    You could specify to use https:// instead of git:// for GitHub with the following command:

    git config --global url."https://github".insteadOf git://github
    Git Baby is a git and github fan, let's start git clone.