OTP_VERSION = 22.0.5
We've been having an issue using the newest version of Redix at 0.10.4, after upgrading from 0.10.2, regarding connecting to our Elasticache Redis. We have added {:castore, "~> 0.1.5"} as a dep in our mix.exs. As per documentation We invoke start_link/2 like so:
Redix.start_link(some_uri, name: some_name, socket_opts: [customize_hostname_check: [match_fun: :public_key.pkix_verify_hostname_match_fun(:https)]])
We have checked that Redix.URI.opts_from_uri(some_uri) returns a keyword list containing ssl: true.
When attempting to invoke commands using this Redix connection we see the error:
** (Redix.ConnectionError) the connection to Redis is closed
(redix) lib/redix.ex:629: Redix.command!/3
(our_app) lib/our_app/redis.ex:37: OurApp.Redis.do_something/0
Is there something that we are doing incorrectly? Or is there a bug here somewhere?
OTP_VERSION = 22.0.5We've been having an issue using the newest version of Redix at
0.10.4, after upgrading from0.10.2, regarding connecting to our Elasticache Redis. We have added{:castore, "~> 0.1.5"}as a dep in ourmix.exs. As per documentation We invokestart_link/2like so:We have checked that
Redix.URI.opts_from_uri(some_uri)returns a keyword list containingssl: true.When attempting to invoke commands using this Redix connection we see the error:
Is there something that we are doing incorrectly? Or is there a bug here somewhere?