cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Web Exception

Web Exception

portspet
New member | Level 2

I'm using the API to upload 7 files hourly for offsite disaster recovery.  This process works most of the time.  Several times a day I will get the following error. 

 

System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

 

It may last for 2 or 3 cycles and then clears up and works fine the rest of the day.  Any suggestions would be appreciated.

1 Reply 1

Greg-DB
Dropbox Staff
Are behind a proxy server or firewall, etc. that may be interfering or failing occasionally by any chance?

In any case, transient server/network issues like this can occur, so you should have your app automatically retry a few times on failures like this.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?