Gitpod: bower install ETIMEDOUT

Created on 24 Mar 2019  路  7Comments  路  Source: gitpod-io/gitpod

Describe the bug
bower install returns ETIMEDOUT Request to https://registry.bower.io/packages/ngFitText failed: ETIMEDOUT for all packages. Packages not installed.

To Reproduce

Expected behavior
Should install packages to src/lib folder.

PS
Also, thanks for all your great work here. It's really an awesome platform! :D

All 7 comments

It's not a temporary issue because I've been facing it for a week.

Interesting. I can reproduce the issue and I also get the following message (among others):

Request to https://registry.bower.io/packages/ngFitText failed with ETIMEDOUT, retrying in 1.2s

However, when I run wget https://registry.bower.io/packages/ngFitText I get the expected (I believe) response from the server, which is

{"name":"ngFitText","url":"https://github.com/patrickmarabeas/ng-FitText.js.git"}

I get the same response when I run wget locally.

So I assume the network connectivity in Gitpod is ok.

So I assume the network connectivity in Gitpod is ok.

Still it doesn't work for some reason...

See also https://stackoverflow.com/questions/22915961/bower-install-failed-with-etimedout

Maybe bower doesn't like Gitpod's workspace network configuration? There might be something we can do with ENV variables or a .bower config.

This turns out to be a DNS issue. It took a while to diagnose this, but the good news is that we should be able to fix it.

Thanks so much, @meysholdt! 馃榾

this is fixed now, please try again.

After opening https://gitpod.io/#https://github.com/QuantiModo/quantimodo-android-chrome-ios-web-app and installing bower via npm install -g bower, the command

time bower install finishes successfully within

real    0m13.813s
user    0m12.097s
sys     0m6.937s
Was this page helpful?
0 / 5 - 0 ratings

Related issues

bytekast picture bytekast  路  3Comments

Kreyren picture Kreyren  路  3Comments

hidehiro98 picture hidehiro98  路  3Comments

ColbyWTaylor picture ColbyWTaylor  路  3Comments

Kreyren picture Kreyren  路  3Comments