cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Not happy with your Spotify Wrapped? Check out how Kevin on the Dropbox team used Paper to make sure he keeps discovering new music over 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: 
1
Ask
2
Reply and help

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.
Who's talking

Top contributors to this post

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