EXCEPTION: ClientAbortException: java.net.SocketException: Connection reset
by peer: socket write error
ClientAbortException: java.net.SocketException: Connection reset by peer:
socket write error
[quoted text, click to view] "Jerome Cohen" <yoram.ayalon@structuredweb.com> wrote in message
news:%23UTyup09EHA.824@TK2MSFTNGP11.phx.gbl...
>
> I am calling a web service that requires WSE signing and encrypting. I am
> using ASP.NET + the latest .NET framework + WSE 2.0 downloads.
>
> Everything works fine when the response is modest in size. However, when I
> call in a way that the response is supposed to be > 6 MB, then I get a
> timeout exception after 600-700 seconds.
>
> I have setup both machine.config and my project web.config to allow buffer
> of 20MB and timeout of 1800 seconds. before I did that I would get an
> exception on the buffer.
> I even set the "Timeout" property of my instance of ServiceRootSoap to
same
> amount of seconds.
>
> the web service support people see my request and an answer being sent
> normally. an entry is generated in my output trace but none on the input
> trace.
>
> what is wrong ?
>
>
> here is my web.config setup for buffer and timeout
> ---------------------------------------------------------
> <messaging>
> <maxRequestLength>20480</maxRequestLength>
> <executionTimeout value="1800" />
> </messaging>
>
> here is my machine.config setup for buffer and timeout
> (WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG)
> ---------------------------------------------------------
> <httpRuntime
> executionTimeout="1800"
> maxRequestLength="20480"
> useFullyQualifiedRedirectUrl="false"
> minFreeThreads="8"
> minLocalRequestFreeThreads="4"
> appRequestQueueLimit="100"
> enableVersionHeader="true"
> />
>
>
> here is my stack trace for the timerout exception:
>
> -------------------------
> The operation has timed-out. exception trace: at
> System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) at
> System.Xml.XmlStreamReader.Read(Byte[] data, Int32 offset, Int32 length)
at
> System.Xml.XmlScanner.Read() at System.Xml.XmlScanner.ScanContent() at
> System.Xml.XmlTextReader.ParseBeginTagExpandCharEntities() at
> System.Xml.XmlTextReader.Read() at
> Microsoft.Web.Services2.Xml.XmlSkipDTDReader.Read() at
> System.Xml.XmlLoader.LoadChildren(XmlNode parent) at
> System.Xml.XmlLoader.LoadElementNode() at
> System.Xml.XmlLoader.LoadCurrentNode() at
> System.Xml.XmlLoader.LoadChildren(XmlNode parent) at
> System.Xml.XmlLoader.LoadElementNode() at
> System.Xml.XmlLoader.LoadCurrentNode() at
> System.Xml.XmlLoader.LoadChildren(XmlNode parent) at
> System.Xml.XmlLoader.LoadElementNode() at
> System.Xml.XmlLoader.LoadCurrentNode() at
> System.Xml.XmlLoader.LoadChildren(XmlNode parent) at
> System.Xml.XmlLoader.LoadElementNode() at
> System.Xml.XmlLoader.LoadCurrentNode() at
> System.Xml.XmlLoader.LoadChildren(XmlNode parent) at
> System.Xml.XmlLoader.LoadElementNode() at
> System.Xml.XmlLoader.LoadCurrentNode() at
> System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at
> System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
> preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at
> Microsoft.Web.Services2.SoapEnvelope.Load(Stream stream) at
>
Microsoft.Web.Services2.Messaging.SoapPlainFormatter.Microsoft.Web.Services2
> .Messaging.ISoapFormatter.Deserialize(Stream stream) at
> Microsoft.Web.Services2.InputStream.GetRawContent() at
> Microsoft.Web.Services2.InputStream.get_Length() at
> System.Xml.XmlScanner..ctor(TextReader reader, XmlNameTable ntable) at
> System.Xml.XmlTextReader..ctor(String url, TextReader input, XmlNameTable
> nt) at System.Xml.XmlTextReader..ctor(TextReader input) at
>
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient
> Message message, WebResponse response, Stream responseStream, Boolean
> asyncCall) at
> System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters) at
> HDwsclient.WebReference.ServiceRootSoap.CallService(CallService p0)
>
>