Redis unable to connect

So i just created redis (by upstash) and trying to connect to it from my Phoenix instance (i use redix 1.1), but always seem to get (Redix.ConnectionError) the connection to Redis is closed on Redix.command!(:redix, [“PING”]) even though locally it works (given that i connect to redis://localhost). I did make sure that fly redis connect works. So i am really puzzled here

Found a solution here, had to add socket_opts: [:inet6]

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.