My build is broken (next.js) because it can't connect to redis... why is that?
elleryfamilia
PROOP

a year ago

I'm using the "Builder" feature but still can't connect to redis. It initially worked and then it stopped working. The code builds perfectly fine locally.

19 Replies

elleryfamilia
PROOP

a year ago

36a56ab7-eca3-4135-8f57-9a160a1b01b4


elleryfamilia
PROOP

a year ago

that's staging. also happening in prod:

36a56ab7-eca3-4135-8f57-9a160a1b01b4


a year ago

the private network is not available during build


elleryfamilia
PROOP

a year ago

I enabled the builder environment.. I also had other builds work fine before


a year ago

you are on metal right now and the new builder is not supported on metal, also we dont even really recommend you use the new builder, it is not being actively maintained


elleryfamilia
PROOP

a year ago

Understood. I'll figure out why connecting to redis is needed during built. That really shouldn't be happening. Thanks for the help


a year ago

no problem!


elleryfamilia
PROOP

a year ago

Hi, I'm still experiencing issues connecting to Redis. Wondering if you can help me understand why as I don't see it: 36a56ab7-eca3-4135-8f57-9a160a1b01b4


a year ago

are you still trying to connect during build?


elleryfamilia
PROOP

a year ago

Not anymore. Just runtime


elleryfamilia
PROOP

a year ago

I even rebuilt redis image but still can’t connect


a year ago

error please


elleryfamilia
PROOP

a year ago

Error: getaddrinfo ENOTFOUND redis.railway.internal


elleryfamilia
PROOP

a year ago

That’s on the web app trying to connect


a year ago

ioredis?



elleryfamilia
PROOP

a year ago

I can also switch. Didn’t realize that’d cause an issue


a year ago

there's no need to do that, just follow the guide


a year ago

it's a one line fix


Loading...