本番環境でのみ次の問題が発生しています。残りの環境は正常に動作します。
stackoverflow でさまざまなリンクを確認しましたが、何も機能しませんでした。
- `を増やしてみた
<httpRuntime maxRequestLength="2147483647" />
- タイムアウトの増加
トレースを入れますが、それでも特定の問題は見られません
[SocketException (0x2746): An existing connection was forcibly closed by the remote host] System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +245 [IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.] System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +7867549 System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) +22 System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) +408 [WebException: The underlying connection was closed: An unexpected error occurred on a receive.] System.Net.HttpWebRequest.GetResponse() +7870788 System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +99 [CommunicationException: An error occurred while receiving the HTTP response to http://myservice/Service.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +4728419 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1725 MyService.ISSO.ProcessRequest(SSORequest request) +0