Server Error in '/' Application.
No connection could be made because the target machine actively refused it 10.234.81.47:6379
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 10.234.81.47:6379
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SocketException (0x274d): No connection could be made because the target machine actively refused it 10.234.81.47:6379]
System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port) +1690449
System.Net.Sockets.Socket.Connect(String host, Int32 port) +143
ServiceStack.Redis.RedisNativeClient.Connect() in C:\Projects\ThirdParty\ServiceStack.Redis\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:33
[RedisException: could not connect to redis Instance at ec2-46-137-85-81.eu-west-1.compute.amazonaws.com:6379]
ServiceStack.Redis.RedisNativeClient.Connect() in C:\Projects\ThirdParty\ServiceStack.Redis\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:70
ServiceStack.Redis.RedisNativeClient.AssertConnectedSocket() in C:\Projects\ThirdParty\ServiceStack.Redis\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:107
ServiceStack.Redis.RedisNativeClient.SendCommand(Byte[][] cmdWithBinaryArgs) in C:\Projects\ThirdParty\ServiceStack.Redis\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:186
ServiceStack.Redis.RedisNativeClient.SendExpectMultiData(Byte[][] cmdWithBinaryArgs) in C:\Projects\ThirdParty\ServiceStack.Redis\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:344
ServiceStack.Redis.RedisNativeClient.MGet(String[] keys) in C:\Projects\ThirdParty\ServiceStack.Redis\src\ServiceStack.Redis\RedisNativeClient.cs:514
ServiceStack.Redis.RedisClient.GetAll(IEnumerable`1 keys) in C:\Projects\ThirdParty\ServiceStack.Redis\src\ServiceStack.Redis\RedisClient.ICacheClient.cs:152
Kobojo.Caching.Client.RedisClient.Get(String[] keys) in c:\Builds\5\Framework\BLD-TECHNICAL-DEV\Sources\Technical\Caching\Client\RedisClient.cs:146
Kobojo.Caching.PooledClient.GenericPooledCacheClientWrapper.Get(String[] keys) in c:\Builds\5\Framework\BLD-TECHNICAL-DEV\Sources\Technical\Caching\PooledClient\GenericPooledCacheClientWrapper.cs:333
Kobojo.Caching.PooledClient.GenericShardedCacheClientWrapper.Get(String[] keys) in c:\Builds\5\Framework\BLD-TECHNICAL-DEV\Sources\Technical\Caching\PooledClient\GenericShardedCacheClientWrapper.cs:222
Kobojo.Api.User.Provider.CacheUserProvider.InternalGetByPlatformUserId(PlatformId platformId, ApplicationId applicationId, IEnumerable`1 platformUserIds) in C:\Projects\SI\root\Api\Library\User\Provider\User\CacheUserProvider.cs:260
Kobojo.Api.User.Provider.BaseUserProvider.Kobojo.Api.User.Provider.IUserProvider.GetByPlatformUserId(PlatformId platformId, ApplicationId applicationId, Int64 platformUserId) in C:\Projects\SI\root\Api\Library\User\Provider\User\BaseUserProvider.cs:368
[TechnicalException: An error occured in BaseUserProvider.GetByPlatformUserId<KobojoUser> ([PlatformId=Facebook], [ApplicationId=PyramidVilleMena], [PlatformUserId=100000388995073]).]
Kobojo.Api.User.Provider.BaseUserProvider.Kobojo.Api.User.Provider.IUserProvider.GetByPlatformUserId(PlatformId platformId, ApplicationId applicationId, Int64 platformUserId) in C:\Projects\SI\root\Api\Library\User\Provider\User\BaseUserProvider.cs:379
Kobojo.Toolkit.User.UserProvider.GetByPlatformUserId(Int64 platformUserId, Boolean isLogged, NameValueCollection queryString) in C:\tfs_Framework\Business\Toolkit\User\UserProvider.cs:268
Kobojo.Toolkit.User.UserProvider.GetPlayer(NameValueCollection queryString, String signedUser) in C:\tfs_Framework\Business\Toolkit\User\UserProvider.cs:244
Kobojo.TimeManagement.Front.Controller.BaseFrontController.get_player() in C:\tfs_Framework\Business\TimeManagement.Front\Controller\BaseFrontController.cs:57
Kobojo.TimeManagement.Front.Controller.BaseFrontController.get_IsIntalled() in C:\tfs_Framework\Business\TimeManagement.Front\Controller\BaseFrontController.cs:73
Kobojo.TimeManagement.Front.Controller.Home.HomeController.CheckWelcomePage() in C:\tfs_Framework\Business\TimeManagement.Front\Controller\Home\HomeController.cs:226
Kobojo.TimeManagement.Front.Controller.Home.HomeController.Index(String page, String lang) in C:\tfs_Framework\Business\TimeManagement.Front\Controller\Home\HomeController.cs:68
PyramidVille.Front.Controllers.HomeController.Index(String page, String lang) +21
lambda_method(Closure , ControllerBase , Object[] ) +158
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +199
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a() +56
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267
System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() +20
almisany
0 Points
1 Post
Server Error in '/' Application plz help me to solved this problem
Jul 08, 2012 11:41 AM|LINK
Mudasir.Khan
All-Star
15346 Points
3142 Posts
Re: Server Error in '/' Application plz help me to solved this problem
Jul 08, 2012 06:15 PM|LINK
amazon has a security check for every call
it does check whether user id and allowed IPs for that user id if it doesn't match then it throws this error
so please send the mail to amazon asking them to allow this 10.234.81.47:6379 and other servers and ports from which you want to make a call
Ruchira
All-Star
43068 Points
7045 Posts
MVP
Re: Server Error in '/' Application plz help me to solved this problem
Jul 09, 2012 01:36 PM|LINK
Hello,
On 10.234.81.47 machine, make sure the firewall/antivirus allow port 6379
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.