Skip to content
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

sudo git clone --recursive https://github.com/theos/theos.git #229

Closed
jacinzhang opened this issue Feb 5, 2017 · 2 comments
Closed

sudo git clone --recursive https://github.com/theos/theos.git #229

jacinzhang opened this issue Feb 5, 2017 · 2 comments

Comments

@jacinzhang
Copy link

(Thanks for reporting an issue! Please make sure you click the link above to view the issue guidelines, then fill out the blanks below.)

when I run sudo git clone --recursive https://github.com/theos/theos.git, it's failed when install submodules

➜ /Users/XIN >sudo git clone --recursive https://github.com/theos/theos.git $THEOS

Password:
Cloning into '/opt/theos'...
remote: Counting objects: 7481, done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 7481 (delta 11), reused 0 (delta 0), pack-reused 7455
Receiving objects: 100% (7481/7481), 1.95 MiB | 636.00 KiB/s, done.
Resolving deltas: 100% (4557/4557), done.
Submodule 'vendor/include' (https://github.com/theos/headers.git) registered for path 'vendor/include'
Submodule 'vendor/lib' (https://github.com/theos/lib.git) registered for path 'vendor/lib'
Cloning into '/opt/theos/vendor/include'...
Cloning into '/opt/theos/vendor/lib'...
Submodule path 'vendor/include': checked out 'bf8ff89cfa235410ac374e27fadee73982d44296'
Submodule 'CaptainHook' (https://github.com/rpetrich/CaptainHook.git) registered for path 'vendor/include/CaptainHook'
Submodule 'LightMessaging' (https://github.com/rpetrich/LightMessaging.git) registered for path 'vendor/include/LightMessaging'
Submodule 'libactivator' (https://github.com/rpetrich/libactivator.git) registered for path 'vendor/include/libactivator'
Submodule 'rocketbootstrap' (https://github.com/rpetrich/rocketbootstrap.git) registered for path 'vendor/include/rocketbootstrap'
Cloning into '/opt/theos/vendor/include/CaptainHook'...
Cloning into '/opt/theos/vendor/include/LightMessaging'...
Cloning into '/opt/theos/vendor/include/libactivator'...
Cloning into '/opt/theos/vendor/include/rocketbootstrap'...
Submodule path 'vendor/include/CaptainHook': checked out 'fcd8c1d1596688dc6f6e443114394ca4954a70f4'
Submodule path 'vendor/include/LightMessaging': checked out '7a8e049c4059e1df1ff2f9669afa7ca4eedfb65b'
Submodule path 'vendor/include/libactivator': checked out 'bfac8ee70e8ad6560305dc7f0fa586c1b5696ef1'
Submodule path 'vendor/include/rocketbootstrap': checked out 'bd54f4ac8452ce2dc2978459afc262440ce94f19'
Submodule 'LightMessaging' (git://github.com/rpetrich/LightMessaging.git) registered for path 'vendor/include/rocketbootstrap/LightMessaging'
Cloning into '/opt/theos/vendor/include/rocketbootstrap/LightMessaging'...
fatal: unable to connect to github.com:
github.com[0: 172.16.18.33]: errno=Connection refused

fatal: clone of 'git://github.com/rpetrich/LightMessaging.git' into submodule path '/opt/theos/vendor/include/rocketbootstrap/LightMessaging' failed
Failed to clone 'LightMessaging'. Retry scheduled
Cloning into '/opt/theos/vendor/include/rocketbootstrap/LightMessaging'...
fatal: unable to connect to github.com:
github.com[0: 172.16.18.33]: errno=Connection refused

fatal: clone of 'git://github.com/rpetrich/LightMessaging.git' into submodule path '/opt/theos/vendor/include/rocketbootstrap/LightMessaging' failed
Failed to clone 'LightMessaging' a second time, aborting
Failed to recurse into submodule path 'vendor/include/rocketbootstrap'
Submodule path 'vendor/lib': checked out '18dbcbc41f9c95b8c7eaedc553fddfdd6201fd4b'
Failed to recurse into submodule path 'vendor/include'

so, can someone help me ?

@kirb
Copy link
Collaborator

kirb commented Feb 5, 2017

You’re possibly behind a firewall that blocks port 22 (SSH). You can use this workaround to have Git translate git://github.com/ (SSH) URLs into https://github.com/ (HTTP) URLs.

@jacinzhang
Copy link
Author

thanks, It works!

@kirb kirb closed this as completed Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants