docker - CircleCI - Git could not resolve host when cloning repository -
when running npm install within circleci fetch node packages our github repositories through package.json. operation happening when building docker image dockerfile.
this has been working great until last week when without changes in our side, started errors while cloning these packages. perform operation, using basic authentication in url providing user credentials in it. ie:
https://<username>:<password>@github.com/elektron-technogoly/<repository>.git
now, following errors:
npm err! command failed: git clone ... npm err! fatal: unable access 'https://<username>:<password>@github.com/elektron-technogoly/<repository>.git': not resolve host: <username>
from error message seems thinks username host , thus, fails. checked password still valid , did not expire.
has - around last week - changed cause error? has basic authentication been disabled?
update: playing bit seems when change base docker image (say node:4-slim node:4), first time works, subsequent times don't. unfortunately, logs not giving me lead, both same error appears first onwards.
Comments
Post a Comment