darnahsan

darnahsan

Redix Error with Upstash : failed to find an original command in the commands queue

I am using Redix to connect with Upstash Redis with SSL. I got this error. Though it asks to open issue on github. I would like to undestand what this error is for as I see some of my values not getting stored in redis as well. My app is running on fly.io but I am not using Upstash Redis provided by them. Also I am only using command

level=error msg="GenServer #PID<0.2336.0> terminating\n** (RuntimeError) failed to find an original command in the commands queue. This can happen, for example, when the Redis server you are using does not support CLIENT commands. Redix issues CLIENT commands under the hood when you use noreply_pipeline/3 and other noreply_* functions. If that's not what you are doing, you might have found a bug in Redix: please open an issue! https://github.com/whatyouhide/redix/issues\n\n    (redix 1.5.1) lib/redix/socket_owner.ex:130: Redix.SocketOwner.peek_element_in_queue/2\n    (redix 1.5.1) lib/redix/socket_owner.ex:103: Redix.SocketOwner.new_data/2\n    (redix 1.5.1) lib/redix/socket_owner.ex:69: Redix.SocketOwner.handle_info/2\n    (stdlib 5.2) gen_server.erl:1095: :gen_server.try_handle_info/3\n    (stdlib 5.2) gen_server.erl:1183: :gen_server.handle_msg/6\n    (stdlib 5.2) proc_lib.erl:241: :proc_lib.init_p_do_apply/3\nLast message: {:ssl, {:sslsocket, {:gen_tcp, #Port<0.2121>, :tls_connection, :undefined}, [#PID<0.2347.0>, #PID<0.2346.0>]}, \"+1718544185.229398 [0 0.0.0.0:0] \\\"GET\\\" \\\"20713413\\\"\\r\\n\"}\nState: %Redix.SocketOwner{conn: #PID<0.2335.0>, opts: [backoff_max: 30000, backoff_initial: 500, exit_on_disconnection: false, sync_connect: false, timeout: 5000, password: \"<redacted>\", username: \"default\", name: :redix, ssl: true, socket_opts: [verify: :verify_peer, customize_hostname_check: [match_fun: #Function<6.117093159/2 in :public_key.pkix_verify_hostname_match_fun/1>], cacertfile: \"<redacted>"], host: ~c\"<redacted>\", port: 6379], transport: :ssl, socket: {:sslsocket, {:gen_tcp, #Port<0.2121>, :tls_connection, :undefined}, [#PID<0.2347.0>, #PID<0.2346.0>]}, queue_table: #Reference<0.1079358561.4173463555.223173>, continuation: nil}" pid=#PID<0.2336.0> mfa=:gen_server.error_info/8

First Post!

dimitarvp

dimitarvp

The name of the repo owner is shown in the error. His username is the same on this forum. Maybe mentioning him will accelerate things a bit?

Where Next?

Popular in Questions Top

yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
Fl4m3Ph03n1x
Background Let’s assume I have a typical GenServer that receives messages as requests, does some operation in a DB and returns responses....
New
gonzofish
I’m currently trying to understand how to join three tables using Ecto. All the examples I’ve seen use 2, so maybe I’m just missing somet...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs &amp; Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
New
yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
beno
I will often find my self writing things similar to: case some_value do nil -&gt; something() "" -&gt; something() _ -&gt; someth...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement