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

MongoNetworkError: tlsv1 alert internal error #1191

Open
Yc020130 opened this issue Oct 31, 2024 · 2 comments
Open

MongoNetworkError: tlsv1 alert internal error #1191

Yc020130 opened this issue Oct 31, 2024 · 2 comments

Comments

@Yc020130
Copy link

C:\Users\16329\Desktop\idurar-erp-crm-master\backend>npm run setup

[email protected] setup
node src/setup/setup.js

C:\Users\16329\Desktop\idurar-erp-crm-master\backend\node_modules\mongoose\node_modules\mongodb\lib\cmap\connect.js:379
return new error_1.MongoNetworkError(error_1.MongoError.buildErrorMessage(err), { cause: err });
^

MongoNetworkError: BCA40000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1590:SSL alert number 80

at connectionFailureError (C:\Users\16329\Desktop\idurar-erp-crm-master\backend\node_modules\mongoose\node_modules\mongodb\lib\cmap\connect.js:379:20)
at TLSSocket.<anonymous> (C:\Users\16329\Desktop\idurar-erp-crm-master\backend\node_modules\mongoose\node_modules\mongodb\lib\cmap\connect.js:285:22)
at Object.onceWrapper (node:events:634:26)
at TLSSocket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {

connectionGeneration: 6,
[Symbol(errorLabels)]: Set(1) { 'ResetPool' },
[cause]: [Error: BCA40000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1590:SSL alert number 80
] {
library: 'SSL routines',
reason: 'tlsv1 alert internal error',
code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'
}
}

Node.js v20.18.0

C:\Users\16329\Desktop\idurar-erp-crm-master\backend>npm run setup

[email protected] setup
node src/setup/setup.js

C:\Users\16329\Desktop\idurar-erp-crm-master\backend\node_modules\mongoose\node_modules\mongodb\lib\cmap\connect.js:379
return new error_1.MongoNetworkError(error_1.MongoError.buildErrorMessage(err), { cause: err });
^

MongoNetworkError: 88D00000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1590:SSL alert number 80

at connectionFailureError (C:\Users\16329\Desktop\idurar-erp-crm-master\backend\node_modules\mongoose\node_modules\mongodb\lib\cmap\connect.js:379:20)
at TLSSocket.<anonymous> (C:\Users\16329\Desktop\idurar-erp-crm-master\backend\node_modules\mongoose\node_modules\mongodb\lib\cmap\connect.js:285:22)
at Object.onceWrapper (node:events:634:26)
at TLSSocket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {

connectionGeneration: 1,
[Symbol(errorLabels)]: Set(1) { 'ResetPool' },
[cause]: [Error: 88D00000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1590:SSL alert number 80
] {
library: 'SSL routines',
reason: 'tlsv1 alert internal error',
code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'
}
}

Node.js v20.18.0

respect Sir
After i have changed the mongoDB url,I meet this bug,i can not use the "npm run setup" to deploy the project,there is the bug log,can you help me to solve the bug?I am waiting for your answer!
Yours

@SheiklAR
Copy link

Did you add the IP address of the deployment server in the network access settings, if you use MongoDB atlas?

@luisfelix-93
Copy link

I think you need to review your database's TSL/SSL settings

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