dropbox / dropbox-sdk-obj-c

Official Objective-C SDK for the Dropbox API v2.
MIT License
183 stars 117 forks source link

Anyone else experiencing slow sync? #245

Open guidedways opened 5 years ago

guidedways commented 5 years ago

Lately it seems the batch upload / download methods seem to 'hang' forever and don't timeout (no matter how long you let the request running). I'm frequently receiving reports of the app syncing endlessly, and upon closer examination it's almost always when our app is batch uploading or simply deleting files one after another.

I can't figure out what's going on, but quitting and relaunching the app seems to work - until it hangs again. It looks as though the requests / url sessions at times never finish or aren't being cleaned up properly perhaps. I'm not sure. But wondering if someone else is experiencing something similar?

greg-db commented 5 years ago

Thanks for the report. I'm not aware of anything like this, but we'll be happy to look into it. (Issue #242 looks slightly related, but doesn't describe quite the same behavior.)

To help us track this down, can you let us know:

Thanks in advance!

guidedways commented 4 years ago

It doesn't seem to be a particular version of the SDK - it seems to have slowed down over all. Lately, past few weeks especially, we're seeing dozens of network timeouts for requests with sync failing randomly due to this. We haven't touched the sync related code of our app for over a year, nor have I updated the SDK. Are there network issues with Dropbox in general these days?

greg-db commented 4 years ago

I'm not aware of anything in particular that should be causing issues like this.

Can you share some more information to help us investigate? For example, the steps to reproduce the issue, and any errors or unexpected output would be helpful.