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
Project ID:
N/A
can you try to add a 3 second sleep to your start script?
yes will do @Brody
as in
sleep 3 && yarn start
?what's your current start script in your package.json?
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
what kind of monorepo?
yarn monorepo
isolated?
no I haven't been able to get that working correctly
okay well either way, do the sleep 3 thing please