Hello,
I have a Phoenix app already running and now I’m trying to add a caching layer using redis. I have the redis server running the same org as phoenix app but I am not able to connect to it from Elixir IEX console. I am able to ssh into the redis server and use the redis-cli with no problems.
Here is what I’m trying
{:ok, conn} = Redix.start_link(redis://default:password@fly-ai-pricing-redis.upstash.io:6379)
Redix.command(conn, ["AUTH", "my_secret_pass"])
I keep getting {:error, %Redix.ConnectionError{reason: :closed}}
Has anyone able to successfully use Redis and Phoenix app on fly.io