We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ITNETSYS
6 years agoExplorer | Level 3
Frequent Timeouts (>4.5 minutes) during files_upload_session_append_v2
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 chu...
Greg-DB
Dropbox Community Moderator
6 years agoThanks 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:
- the version number of Python you're using
- the version number of the Dropbox Python SDK you're using
- an estimate of the percent of these calls that fail
- the full error output for a failed call
- the output of a
tracerouteortracerttocontent.dropboxapi.comfrom an affected machine
ITNETSYS
6 years agoExplorer | Level 3
Hi 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
- Greg-DB6 years ago
Dropbox Community Moderator
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!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!