R
Railway12mo ago
biw

Error: getaddrinfo ENOTFOUND redis-****.railway.internal

Hello, I am having issues where my app cannot find redis hosted internally. I'm using the node redis client and am able to reproduce it almost every deploy https://github.com/redis/node-redis
GitHub
GitHub - redis/node-redis: Redis Node.js client
Redis Node.js client. Contribute to redis/node-redis development by creating an account on GitHub.
10 Replies
Percy
Percy12mo ago
Project ID: N/A
Brody
Brody12mo ago
can you try to add a 3 second sleep to your start script?
biw
biwOP12mo ago
yes will do @Brody as in sleep 3 && yarn start?
Brody
Brody12mo ago
what's your current start script in your package.json?
biw
biwOP12mo ago
basically that, I have two services in a monorepo that both have had trouble connecting to railway redis. They do cd app/x && yarn serve
Brody
Brody12mo ago
what kind of monorepo?
biw
biwOP12mo ago
yarn monorepo
Brody
Brody12mo ago
isolated?
biw
biwOP12mo ago
no I haven't been able to get that working correctly
Brody
Brody12mo ago
okay well either way, do the sleep 3 thing please
Want results from more Discord servers?
Add your server