An existing connection was forcibly closed by the remote host !!!
-
2012年1月12日 17:39
I am running the CacheSampleWebApp downloaded from Microsoft. I have a cache cluster created across two server. When trying to access CacheSampleWebApp/GetOrder.aspx, I got the following error:
An existing connection was forcibly closed by the remote host
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: An existing connection was forcibly closed by the remote host
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 (0x2746): An existing connection was forcibly closed by the remote host] [CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:10:00'.] System.Runtime.AsyncResult.End(IAsyncResult result) +900320 System.ServiceModel.Channels.CommunicationObject.EndOpen(IAsyncResult result) +17 Microsoft.ApplicationServer.Caching.ChannelContainer.Opened(IAsyncResult ar) +115 [DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more specified Cache servers are unavailable, which could be caused by busy network or servers. Ensure that security permission has been granted for this client account on the cluster and that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Retry later.)] Microsoft.ApplicationServer.Caching.ClientDRM.InitializeCasClient(String id, TimeSpan chnlOpenTimeout) +354 Microsoft.ApplicationServer.Caching.DataCacheFactory.InitDrm() +252 Microsoft.ApplicationServer.Caching.DataCacheFactory..ctor(DataCacheFactoryConfiguration configuration) +399 CacheUtil.GetCache() in C:\Users\wongjack\Desktop\WindowsServerAppFabricSamples\Samples\CS\Cache\CacheSampleWebApp\CacheSampleWebApp\CacheUtil.cs:42 Default2.Page_Load(Object sender, EventArgs e) in C:\Users\wongjack\Desktop\WindowsServerAppFabricSamples\Samples\CS\Cache\CacheSampleWebApp\CacheSampleWebApp\GetOrder.aspx.cs:11 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
I have added the following on the IIS server but there is C:\log\Trace.svclog.
<configuration> <system.diagnostics> <sources> <source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true"> <listeners> <add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData= "c:\log\Traces.svclog" /> </listeners> </source> </sources> </system.diagnostics> </configuration>Can someone please advise? Thanks.
jackiewkc
全部回复
-
2012年1月13日 14:57Any help will be greatly appreciated.
jackiewkc -
2012年1月15日 10:54Anyone got any idea? Thanks.
jackiewkc -
2012年1月19日 13:16Any help please?
jackiewkc -
2012年1月20日 14:54Its hard to tell without any traces. Can you get client and server side traces ?
-
2012年1月20日 14:58
Thanks for your response. Can you please let me know what traces you are looking for? I mean where can I get them?
Thanks.
jackiewkc -
2012年1月20日 15:01
http://msdn.microsoft.com/en-us/library/hh334238.aspx
This guides you on how to get the traces.
-
2012年1月20日 15:15
Thank you very much for your quick response. I will have a look at the link you provided and get the traces posted here as soon as possible.
jackiewkc -
2012年8月2日 5:24
Hi
I faced this same error 2 days back and found the fix in this link.
http://support.microsoft.com/kb/2493524.
Thanks
Raja
-
2012年8月28日 12:17
thanks. will definitely try this out.jackiewkc
- 已标记为答案 jackiewkc 2012年8月28日 12:17

