I am just getting started setting up a testing environment for working with the RC API. One of the first steps was to get the JavaScript SDK (https://github.com/ringcentral/js-sdk) on my development server. I already have npm and Bower working, so the installation should have been a breeze... I would attempt it and kept getting: github.com[0: 192.30.252.128]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) After doing some research, I realized that as a normal practice, I pull from Git using the https protocol. Also, using the git protocol requires a port be open on the firewall (tcp/9418, udp/9418). My solution was to inform git to always use the https protocol when it encounters the git protocol. You can set that by adding a global setting to git:
git config --global url."https://".insteadOf git://
You can also manually edit your .gitconfig file to include these two lines:
[url "https://"] insteadOf = git://
Only downside is that the https protocol is a bit slower than the git protocol. Hope that helps someone. Jim