-
Notifications
You must be signed in to change notification settings - Fork 4.6k
bower install - github.com connection timed out #141
Comments
Sounds like you have a flaky connection to github... |
I'm new to AngularJS, node.js and npm. Any way to do manually what needs to be done? |
Hi @pmichna. Angular phonecat uses bower to retrieve its dependencies including AngularJS, from github. The problem is that from where you are the connection to the github servers is not being very reliable. Github is a separate service, not controlled by AngularJS or bower. It is hard to know what the problem is. It could be a transient issue that will go away if you try again later. It may be that you have some kind of firewall that is intermittently blocking connections. |
Ok, I contacted IT support in my company. However, that's strange. I can normally ping github.com, I can do |
The problem was that bower tried to retrieve packages through git:// protocol, which seems to be blocked at my machine.
|
Excellent. Glad you worked it out. Well done. |
Thanks @pmichna I was having the same problem 👍 |
Thanks ! It resolve now ! |
awesome! Indeed this issue happened to me cause i was behind firewall restriction on protocols :) |
Thanks, its very helpful. |
👍 |
Thanks, solved for me! |
Thank you. |
I found this issue ... how to solvebower ECMDERR Failed to execute "git ls-remote --tags --heads git://github Additional error details: npm ERR! trader-desktop@0.0.0 postinstall: |
Hi Yogeshm, I am facing the same issue. Did you find any solution? fatal: unable to access 'https:// https:/// github.com/es-shims/es5-shim.git/': Could not resolve host: <https |
@yogesh-raj and @dgokulakrishnan - did you try the |
@pete and @dgokulakrishnan yes this helped me... it solved ma issue some On Sun, Jul 27, 2014 at 1:23 AM, Pete Bacon Darwin <notifications@github.com
*Thanks & Regards, * Yogesh Raj (Yash Jarainiya) |
@yogesh-raj You're welcome, but I don't think I did much to help. |
@pete :-) |
@pete and @yogesh-raj Thanks for your responses..Initially I did not set the config property properly. It worked only after doing the unset and replace all. git config --global --unset-all url.https |
Thanks for the trick. Worked for me! |
Thank's so much @pmichna ! |
this didn't work for me at all. Bower / git is still using the "git://" |
@pmichna Thank you! now I can do bower installs through my company's firewall. |
@pmichna : |
@pmichna Thanks |
Thanks a lot! @pmichna git config --global url."https://".insteadOf git:// solved the problem. |
thanks 👍 |
Obrigado! otima dica. |
Works for me as well. |
Ca marche pour moi aussi ... |
Ah, thank you. |
👍 This works for me as well... thanks guys! |
great! very helpful!!! |
Thanks! great tip |
I am getting issue while running a job from Jenkins for connecting to Git for building code. any idea what can be done to fix this? Error - Started by user anonymous
ERROR: null |
|
git config --global url."https://".insteadOf git:// worked for me too ! Thanks ! |
Yes this works perfect! Thanks. |
I did git config --global url."https://".insteadOf git:// fatal: unable to access 'https://github.com/git-msp/CubeGeneratorWeb.git/': Failed to connect to 192.135.82.70 port 1080: Timed out |
Tanks Brow |
Excelente, resolveu o problema ! git config --global url."https://".insteadOf git:// |
I am still experiencing this issue. As you can see, I've set my proxy, set the url.https. Nothing seems to work. I simply cannot seem to get bower working |
@PStoner3 I was in the same predicament as you. To solve it I just removed "http.proxy", "https.proxy" and "url..insteadOf" from the global and local .gitconfig files and it worked. Perhaps I had conflicts with other settings on my system and simplifying things helped. |
@pmichna Thanks. Appreciate!! |
I'm working behind a firewall and change the config url.. Also, I keep trying bower install. The downloads would time out but each try added more to the cache so eventually I had all the dependencies. |
For me reverse engineering works 😜
If you have manually run above commands then you should remove those entries first from ~/.gitconfig file. So for that open that file
Replace these lines
with this
Save and restart your terminal. |
bower d3#3.5.6 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/mbostock-bower/d3-bower.git", exit code of #128 error: while accessing https://github.com/mbostock-bower/d3-bower.git/info/refs fatal: HTTP request failed I met the above error message,and it use 'https',What should I do,thanks |
Sometimes it times out on
angular-animate
, sometimes onbootstrap
, sometimes on something else. What's wrong?The text was updated successfully, but these errors were encountered: