Upstash Redis - Connection lost (ECONNRESET) (Redis::ConnectionError

Successfully deployed the redis app, set my password, then set the REDIS_URL secret in my main application, receiving: Error: could not find an instance to route to

It looks like I accidentally overwrote some configurations in fly.toml when I launched.

Also looks like I need to expose internal_port = 6379 under [[services]].

update

Still experiencing the internal connection issue mentioned above.

update 2

Forgot to switch the process value in my app toml from process=["app"] to process=["web"]

update 3

It worked! :tada:

Thanks @sosedoff !!

I didnt specify internal_port since i didnt want to expose services over at *.fly.dev. You can still connect to it via wireguard app (i just keep that on all the time) and your rails app can use the same exact .internal address.

1 Like

Not work for me… could not make HTTP request to instance: connection error: timed out