10 months ago
Unhandled error event: Error: getaddrinfo ENOTFOUND redis.railway.internal
0 Replies
10 months ago
if you are using ioredis, please see our docs for that -
10 months ago
are you using ioredis?
10 months ago
is redis in the same project as your app?
10 months ago
you need to have redis in the same project
[ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis.railway.internal at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) ERR! Db Failed to setup database connection { short_message: 'TESTAPP [Exception] Authentication failed.', full_message: 'MongoServerError: Authentication failed.\n' + ' at Connection.onMessage (/testapp/node_modules/mongodb/lib/cmap/connection.js:231:30)\n' + ' at MessageStream. (/testapp/node_modules/mongodb/lib/cmap/connection.js:61:60)\n' + ' at MessageStream.emit (node:events:518:28)\n' + ' at processIncomingData (/testapp/node_modules/mongodb/lib/cmap/message_stream.js:125:16)\n' + ' at MessageStream._write (/testapp/node_modules/mongodb/lib/cmap/message_stream.js:33:9)\n' + ' at writeOrBuffer (node:internal/streams/writable:572:12)\n' + ' at _write (node:internal/streams/writable:501:10)\n' + ' at Writable.write (node:internal/streams/writable:510:10)\n' + ' at Socket.ondata (node:internal/streams/readable:1009:22)\n' + ' at Socket.emit (node:events:518:28)', _exception: 'yes', _error: 'Authentication failed.', _code: '18', _codeName: 'AuthenticationFailed', facility: 'testapp', host: 'f508cab8ffc2', timestamp: 1733253859.991, _component: 'testapp' } [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND redis.railway.internal
10 months ago
are you getting this during build or runtime?
10 months ago
screenshot of your project please
10 months ago
of your project canvas
10 months ago
okay now please see this docs
10 months ago
!s
Status changed to Solved brody • 10 months ago