-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fallback to RESP2 upon NOPROTO
response
#2455
Comments
It was noticed that forcing RESP2 helps fix the issue:
|
Please provide additional context. Setting the logger
|
Thanks for your help. Here are the traces:
|
Interesting. This redis server doesn’t support RESP3, the spec used to send -ERR for servers that use lower versions. Can you discuss this issue with your redis provider, why suddenly this change is? |
The provider is redis.com. I will ask them if they can comment here. |
Redis Inc. are in the process of preparing for a larger rollout of Redis 7.2, which will include support for RESP3, which has not been made available with previous Redis Enterprise or Redis Enterprise Cloud. As part of the preliminary rollout to selected regions, existing databases being upgraded to Redis 7.2 have RESP3 disabled. Effectively, when you create a new database, RESP2 and RESP3 will be available, but for existing databases, only RESP2 is available (preserving existing behavior, functionality, etc.) — in an attempt to avoid introducing inadvertent issues to our active customers. However, while doing this, we inadvertently changed the server behavior. Instead of responding with Redis Inc. is actively working to roll out an update to revert the change in behavior and pausing ANY additional rollout until this is addressed. The workaround, in the meantime, is documented here: https://docs.redis.com/latest/rc/changelog/june-2023/#lettuce |
NOPROTO
response
Thanks for the detail. We can easily add a protocol downgrade to RESP2 if the |
Lettuce can now handle |
Bug Report
Current Behavior
Redis.com just upgraded all clusters to version 7.2.0. Since, any connection to the cluster fails with error
NOPROTO unsupported protocol version
from Lettuce client.Stack trace
Input Code
Input Code
Expected behavior/code
No connection error.
Environment
The text was updated successfully, but these errors were encountered: