-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Question] What's the minimum version of Redis Server to work with StackExchange.Redis? #2789
Comments
Anything RESP2 or above - which includes 3.0.504 and quite a bit lower. Are you seeing any specific problems? By chance, Redis 3.0.5xx is actually particularly well-tested simply because Redis-64 (the now-abandoned Windows fork) is around there (I think that's 3.0.503). |
I looked it up; RESP aka RESP2 was released in Redis 1.2; so that is the earliest Redis version that I would expect to work. I have not explicitly tested Redis 1.2, and of course many features/commands will be missing at the server. |
Yes, I'm observing an issue when using Redis as a backplane for SignalR:
As expected, once it uses the connection for pub/sub, it does not handle other commands, but I'd expect the secondary connection would be used for the other commands and apparently it's trying to use the same connection. We're currently using StackExchange.Redis version |
OK; let's gather some info, then. We have your client version - 2.7.33 - and your server version, 3.0.504, thanks. Can I check some additional things:
The library is indeed meant to take care of splitting commands between their correct connections; if that's not happening, something is wrong - let's see if we can figure out what! (/cc @BrennanConroy just for SignalR visibility; probably nothing for SignalR to do here, though; edit: it looks most likely to be a "attempting RESP3 on a non-RESP3 server" config combined with a client library error in that area) |
Thanks for your swift response, @mgravell
I don't have direct access to the Redis Server but I think I can ask for this info internally.
.NET Framework 4.8
I use Redis myself too, but no manual command is fired, only via the library's APIs.
This is probably the cause of our issue, thanks for pointing that out! We try to enable
As far as I'm aware the traffic is being handled normally. |
RESP3 is great when it works; however, Redis 3 absolutely does NOT support RESP3. The bug mentioned above will hopefully be addressed quickly - it is not expected to fail in this way. |
I did notice, as we log this info after establishing the connection:
That the actual protocol used for the connection was
But perhaps the attempt to use |
Yes, it is believed that the problem here happens during the attempt - basically, we need to defer any subscription code until fully after the handshake has completed successfully and we can see what the discovered setup is. |
Hello! Just an update for this issue, indeed when we stop forcing |
What's the minimum version of Redis Server to work with StackExchange.Redis?
I'm asking this to check if Redis version 3.0.504 is expected to work with the library.
Thanks!
The text was updated successfully, but these errors were encountered: