Some specific environmental settings may cause errors to occur within Rapid Recovery, particularly during agent protection.
These errors typically occur on agents running Windows Server 2003; however the errors and steps described within this article are applicable to all Windows operating systems (OS).
You may receive the following errors.
1. Before metadata is taken:
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
Microsoft.Http.HttpStageProcessingException —> System.Net.WebException —> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
2. Authentication error:
WCFClientBase.ClientServerErrorException: Call to service method https://intranet:8006/apprecovery/api/agent/metadata/fullMetadata PUT failed —> Microsoft.Http.HttpStageProcessingException —> System.Net.WebException —> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. —> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
3. Relevant information in log files:
ERROR 2012-11-11T19:36:12 [15] - Replay.ServiceHost.Implementation.Hosting.ServiceHost (RequestUri=https://localhost:8006/apprecovery/api/core/agents/pairing/repairOrphan ClientAddress=::1:65266)
Service Host Error: Service error while handling request [POST https://localhost:8006/apprecovery/api/core/agents/pairing/repairOrphan]: Error occurred pairing to agent at URL ‘https://spino:8006/apprecovery/api/agent/‘ ;
Request Uri: https://localhost:8006/apprecovery/api/core/agents/pairing/repairOrphan
Client Address: ::1:65266
Identity: NTLM:NT AUTHORITY\SYSTEM
Service: Replay.Core.Management.Agents.AgentsManagement
Method: RepairOrphanedPairing
Replay.Core.Contracts.Agents.AgentPairingFailedException: Error occurred pairing to agent at URL
‘https://spino:8006/apprecovery/api/agent/‘ ; —> WCFClientBase.HttpUnauthorizedRequestException: Call to service methodhttps://spino:8006/apprecovery/api/agent/pair/connect GET failed
at WCFClientBase.ClientBase.HandleResponse(Uri uri, String method, HttpResponseMessage response)
at WCFClientBase.ClientBase.GetResponse(Uri uri, String method, String knownEtag)
at WCFClientBase.ClientBase.ExecuteServiceCall[T](Uri uri, String method)
at Replay.Core.Implementation.Agents.AgentsService.VerifyPairedAgentConnectivity(AgentDescriptor agentDescriptor)
at Replay.Core.Implementation.Agents.AgentsService.AddOrRepairProtectedAgent(AgentDescriptor agentDescriptor, Bool