Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ServiceStack.Redis: Unable to Connect: sPort: 50071

I'm using the ServiceStack Redis Client and I was hoping that I could get a clarification on what might cause the following error ... "Unable to Connect: sPort: 50071"? I'm using the "PooledRedisClientManager" object for connections. Thanks for any assistance.

like image 866
Andy Berryman Avatar asked Nov 01 '22 15:11

Andy Berryman


1 Answers

IF YOU ARE USING A SELF HOSTED REDIS SERVER AND USING THE Service Stack Redis Client THEN BUYER BEWARE

As of 9/23/2015

Service Stack does license validation in the client code (rather than the server). If you are ripping through a lot of messages 6000+ an hour you will get. The resulting error is

Unable to Connect: sPort: 

However, it is not handling their custom LicenseExpection and exposing the error correctly. The error would be something like this:

The free-quota limit on '6000 Redis requests per hour' has been reached. Please see https://servicestack.net to upgrade to a commercial license or visit https://github.com/ServiceStackV3/ServiceStackV3 to revert back to the free ServiceStack v3.

I doubt you have imposed such a limit on your server :-)

like image 163
hylander0 Avatar answered Nov 08 '22 08:11

hylander0