cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out 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: 

DBFILESUserAuthRoutes listFolderLongpoll:timeout: is timing out

DBFILESUserAuthRoutes listFolderLongpoll:timeout: is timing out

Dan A.17
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

Greg-DB
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
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?