iloire / watchmen

A simple node.js service monitor
MIT License
941 stars 195 forks source link

docker-compose fails to build with getaddrinfo ENOTFOUND bower.herokuapp.com #96

Open claflico opened 7 years ago

claflico commented 7 years ago

Docker on CentOS 7: docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch docker-ce-17.03.2.ce-1.el7.centos.x86_64

Running docker-compose fails with:

bower ng-table#^0.5.4 invalid-meta for:/tmp/3b8e7371c202d3e4200f1b59b81eed3c/bower/e5920f7ab843ab19710708196914eb0d-48-s20uH7/bower.json bower ng-table#^0.5.4 invalid-meta The "main" field cannot contain minified files bower ng-table#^0.5.4 invalid-meta The "main" field cannot contain minified files bower angular#~1 resolved https://github.com/angular/bower-angular.git#1.6.5 bower bootstrap#3.3.x extract archive.tar.gz bower angular#>=1.0.0 <1.5.0 resolved https://github.com/angular/bower-angular.git#1.4.14 bower ng-table#^0.5.4 resolved https://github.com/esvit/ng-table.git#0.5.5 bower lodash#~3.8.0 resolved https://github.com/lodash/lodash.git#3.8.0 bower c3#~0.4.10 resolved https://github.com/masayuki0812/c3.git#0.4.14 bower moment#2.9.x resolved https://github.com/moment/moment.git#2.9.0 bower bootstrap#3.3.x resolved https://github.com/twbs/bootstrap.git#3.3.7 bower spin.js#~2.0.0 retry Download of https://github.com/fgnass/spin.js/archive/v2.0.2.tar.gz failed with ENOTFOUND, retrying in 2.0s bower spin.js#~2.0.0 extract archive.tar.gz bower spin.js#~2.0.0 mismatch Version declared in the json (2.0.1) is different than the resolved one (2.0.2) bower d3#~3.5.0 ENOTFOUND Request to https://bower.herokuapp.com/packages/d3 failed: getaddrinfo ENOTFOUND bower.herokuapp.com bower.herokuapp.com:443 bower spin.js#~2.0.0 resolved https://github.com/fgnass/spin.js.git#2.0.2 ERROR: Service 'watchmenweb' failed to build: The command '/bin/sh -c set -x && npm install -g bower && npm install && bower install --allow-root' returned a non-zero code: 1

In another shell I exec into the build container while it is running and am able to manually download the files via wget and ping github.com & bower.herokuapp.com.