cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Re: socket.timeout issue even with session upload

socket.timeout issue even with session upload

bramburn
Explorer | Level 3
Go to solution

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.

I am using upload_session for the large files but this affects both large (files_upload_session) and small (files_upload).

I have tried the following:

  1. change the chunk sizes in the session upload from 8mb to 90mb. I am still getting upload_session.
  2. I tried adding time.sleep() to delay api calls but I am still getting the same problem.

 

Here is the gist on github.

https://gist.github.com/bramburn/224743c9e58f375c3790af8472c6d8b9

I have 200mbps up and down on a business line.

 

Can someone please shed some light as to how I can fix this?

10 Replies 10

bramburn
Explorer | Level 3
Go to solution

thank you that worked!

Need more support?