Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/src/app/bin/wait-for-it.js:3 dies on docker start, out of retries #381

Open
ctrldotnet opened this issue Oct 31, 2018 · 0 comments
Open

Comments

@ctrldotnet
Copy link

ctrldotnet commented Oct 31, 2018

On a clean minimal CentOS 7 image with no selinux/firewalls, and only docker/docker-compose/git+essentials installed, the following error is thrown when doing docker-compose up

This happens with the default docker-compose.yml

servicebot_1 | /usr/src/app/bin/wait-for-it.js:3
servicebot_1 | if (err) throw new Error(err);
servicebot_1 | ^
servicebot_1 |
servicebot_1 | Error: Error: out of retries
servicebot_1 | at /usr/src/app/bin/wait-for-it.js:3:20
servicebot_1 | at tryToConnect (/usr/src/app/node_modules/wait-for-port/index.js:42:40)
servicebot_1 | at retry (/usr/src/app/node_modules/wait-for-port/index.js:35:5)
servicebot_1 | at Timeout. (/usr/src/app/node_modules/wait-for-port/index.js:50:37)
servicebot_1 | at ontimeout (timers.js:427:11)
servicebot_1 | at tryOnTimeout (timers.js:289:5)
servicebot_1 | at listOnTimeout (timers.js:252:5)
servicebot_1 | at Timer.processTimers (timers.js:212:10)
servicebotdeploy_servicebot_1 exited with code 1

Would greatly appreciate if someone could tell me why it dies :-) The database docker img launches fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant