RedisServerException "ERR command is not allowed" after v3.4.0 update
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start in src/StackExchange.Redis/ConnectionMultiplexer.cs at GetEndpointsFromClusterNodes, around line 2165, where the exception originates. Check how cluster configuration is updated for non-clustered Azure Managed Redis and compare that behavior with v3.3.1. Done means the non-clustered resource no longer triggers the forbidden-command error while cluster endpoint discovery still works.
Written by the indexing model from the issue text.
Description
Since we upgraded to v3.4.0 we observe exceptions with error message Encountered error while updating cluster config: ERR command is not allowed and call stack:
StackExchange.Redis.RedisServerException:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter.GetResult (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at StackExchange.Redis.ConnectionMultiplexer+<GetEndpointsFromClusterNodes>d__176.MoveNext (StackExchange.Redis, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46: /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:2165)
We are using Azure Managed Redis non-clustered resource which might be the reason for the observed exception. Downgrading to v3.3.1 fixes the issue.
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 1.6k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 31
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from StackExchange/StackExchange.Redis
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
StackExchange/StackExchange.Redis#3249 · 2 comments ·
Maintainers usually reply within 1 day
-
HotKeysClusterTests.CanUseClusterFilter skips intermittently, hiding the assertions it exists forOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
StackExchange/StackExchange.Redis#3239 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
StackExchange/StackExchange.Redis#3240 ·
Maintainers usually reply within 1 day
-
RedisValue equality treats "1,000", "(5)" and " 5 " as numbers, via NumberStyles.AnyPossibly taken @banlor claimed this 22 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
StackExchange/StackExchange.Redis#3233 · 1 comment ·
Maintainers usually reply within 1 day
-
Failover: support single configuration-string connectPossibly taken @mgravell claimed this 76 days ago. Open⚙️ area:failover
StackExchange/StackExchange.Redis#3147 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in StackExchange/StackExchange.Redis
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
good first issue help wanted ready-for-human
Difficulty 2/5 Half a day Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
ready-for-agent size:S status:todo
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
elsa-workflows/elsa-foundation#2830 ·
Maintainers usually reply within 1 day
-
Review - Maintainer WG-Maintainers-Build
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PowerShell/PowerShell#28220 · 1 comment ·
Maintainers usually reply within 1 day
-
area: docs eco: dotnet good first issue help wanted lane: free-agent roadmap size: XS type: docs
Difficulty 2/5 Under an hour Newbie friendliness 72/100
arminazimi/evergreen#377 ·
Maintainers usually reply within 1 day