We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
bramburn
6 years agoExplorer | Level 3
socket.timeout issue even with session upload
Hello I have quite a large amount of files on my machine and I have given up using the dropbox app as it just will not sync.
I am using the dropbox python sdk but I am having socket.timeout issues....
TaylorKrusen
Dropbox Staff
Generally speaking, nearly everything below 150 mb should work fine with the files/upload endpoint.
Could you please post a copy of the timeout error you're getting in both scenarios?
This could indicate some server or network issues. Is there anything that could be interfering with your connection to Dropbox such as a firewall or proxy?
bramburn
6 years agoExplorer | Level 3
hi Taylor,
Some investigations I am getting the following tracert for dropbox's IP
I am getting really bad latency to 162.125.64.8 at around 600-800ms on the python call. Something weird is going on here. Is this an SDK or python issue?
https://www.dropbox.com/s/yacp7lt72xv78qg/issue.png?dl=0
The tracert and ping looks awesome.
tracert on original machine:
Tracing route to 162.125.64.8 over a maximum of 30 hops 1 <1 ms <1 ms <1 ms READYSHARE [192.168.1.1] 2 1 ms <1 ms <1 ms host-80-195-102-233.static.cable.virginmedia.com [80.195.102.233] 3 1 ms 1 ms 1 ms brnt-metnet-3a-pw-281.network.virginmedia.net [80.194.148.83] 4 1 ms 1 ms 1 ms brnt-core-2a-ae2-3006.network.virginmedia.net [86.28.68.97] 5 * * * Request timed out. 6 2 ms 1 ms 1 ms m686-mp2.cvx1-b.lis.dial.ntli.net [62.254.42.174] 7 1 ms 1 ms 1 ms 185.45.9.10 8 2 ms 2 ms 2 ms 185.45.10.155 9 1 ms 1 ms 1 ms 162.125.64.8
Ping is:
Pinging 162.125.64.8 with 32 bytes of data: Reply from 162.125.64.8: bytes=32 time=2ms TTL=54 Reply from 162.125.64.8: bytes=32 time=3ms TTL=54 Reply from 162.125.64.8: bytes=32 time=2ms TTL=54 Reply from 162.125.64.8: bytes=32 time=2ms TTL=54 Ping statistics for 162.125.64.8: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 2ms, Maximum = 3ms, Average = 2ms
tracert on another machine outside the business in my client's office
Tracing route to 162.125.64.8 over a maximum of 30 hops 1 7 ms 3 ms 1 ms 172.30.200.2 2 6 ms 2 ms 17 ms 10.200.219.85 3 5 ms 5 ms 5 ms 10.200.217.9 4 7 ms 8 ms 6 ms 10.200.217.10 5 8 ms 7 ms 12 ms 10.10.209.4 6 * * * Request timed out. 7 * * * Request timed out. 8 * * * Request timed out. 9 * * * Request timed out. 10 * * * Request timed out. 11 * * * Request timed out. 12 * * * Request timed out. 13 * * * Request timed out. 14 * * * Request timed out. 15 * * * Request timed out. 16 15 ms 18 ms 15 ms 162.125.64.8 Trace complete.
ping in the client's office
Pinging 162.125.64.8 with 32 bytes of data: Reply from 162.125.64.8: bytes=32 time=64ms TTL=49 Reply from 162.125.64.8: bytes=32 time=25ms TTL=49 Reply from 162.125.64.8: bytes=32 time=27ms TTL=49 Reply from 162.125.64.8: bytes=32 time=23ms TTL=49 Ping statistics for 162.125.64.8: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 23ms, Maximum = 64ms, Average = 34ms
- Greg-DB6 years agoDropbox Staff
Thanks for the additional information! To try to isolate whether this is a general networking issue, or if this is related to the Python environment/code in particular, can you try making an upload call outside of Python?
You can use the API v2 Explorer to make a call directly, or to get the curl code for running it bash. Let me know what the result is.
- bramburn6 years agoExplorer | Level 3
Hi Greg,
Here is the result for a 150mb
{ "name": "test.mp4", "path_lower": "/cloud/test.mp4", "path_display": "/Cloud/test.mp4", "id": "id:aEq7bJXKe2AAAAAAAEBAmg", "client_modified": "2019-07-10T15:15:11Z", "server_modified": "2019-07-10T15:15:11Z", "rev": "4dd3bf4bf85ef6", "size": 154077723, "is_downloadable": true, "content_hash": "30f29202b00488a7900fd77a22f03ed62243d86b252064a8f3069109892badb0" }
I am using a different (non supported) package using bash and the latency is very low.
https://www.dropbox.com/s/qnfnhmf716ial32/Untitled.png?dl=0
- bramburn6 years agoExplorer | Level 3
this is the package I am using
- Greg-DB6 years agoDropbox Staff
Thanks for trying that. That output indicates the upload was succesful, so the issue does seem to be specific to your Python environment/code. We'll take a closer look at the code you shared.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 9 hours agoIf 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 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!