Skip to main content

Microsoft Silverlight

REST API - Connection forcibly closed ?RSS Feed

(0)

mdhandapai
mdhandapai

Member

Member

32 points

23 Posts

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 ?

 

Nichols
Nichols

Member

Member

8 points

4 Posts

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.

 

vga
vga

Member

Member

10 points

7 Posts

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 !!

Frogs69
Frogs69

Participant

Participant

798 points

219 Posts

Microsoft

Re: REST API - Connection forcibly closed ?

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

Frogs69
Frogs69

Participant

Participant

798 points

219 Posts

Microsoft

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.

vga
vga

Member

Member

10 points

7 Posts

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 !!
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities