我有一些云服务部署,并且我不时地看到在 Microsoft Azure基础架构日志
下引发此异常0 Message="System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
Server stack trace:
at System.String.Substring(Int32 startIndex, Int32 length)
at Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpRemoteEndpointFinder.GetRemoteEndpoint(Socket clientSocket, Stream peekBuffer)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.WindowsAzure.Plugins.RemoteForwarder.IRemoteEndpointFinder.GetRemoteEndpoint(Socket clientSocket, Stream peekBuffer)
at Microsoft.WindowsAzure.Plugins.RemoteForwarder.RemoteForwardingService.ClientConnected(Object sender, ConnectionEventArgs e)
at Microsoft.WindowsAzure.Plugins.RemoteForwarder.TcpSocketServer.OnClientConnected(ConnectionEventArgs e)" 0 0 00000000-0000-0000-0000-000000000000 15d2502e-8793-435d-b9fa-87e67a7bba29 MySolution.Azure.MyWorkerRole_IN_0 5f0332c190e24146a849d7937ecccc13 23/05/2016 05:40:43
知道为什么要提出这个以及如何避免它?