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

automatically disconnected from db #1

Open
eTAGers opened this issue Nov 2, 2023 · 0 comments
Open

automatically disconnected from db #1

eTAGers opened this issue Nov 2, 2023 · 0 comments

Comments

@eTAGers
Copy link

eTAGers commented Nov 2, 2023

info: Running on PORT 3000
info: Database connected
node:events:491
throw er; // Unhandled 'error' event
^

Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on Connection instance at:
at Connection._handleProtocolError (/Users/harihara.manibalan/Documents/learning/project_management/node-mysql-jwt-auth/node_modules/mysql/lib/Connection.js:423:8)
at Protocol.emit (node:events:513:28)
at Protocol._delegateError (/Users/harihara.manibalan/Documents/learning/project_management/node-mysql-jwt-auth/node_modules/mysql/lib/protocol/Protocol.js:398:10)
at Protocol.handleNetworkError (/Users/harihara.manibalan/Documents/learning/project_management/node-mysql-jwt-auth/node_modules/mysql/lib/protocol/Protocol.js:371:10)
at Connection._handleNetworkError (/Users/harihara.manibalan/Documents/learning/project_management/node-mysql-jwt-auth/node_modules/mysql/lib/Connection.js:418:18)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read',
fatal: true
}

Node.js v18.15.0

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

1 participant