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

2-structured-data - Post deployment Cloud SQL error: "ECONNREFUSED 127.0.0.1:3306" #104

Closed
chai-jay opened this issue Mar 19, 2017 · 3 comments
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@chai-jay
Copy link

After this step to "gcloud app deploy", the deployed app page shows this error:

connect ECONNREFUSED 127.0.0.1:3306

This is because the socketPath is incorrect. To fix this, add the missing env variable 'NODE_ENV' into config.js, which is used by this line.

@chai-jay
Copy link
Author

Now getting this error on deployed app page:

connect ENOENT /cloudsql/{INSTANCE_CONNECTION_NAME}

Works locally but not on Google App Engine. Seems like the unix socket isn't working properly from Google App Engine. Found other people with same issue online, example.

@ace-n
Copy link
Contributor

ace-n commented Aug 7, 2017

@jwcm488 is this still a problem for you? (If not, would you mind closing this issue?)

For what it's worth, I previously saw some flaky Google App Engine SQL connections, but those should have gone away by now.

Thanks!

@chai-jay
Copy link
Author

chai-jay commented Aug 7, 2017

No longer using Cloud SQL. Closing issue.

@chai-jay chai-jay closed this as completed Aug 7, 2017
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants