Skip to content

大哥,你这部署上去报错啊 #1

@TrustDec

Description

@TrustDec

07/23 17:03:15
aaa-001
Error: connect ETIMEDOUT
07/23 17:03:15
aaa-001
at PoolConnection.Connection._handleConnectTimeout (/usr/src/app/node_modules/mysql/lib/Connection.js:409:13)
07/23 17:03:15
aaa-001
at Object.onceWrapper (events.js:421:28)
07/23 17:03:15
aaa-001
at Socket.emit (events.js:315:20)
07/23 17:03:15
aaa-001
at Socket._onTimeout (net.js:481:8)
07/23 17:03:15
aaa-001
at listOnTimeout (internal/timers.js:549:17)
07/23 17:03:15
aaa-001
at processTimers (internal/timers.js:492:7)
07/23 17:03:15
aaa-001
--------------------
07/23 17:03:15
aaa-001
at Protocol._enqueue (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:144:48)
07/23 17:03:15
aaa-001
at Protocol.handshake (/usr/src/app/node_modules/mysql/lib/protocol/Protocol.js:51:23)
07/23 17:03:15
aaa-001
at PoolConnection.connect (/usr/src/app/node_modules/mysql/lib/Connection.js:116:18)
07/23 17:03:15
aaa-001
at Pool.getConnection (/usr/src/app/node_modules/mysql/lib/Pool.js:48:16)
07/23 17:03:15
aaa-001
at /usr/src/app/work/mysql.js:11:10
07/23 17:03:15
aaa-001
at new Promise ()
07/23 17:03:15
aaa-001
at Object.query (/usr/src/app/work/mysql.js:9:10)
07/23 17:03:15
aaa-001
at /usr/src/app/routes/index.js:6:25
07/23 17:03:15
aaa-001
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
07/23 17:03:15
aaa-001
at next (/usr/src/app/node_modules/express/lib/router/route.js:137:13) {
07/23 17:03:15
aaa-001
errorno: 'ETIMEDOUT',
07/23 17:03:15
aaa-001
code: 'ETIMEDOUT',
07/23 17:03:15
aaa-001
syscall: 'connect',
07/23 17:03:15
aaa-001
fatal: true
07/23 17:03:15
aaa-001
}
07/23 17:03:15
aaa-001
(node:19) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined
07/23 17:03:15
aaa-001
at /usr/src/app/routes/index.js:8:16
07/23 17:03:15
aaa-001
at runMicrotasks ()
07/23 17:03:15
aaa-001
at processTicksAndRejections (internal/process/task_queues.js:97:5)
07/23 17:03:15
aaa-001
(node:19) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)
更多

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions