StackExchange / StackExchange.Redis

General purpose redis client
https://stackexchange.github.io/StackExchange.Redis/
Other
5.87k stars 1.51k forks source link

No connection is active/available to service this operation: SCAN on v: 2.2.50.36290 #2528

Open leochen1995 opened 1 year ago

leochen1995 commented 1 year ago

Host: Windows Server 2012 Installed .NET Framework 4.7

The program is compiled using .NET Framework 4.6.2 Integration with Redis (https://aka.ms/redis/p/bestpractices): Integration works correctly.

The program is compiled using .NET Framework 4.7 Integration with Redis (https://aka.ms/redis/p/bestpractices): The following error message appears: "No connection is active/available to service this operation: SCAN; the requested feature is not supported, mc: 1/1/0, mgr: 10 of 10 available, clientName: XXXXX-TEST, IOCP: (Busy=2, Free=998, Min=2, Max=1000), WORKER: (Busy=0, Free=2047, Min=2, Max=2047), v: 2.2.50.36290"

Why is it that installing .NET 4.6.2 on Windows Server 2012 allows it to run, but .NET 4.7 cannot operate?

NickCraver commented 1 year ago

I'd recommend trying a much newer version (preferably latest) - you'll get a much better error message here. I imagine there's something else different in play, such as system TLS default versions.