An existing connection was forcibly closed by the remote host !!!
-
jueves, 12 de enero de 2012 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
Todas las respuestas
-
viernes, 13 de enero de 2012 14:57Any help will be greatly appreciated.
jackiewkc -
domingo, 15 de enero de 2012 10:54Anyone got any idea? Thanks.
jackiewkc -
jueves, 19 de enero de 2012 13:16Any help please?
jackiewkc -
viernes, 20 de enero de 2012 14:54Its hard to tell without any traces. Can you get client and server side traces ?
-
viernes, 20 de enero de 2012 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 -
viernes, 20 de enero de 2012 15:01
http://msdn.microsoft.com/en-us/library/hh334238.aspx
This guides you on how to get the traces.
-
viernes, 20 de enero de 2012 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 -
jueves, 02 de agosto de 2012 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
-
martes, 28 de agosto de 2012 12:17
thanks. will definitely try this out.jackiewkc
- Marcado como respuesta jackiewkc martes, 28 de agosto de 2012 12:17

