Reputation: 1
const timeoutError = new error_1.MongoServerSelectionError(`Server selection timed out after ${timeout?.duration} ms`, this.description);
^
MongoServerSelectionError: 38A70000: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 Topology.selectServer (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\sdam\topology.js:321:38)
at async Topology._connect (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\sdam\topology.js:200:28)
at async Topology.connect (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\sdam\topology.js:152:13)
at async topologyConnect (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\mongo_client.js:233:17)
at async MongoClient._connect (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\mongo_client.js:246:13)
at async MongoClient.connect (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\mongo_client.js:171:13)
at async MongoClient.connect (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\mongo_client.js:360:16) {
errorLabelSet: Set(0) {},
reason: TopologyDescription {
type: 'ReplicaSetNoPrimary',
servers: Map(3) {
'cluster0-shard-00-00.arvrz.mongodb.net:27017' => ServerDescription {
address: 'cluster0-shard-00-00.arvrz.mongodb.net:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
minRoundTripTime: 0,
lastUpdateTime: 1262484556,
lastWriteDate: 0,
error: MongoNetworkError: 38A70000: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 TLSSocket.<anonymous> (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\cmap\connect.js:285:44)
at Object.onceWrapper (node:events:635:26)
at TLSSocket.emit (node:events:520:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errorLabelSet: Set(1) { 'ResetPool' },
beforeHandshake: false,
[cause]: [Error: 38A70000: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'
}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
maxMessageSizeBytes: null,
maxWriteBatchSize: null,
maxBsonObjectSize: null,
primary: null,
me: null,
'$clusterTime': null,
iscryptd: false
},
'cluster0-shard-00-01.arvrz.mongodb.net:27017' => ServerDescription {
address: 'cluster0-shard-00-01.arvrz.mongodb.net:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
minRoundTripTime: 0,
lastUpdateTime: 1262472804,
lastWriteDate: 0,
error: MongoNetworkError: 38A70000: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 TLSSocket.<anonymous> (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\cmap\connect.js:285:44)
at Object.onceWrapper (node:events:635:26)
at TLSSocket.emit (node:events:520:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errorLabelSet: Set(1) { 'ResetPool' },
beforeHandshake: false,
[cause]: [Error: 38A70000: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'
}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
maxMessageSizeBytes: null,
maxWriteBatchSize: null,
maxBsonObjectSize: null,
primary: null,
me: null,
'$clusterTime': null,
iscryptd: false
},
'cluster0-shard-00-02.arvrz.mongodb.net:27017' => ServerDescription {
address: 'cluster0-shard-00-02.arvrz.mongodb.net:27017',
type: 'Unknown',
hosts: [],
passives: [],
arbiters: [],
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
minRoundTripTime: 0,
lastUpdateTime: 1262483853,
lastWriteDate: 0,
error: MongoNetworkError: 38A70000: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 TLSSocket.<anonymous> (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\cmap\connect.js:285:44)
at Object.onceWrapper (node:events:635:26)
at TLSSocket.emit (node:events:520:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errorLabelSet: Set(1) { 'ResetPool' },
beforeHandshake: false,
[cause]: [Error: 38A70000: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'
}
},
topologyVersion: null,
setName: null,
setVersion: null,
electionId: null,
logicalSessionTimeoutMinutes: null,
maxMessageSizeBytes: null,
maxWriteBatchSize: null,
maxBsonObjectSize: null,
primary: null,
me: null,
'$clusterTime': null,
iscryptd: false
}
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: 'atlas-ah4hvm-shard-0',
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined,
[cause]: MongoNetworkError: 38A70000: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 TLSSocket.<anonymous> (C:\Users\ADMIN\food delivery\node_modules\mongodb\lib\cmap\connect.js:285:44)
at Object.onceWrapper (node:events:635:26)
at TLSSocket.emit (node:events:520:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errorLabelSet: Set(1) { 'ResetPool' },
beforeHandshake: false,
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errorLabelSet: Set(1) { 'ResetPool' },
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errorLabelSet: Set(1) { 'ResetPool' },
beforeHandshake: false,
[cause]: [Error: 38A70000: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'
}
}
}
it says like connection error,MongonetworkError please someone say what is the problem
Upvotes: -1
Views: 21