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

Always Error connection tcp or deploy app flex or standard (App engine). never Working mysql #1481

Closed
akedevs opened this issue Sep 16, 2019 · 3 comments
Assignees

Comments

@akedevs
Copy link

akedevs commented Sep 16, 2019

Error: connect ECONNREFUSED https://3306-dot-8437288-dot-devshell.appspot.com
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1117:14)
--------------------
at Protocol._enqueue (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/mysql/lib/Connection.js:119:18)
at Bluebird (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/knex/lib/dialects/mysql/index.js:68:18)
at Promise._execute (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/bluebird/js/release/debuggability.js:313:9)
at Promise._resolveFromExecutor (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/bluebird/js/release/promise.js:488:18)
at new Promise (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/bluebird/js/release/promise.js:79:10)
at Client_MySQL.acquireRawConnection (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/knex/lib/dialects/mysql/index.js:63:12)
at create (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/knex/lib/client.js:258:21)
at utils_1.tryPromise (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/tarn/lib/Pool.js:389:34)
at Object.tryPromise (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/tarn/lib/utils.js:53:24)
at Promise (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/tarn/lib/Pool.js:389:17)
at new Promise ()
at callbackOrPromise (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/tarn/lib/Pool.js:380:12)
at Pool._create (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/tarn/lib/Pool.js:290:9)
at Pool._doCreate (/home/akedev_js/demoilovenode/nodejs-docs-samples/appengine/cloudsql/node_modules/tarn/lib/Pool.js:260:36)

@akedevs akedevs changed the title https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/appengine/cloudsql Always Error connection top and deploy app flex or standard . Sep 16, 2019
@akedevs akedevs changed the title Always Error connection top and deploy app flex or standard . Always Error connection tcp or deploy app flex or standard (App engine). never Working mysql Sep 16, 2019
@fhinkel
Copy link
Contributor

fhinkel commented Sep 25, 2019

@michaelawyu Could you have a look at this problem with AppEngine please Thanks!

@michaelawyu
Copy link
Contributor

Hi akedevs,

This error message implies that your Cloud SQL instance is rejecting your connection; if possible, please double check that you are using correct credentials and path in your app. If your Cloud SQL instance is in a different project, the IAM settings need to be updated as well before you can start a connection.

@fhinkel
Copy link
Contributor

fhinkel commented Oct 3, 2019

Closing this, please let us know if it didn't solve your issue.

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

3 participants