Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I'm uploading larger files (up to 9.3 GiB) in 4 MiB chunks via the dropbox python library in an Azure function.
In the last few months they started failing very frequently because on some chunks the files_upload_session_append_v2 times out.
I increased the timeout to 4.5 minutes, but it still times out.
Since I'm uploading from an Azure data center I doubt this is an ISP issue.
Sometimes the chunk gets accepted by dropbox despite the timeout and sometimes not.
I'm trying to adapt my code for this, but at the same time would like to know if there is any throttling going on or any known issues on the dropbox side.
Thank you!
Thanks for the report! I'm not aware of anything that should be causing this, but we'll be happy to look into this. To help us investigate, please share the following:
traceroute
or tracert
to content.dropboxapi.com
from an affected machineHi Greg,
Thanks for replying.
Python version: 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)]
Dropbox SDK version: 8.8.1
On the last 2330 calls I got 15 timeouts, so based on this limited data about 0.7% failure rate
I'm calling DBX.files_upload_session_append_v2(chunk, cursor) and I'll get a requests Timeout exception on a random chunk during that call.
Appaerently Azure web app service intances block ICMP. So I can't use Ping and Tracert, but here is a tcpping result:
PS D:\home> tcpping content.dropboxapi.com tcpping content.dropboxapi.com Connected to content.dropboxapi.com:80, time taken: 78ms Connected to content.dropboxapi.com:80, time taken: 49ms Connected to content.dropboxapi.com:80, time taken: <1ms Connected to content.dropboxapi.com:80, time taken: 10ms Complete: 4/4 successful attempts (100% ). Average success time: 34.25ms
Thanks for following up. Can you share the actual error output though? The particular error type and stack trace may be helpful. Thanks in advance!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!