cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

DBFILESUserAuthRoutes listFolderLongpoll:timeout: is timing out

Dan A.17 New member | Level 2
New member | Level 2

One of our users is getting "Request timed out" when our app calls [DBFILESUserAuthRoutes listFolderLongpoll:timeout: ] with the timeout parameter having the default value of 30. The documentation for this call in the Objective C SDK says "Care should be taken when using this parameter, as some network infrastructure does not support long timeouts." What does this mean, what care should be taken? Also, what is the range of valid values for the timeout parameter?

1 Reply 1

Re: DBFILESUserAuthRoutes listFolderLongpoll:timeout: is timing out

Dropboxer
Dropboxer
I believe that's referring to things like proxies, firewalls, etc., which may interfere with connections like this. If your users are likely to be in more restrictive environments like this, you may want to not use that in your app, or user different parameters, etc.

For reference, the API itself supports a longpoll timeout of 30-480 seconds:

https://github.com/dropbox/dropbox-api-spec/blob/d407fe71a0246158c89c94e307d4f2effd55a273/files.ston...

There is an iOS-specific limitation to be aware of though, that can limit this further. You can find more information here:

https://github.com/dropbox/dropbox-sdk-obj-c#longpoll-session-timeout-bug

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?