GetWebResponse times out over HTTPS

  • Thread starter Thread starter uday
  • Start date Start date
U

uday

Hi,

I am using .Net CF 2.0. I have this following issue:

When making a webservice call to upload more than 30KB worth of data
over an HTTPS connection (TLSv1 SSL_RSA_WITH_RC4_128_MD5) I receive a
WebException.Timeout exception. When sending less than 30KB of data
using the same SSL connection the call is successful. On the contrary
I have no trouble sending like 300KB worth of data over HTTP.


Following is the exception message:
WebException.Message: The operation has timed-out.

Following is the StackTrace:
WebException.StackTrace: at
System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse()
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke()

Any help would be really appreciated.

Thanks.
~uday
 
Well, we figured this the problem (bug) in .Net CF 2.0. In .Net CF
2.0 SP1 this is fixed. Virtually HTTP and HTTPS doesn't have any
difference in terms of the amount of data which is being sent.

Found the following under the "Fixed Issues" of the download page of
".NET Compact Framework 2.0 Service Pack 1 Redistributable".

A call to HttpWebRequest over SSL with a payload greater than 32 KB
hangs on the client when SendChunked returns false.
 
Back
Top