HttpWebRequest::GetRequestStream gets blocked

D

Dmitriy

I am having a thread blocking issue of some sort when invoking a SoapHttpClientProtocol object after having a System.Net.WebException{"The request failed with HTTP status 502: Connection refused." } thrown during the previous invocation of a different (or the same one - it doen't matter) instance of SoapHttpClientProtocol. Exceptions coming from the target service do not cause blockage - only happens after connection was refused (the target service was down).

Anybody have seen anything like this?

Here is the relevant part of the stack :
mscorlib.dll!System.Threading.WaitHandle::WaitOne(__int32 millisecondsTimeout = 100000, bool exitContext = false) + 0x78 bytes
system.dll!System.Net.HttpWebRequest::GetRequestStream() + 0x77 bytes
system.web.services.dll!System.Web.Services.Protocols.SoapHttpClientProtocol::Invoke(String* methodName = "test", System.Object[] parameters = {Length=5}) + 0xa8 bytes
 
M

Michelle Hlaing

--------------------
From: "=?Utf-8?B?RG1pdHJpeQ==?=" <[email protected]>
Subject: HttpWebRequest::GetRequestStream gets blocked
Date: Wed, 9 Jun 2004 09:38:28 -0700

I am having a thread blocking issue of some sort when invoking a SoapHttpClientProtocol object after having a System.Net.WebException{"The request failed with
HTTP status 502: Connection refused." } thrown during the previous invocation of a different (or the same one - it doen't matter) instance of SoapHttpClientProtocol.
Exceptions coming from the target service do not cause blockage - only happens after connection was refused (the target service was down).
Anybody have seen anything like this?

Here is the relevant part of the stack :
mscorlib.dll!System.Threading.WaitHandle::WaitOne(__int32 millisecondsTimeout = 100000, bool exitContext = false) + 0x78 bytes
system.dll!System.Net.HttpWebRequest::GetRequestStream() + 0x77 bytes
system.web.services.dll!System.Web.Services.Protocols.SoapHttpClientProtocol::Invoke(String* methodName = "test", System.Object[] parameters = {Length=5}) + 0xa8 bytes
If you find yourself stuck, maybe you can use this article to assist you in debugging: http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dnbda/html/dbgch03.asp

Hope that helps,

Michelle

***Disclaimer: This posting is provided "as is" with no warranties and confers no rights.***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top