-
Notifications
You must be signed in to change notification settings - Fork 45
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
Can't Connect to DB on first run #835
Comments
Stopping and restarting it fixed it:
I believe this is a known issue---something something docker something---it's even mentioned in the docs, but it's annoying and I would like to open a bug to track getting it fixed. |
It's out of the scope of sou-chef, its docker related because the first time MySQL container its initialized, it takes too much time to setup and creates the database.. the Web container it's a lot faster and makes the first request before the MySQL service inside the MySQL container is ready. |
Respectfully, I don't think it is out of scope. Everything from I don't mind doing the research and work to fix this myself, if you are willing to take a PR to fix it. |
Thanks @kousu I will be happy to take a PR :) |
awesome. it's on my TODOs.
|
I just reinstall Sous-Chef fresh (see: #834) so I could work on it, and received "Can't connect to MySQL server on 'db' (111)".
Fuller log:
and then trying to go to http://localhost:8000 just gets a RST.
The text was updated successfully, but these errors were encountered: