HighTechTalks DotNet Forums  

Troubleshoot IOException on IAsyncResult and HTTPS

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Troubleshoot IOException on IAsyncResult and HTTPS in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old   
Martijn van Schie
 
Posts: n/a

Default Re: Troubleshoot IOException on IAsyncResult and HTTPS - 03-10-2008 , 01:59 PM






Hi John,

Our customer let me know today that the issue is resolved after installing
SP1.
I agree on the End* stack . The application is programmed to be very
generic and modulated, and yes, the EndPostXmlMessageRequest is ours. It's
handles the callback from a custom soap request to a webservice proxy using
the HttpWebRequest object.

One problem is that i can't reproduce the issue that easily anymore, as i
installed SP1 on both the test and development machine. I might have a stack
for you from an eventlog backup or issue tracker. I'll try to find one and
post it for you.

Thank you for your time anyways.

Regards,
Martijn


"John Saunders [MVP]" <john.saunders at trizetto.com> wrote

Quote:
"Martijn van Schie" <mvanschie (AT) newsgroup (DOT) nospam> wrote in message
news:73292969-F6EC-4A86-B4C8-39A7A26309CF (AT) microsoft (DOT) com...
Hi John,

It's hard for me to reproduce it using HTTP, because we are using a test
WebService from a third party authorisation service.

The entire stacktrace comes to this:

Stack Trace :
at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[]
buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32
size)
at TestApplication.ClientProxy.EndPostXmlMessageReque st(IAsyncResult
asyncResult)
at TestApplication.ClientProxy.EndVerifyRequest(IAsyn cResult
asyncResultRequest)
at
TestApplication.Async.AsyncVerification.EndAsyncVe rifyRequest(IAsyncResult
asyncResult)

That's an interesting pattern of End* method calls. Can you provide an
outline of the pattern of async calling? Is EndPostXmlMessageRequest your
code? Does it explicitly call Write on the stream?

Also, in this case, it's possible that more than just the stack trace may
be interesting. Can you provide the output of ex.ToString()? That is, when
you catch the exception, run ToString on the caught exception, then post
the result. That will include all of the nested InnerException instances.

--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer




Reply With Quote
  #12  
Old   
Martijn van Schie
 
Posts: n/a

Default Re: Troubleshoot IOException on IAsyncResult and HTTPS - 03-10-2008 , 01:59 PM






Hi John,

Our customer let me know today that the issue is resolved after installing
SP1.
I agree on the End* stack . The application is programmed to be very
generic and modulated, and yes, the EndPostXmlMessageRequest is ours. It's
handles the callback from a custom soap request to a webservice proxy using
the HttpWebRequest object.

One problem is that i can't reproduce the issue that easily anymore, as i
installed SP1 on both the test and development machine. I might have a stack
for you from an eventlog backup or issue tracker. I'll try to find one and
post it for you.

Thank you for your time anyways.

Regards,
Martijn


"John Saunders [MVP]" <john.saunders at trizetto.com> wrote

Quote:
"Martijn van Schie" <mvanschie (AT) newsgroup (DOT) nospam> wrote in message
news:73292969-F6EC-4A86-B4C8-39A7A26309CF (AT) microsoft (DOT) com...
Hi John,

It's hard for me to reproduce it using HTTP, because we are using a test
WebService from a third party authorisation service.

The entire stacktrace comes to this:

Stack Trace :
at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[]
buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32
size)
at TestApplication.ClientProxy.EndPostXmlMessageReque st(IAsyncResult
asyncResult)
at TestApplication.ClientProxy.EndVerifyRequest(IAsyn cResult
asyncResultRequest)
at
TestApplication.Async.AsyncVerification.EndAsyncVe rifyRequest(IAsyncResult
asyncResult)

That's an interesting pattern of End* method calls. Can you provide an
outline of the pattern of async calling? Is EndPostXmlMessageRequest your
code? Does it explicitly call Write on the stream?

Also, in this case, it's possible that more than just the stack trace may
be interesting. Can you provide the output of ex.ToString()? That is, when
you catch the exception, run ToString on the caught exception, then post
the result. That will include all of the nested InnerException instances.

--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer




Reply With Quote
  #13  
Old   
Martijn van Schie
 
Posts: n/a

Default Re: Troubleshoot IOException on IAsyncResult and HTTPS - 03-10-2008 , 01:59 PM



Hi John,

Our customer let me know today that the issue is resolved after installing
SP1.
I agree on the End* stack . The application is programmed to be very
generic and modulated, and yes, the EndPostXmlMessageRequest is ours. It's
handles the callback from a custom soap request to a webservice proxy using
the HttpWebRequest object.

One problem is that i can't reproduce the issue that easily anymore, as i
installed SP1 on both the test and development machine. I might have a stack
for you from an eventlog backup or issue tracker. I'll try to find one and
post it for you.

Thank you for your time anyways.

Regards,
Martijn


"John Saunders [MVP]" <john.saunders at trizetto.com> wrote

Quote:
"Martijn van Schie" <mvanschie (AT) newsgroup (DOT) nospam> wrote in message
news:73292969-F6EC-4A86-B4C8-39A7A26309CF (AT) microsoft (DOT) com...
Hi John,

It's hard for me to reproduce it using HTTP, because we are using a test
WebService from a third party authorisation service.

The entire stacktrace comes to this:

Stack Trace :
at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[]
buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32
size)
at TestApplication.ClientProxy.EndPostXmlMessageReque st(IAsyncResult
asyncResult)
at TestApplication.ClientProxy.EndVerifyRequest(IAsyn cResult
asyncResultRequest)
at
TestApplication.Async.AsyncVerification.EndAsyncVe rifyRequest(IAsyncResult
asyncResult)

That's an interesting pattern of End* method calls. Can you provide an
outline of the pattern of async calling? Is EndPostXmlMessageRequest your
code? Does it explicitly call Write on the stream?

Also, in this case, it's possible that more than just the stack trace may
be interesting. Can you provide the output of ex.ToString()? That is, when
you catch the exception, run ToString on the caught exception, then post
the result. That will include all of the nested InnerException instances.

--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.