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
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?
Popular in Questions
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
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
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
The Elixir Typespec docs show the following syntax for keyword lists in typespecs:
# ...
| [key: type] # keyword lis...
New
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
Background
Let’s assume I have a typical GenServer that receives messages as requests, does some operation in a DB and returns responses....
New
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
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
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
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
Update:
How to use the Blogs & Podcasts section
You can post links to your blog posts or podcasts either in one of the Official Blog...
New
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
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
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
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
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...
New
I will often find my self writing things similar to:
case some_value do
nil -> something()
"" -> something()
_ -> someth...
New
by Lance Halvorsen
Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
New
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
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New







