a year ago
I already did the migration and I don't know why it stopped working or what I'm doing, but I need help
7 Replies
a year ago
please read this docs page
https://docs.railway.app/guides/database-migration-guide#switching-over-connections
a year ago
YOU CANNOT SEND CAPTURES,
BUT IT SEEMS EVERYTHING IS WELL BUT IN THE FRONT YOU CANNOT SEE ANYTHING
a year ago
HELP!!!
a year ago
/app/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:134
reject(new sequelizeErrors.HostNotFoundError(err));
^
HostNotFoundError [SequelizeHostNotFoundError]: getaddrinfo ENOTFOUND postgres.railway.internal
at Client.connectionCallback (/app/nodemodules/sequelize/lib/dialects/postgres/connection-manager.js:134:24)
at Client.handleErrorWhileConnecting (/app/nodemodules/pg/lib/client.js:316:19)
at Client.handleErrorEvent (/app/nodemodules/pg/lib/client.js:326:19)
at Connection.emit (node:events:517:28)
at Socket.reportStreamError (/app/node_modules/pg/lib/connection.js:57:12)
at Socket.emit (node:events:517: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) {
parent: Error: getaddrinfo ENOTFOUND postgres.railway.internal
at GetAddrInfoReqWrap.onlookup as oncomplete {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'postgres.railway.internal'
},
original: Error: getaddrinfo ENOTFOUND postgres.railway.internal
at GetAddrInfoReqWrap.onlookup as oncomplete {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'postgres.railway.internal'
}
}
Node.js v18.18.2