Comments (5)
Make sure this environment variable is set in the app container: MYSQL_HOST=db
. It's recommended to start development by creating a .env
file with the initial values in .env.example
.
from phantom-of-the-capitol.
Hello,
My .env has MYSQL_HOST=db
in my .env and when I run sudo docker-compose up --build
I get:
db_1 | 2017-06-21T14:27:52.538551Z 4 [Note] Aborted connection 4 to db: 'phantom_dc_development' user: 'phantom_dc' host: '172.18.0.3' (Got an error reading communication packets)
So, also having the same error.
from phantom-of-the-capitol.
Hi @mr-sk. This is a separate thing, as in your case the app has connected to the db instance but then that connection breaks, while @asithade's app container is not connecting to the db server at all. If you're having problems can you open a separate issue? Be sure to include the app container's output as well around the time of the error.
Thanks,
Peter
from phantom-of-the-capitol.
Hi there,
I actually get the same error as him when I set it to db.
from phantom-of-the-capitol.
That line will pop up occasionally during a normal boot of the app. Closing this issue for now, but please open another one if you have other problems.
from phantom-of-the-capitol.
Related Issues (20)
- Issue while trying to run the following command phantom-dc docker HOT 9
- Support test posts to /fill-out-form HOT 1
- CORS broken for browsers that do preflight checks HOT 5
- More detailed error message from /fill-out-form endpoint? HOT 1
- Aborted connection '#' to db: ... Got an error reading communication packets HOT 2
- ReCaptcha support HOT 3
- sending html within $MESSAGE HOT 1
- Add dnt-policy to /.well-known
- If "verify email" is a field, API required fields returns two fields called "$EMAIL". Impossible to reply with two $EMAIL key values. HOT 5
- phantomjs alternative HOT 20
- add this project to ios mobile project HOT 8
- rename docker-compose.test.yml to something else
- How to pass $CAPTCHA_SOLUTION parameter value to fill-out-form method?
- Issue with fill-out-form for contact pages with reCAPTCHA HOT 2
- related to bundle
- How are you solving reCAPTCHA? HOT 1
- 502 bad gateway on congressforms.eff.org
- Rake file version error
- Getting bad gateway HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phantom-of-the-capitol.