cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out 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

Re: Web Exception

Greg-DB
Dropboxer
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.
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?