When I deploy my app I get an error

marcelomastroianiTRIAL

9 months ago

/app/node_modules/mongodb/lib/sdam/topology.js:303

            const timeoutError = new error_1.MongoServerSelectionError(`Server selection timed out after ${options.serverSelectionTimeoutMS} ms`, this.description);

                                 ^

MongoServerSelectionError: 40DCEBFC4E7F0000:error:0A000438:SSL routines:ssl3readbytes:tlsv1 alert internal error:ssl/record/reclayers3.c:1590:SSL alert number 80

at Topology.selectServer (/app/node_modules/mongodb/lib/sdam/topology.js:303:38)

at async Topology._connect (/app/node_modules/mongodb/lib/sdam/topology.js:196:28)

at async Topology.connect (/app/node_modules/mongodb/lib/sdam/topology.js:158:13)

at async topologyConnect (/app/node_modules/mongodb/lib/mongo_client.js:204:17)

at async MongoClient._connect (/app/node_modules/mongodb/lib/mongo_client.js:217:13)

at async MongoClient.connect (/app/node_modules/mongodb/lib/mongo_client.js:142:13)

at async MongoClient.connect (/app/node_modules/mongodb/lib/mongo_client.js:295:16) {

reason: TopologyDescription {

type: 'ReplicaSetNoPrimary',

servers: Map(3) {

  '[ac-ilu00io-shard-00-02.k5zdhms.mongodb.net:27017](ac-ilu00io-shard-00-02.k5zdhms.mongodb.net:27017)' => ServerDescription {

    address: '[ac-ilu00io-shard-00-02.k5zdhms.mongodb.net:27017](ac-ilu00io-shard-00-02.k5zdhms.mongodb.net:27017)',

    type: 'Unknown',

    hosts: [],

    passives: [],

    arbiters: [],

    tags: {},

    minWireVersion: 0,

    maxWireVersion: 0,

    roundTripTime: -1,

    minRoundTripTime: 0,

    lastUpdateTime: 35108584874,

    lastWriteDate: 0,

    error: MongoNetworkError: 40DCEBFC4E7F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:1590:SSL alert number 80

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

9 months ago

Have you made sure to whitelist all IPs in mongo atlas?


When I deploy my app I get an error - Railway Help Station