Page view counter
REST API - Connection forcibly closed ?
Last post 09-11-2007 8:12 PM by vga. 5 replies.
Sort Posts:
07-24-2007 6:26 PM
REST API - Connection forcibly closed ?

Hi,

Uploading a ~6MB zip archive using REST API from c# code fails with the following error:

 Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

The archive has ~61 files, the largest of them is 835KB image file. 

The same c# code works fine for smaller zip archives.
The larger zip archive mostly works when I upload through the Silervlight.live.com web interface. Mostly because, even there I get timed out some times.

Any one has similar issues.

I did try to set the time-out to a larger value (20,000,000) with no luck.
Any workaround ?

 

mdhandapai

Loading...
Joined on 05-17-2007
Posts 23
08-06-2007 1:53 PM
Re: REST API - Connection forcibly closed ?

How long did the transfer last before you got the error? Our timeouts are reasonably large (15 minutes), so it should have worked if you could do 55Kbits/sec or so. Are you going through a web proxy server? Sometimes those get impatient.

 

Nichols

Loading...
Joined on 05-02-2007
Posts 4
09-10-2007 9:34 PM
Re: REST API - Connection forcibly closed ?
It would surely help if you add a mention to the timeout being set to 15 minutes in the Silverlight Streaming SDK...

Victor Garcia Aprea
Microsoft MVP | ASP.NET

Looking for insights on ASP.NET?, read my blog: Followers of the IHttpHandler !!

vga

Loading...
Joined on 06-17-2002
Posts 7
09-11-2007 4:00 PM
Re: REST API - Connection forcibly closed ?

Yes, indeed, this will be done shortly. Thanks for the feedback.

Frogs69

Loading...
Joined on 04-30-2007
Redmond, WA
Posts 218
09-11-2007 7:19 PM
Re: REST API - Connection forcibly closed ?

Hi Victor, this is done now. Check out the updated section "Uploading an Application" of the page "Using the Silverlight Streaming Administration Site" on http://dev.live.com/silverlight/adminsite.aspx. Keep the feedback coming.

Frogs69

Loading...
Joined on 04-30-2007
Redmond, WA
Posts 218
09-11-2007 8:12 PM
Re: REST API - Connection forcibly closed ?

Now, that was fast!! Thanks.



 

 
 

Victor Garcia Aprea
Microsoft MVP | ASP.NET

Looking for insights on ASP.NET?, read my blog: Followers of the IHttpHandler !!

vga

Loading...
Joined on 06-17-2002
Posts 7
Microsoft Communities