Skip to main content

All Questions

0 votes
0 answers
93 views

What could be causing my Redis/Valkey/ElastiCache timeout error?

I'm using a Valkey ElastiCache with StackExchange.Redis on .NET. It's usually working but sometimes I'll get this message: The message timed out in the backlog attempting to send because no connection ...
Katie's user avatar
  • 1
0 votes
1 answer
395 views

.NET Amazon Elasticache - Redis cluster random timeout errors

Recently we introduced storing user session data on Amazon's ElastiCache through Redis Cache. I was a little worried of the speed and latency issues of this solution as before the session data was ...
nyduss's user avatar
  • 87
2 votes
0 answers
51 views

Why signal R app throwing SocketClosed exception for RedisConnection(in aws) for and state is "ConnectedEstablished" and app works fine?

I am connecting to redis aws elasticache , signal r application is broadcasting messages just fine with it, however getting below exception logged in error log - StackExchange.Redis....
vishakha's user avatar
1 vote
0 answers
62 views

How to check if SignalR is using redis elasticache programmatically in C#. Is there any code to get stored key value pairs

Code is as below - services.AddSignalR() .AddStackExchangeRedis("*****.*****.com:6379", opts => { opts.Configuration.ChannelPrefix = &...
vishakha's user avatar
1 vote
1 answer
510 views

StackExchange.Redis.RedisServerException: ERR unknown command 'unwatch' when calling ITransaction.ExecuteAsync()

I am using StackExchange.Redis library, connecting to AWS ElastiCache for Redis (Serverless). Example code: ITransaction transaction = db.CreateTransaction(); transaction.AddCondition(Condition....
Leonid Umanskiy's user avatar
0 votes
1 answer
3k views

Error trying to connect to AWS Elasticache with StackExchange.Redis

I'm using AWS Elasticache for Redis. It's configured with cluster mode enabled. The engine version is 6.2.6. The code samples below run from the exact same machine with all the permissions, ...
Giuliani Sanches's user avatar
3 votes
0 answers
1k views

C# Code example to connect to elasticache using StackExchange.Redis for IAM authentication option

For elasticache cluster configured to use Redis version 7 or above, there is an option to connect using IAM authentication. With IAM Authentication you can authenticate a connection to ElastiCache for ...
Manpreet Juneja's user avatar
0 votes
1 answer
3k views

unable to connect to Redis cluster using stackexchange.redis

I have found a very simple block of code to test if I'm able to connect to my Redis Cluster on ElastiCache Here is the code: using StackExchange.Redis; Console.WriteLine("Hello, World!"); ...
twarrior's user avatar
0 votes
0 answers
834 views

Minimal AccessString needed to give a Redis user read permission on all Nodes in all shards

I have a setup with 3 shards, each shard has one master and two replicas. I want to a have a master user and multiple read users. 
The problem is that I can’t figure out a way to only give the users ...
Moddaman's user avatar
  • 2,818
2 votes
0 answers
335 views

.net, How to make Redis read from replica and write to master?

We currently have a service using redis(AWS elasticache), with a couple of replica nodes. For the client we have a .Net-Core aplication using StackExchange.Redis. How can we implement read-only from ...
quetzalfir's user avatar
2 votes
1 answer
1k views

Lambda to ElastiCache Redis with StackExchange.Redis: RedisConnectionException - No connection is active/available to service this operation

I have a Lambda function running a .NET Core application from which I try to interact with an ElastiCache Redis cluster using StackExchange.Redis. The cluster is a single node. The Lambda is ...
Kevin D's user avatar
  • 485
3 votes
0 answers
611 views

Issue connecting to AWS Elasticache which is encrypted (Encryption at-rest/in-transit). I am using dotnet core

I am connecting to Redis (hosted in aws elasticache) with encryption enabled (both in-transit and at-rest). I am using dotnet core 3.1 and AWS Lambda using StackExchange.Redis. The following is the ...
Moin's user avatar
  • 166
3 votes
1 answer
2k views

How to make AWS Elasticache Redis split read requests across all read replicas?

I have a Redis Elasticache non-clustered instance with one primary node and two read replicas. Using the Stack Exchange Redis client I provide the reader endpoint and make a get request. Based on the ...
infojolt's user avatar
  • 5,418
1 vote
1 answer
2k views

Why is read replica on Elasticache Redis instance not showing handling any read requests?

I have an AWS Elasticache Redis instance with 2 nodes - primary and a read replica. I'm connecting to the instance using StackExchange.Redis. The databases value passed to the constructor is a comma ...
infojolt's user avatar
  • 5,418
0 votes
2 answers
6k views

How can I disable certificate validation with StackExchange.Redis?

We are utilizing StackExchange.Redis for our .Net applications and are upgrading from Redis 3.2.10 hosted on-prem to AWS Elasticache 5.0.5 where we will are enabling transit_encryption and ...
Jared's user avatar
  • 155

15 30 50 per page