<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic listfolder/longpoll - timeouts on Dropbox Java SDK (v2) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listfolder-longpoll-timeouts-on-Dropbox-Java-SDK-v2/m-p/166827#M6041</link>
    <description>&lt;P&gt;listfolder/longpoll endpoint on Java API gets SocketTimeOut.&lt;/P&gt;
&lt;P&gt;This is understandable, since in:&lt;/P&gt;
&lt;PRE&gt;com.dropbox.core.http.HttpRequestor&lt;/PRE&gt;
&lt;P&gt;You have set the connection read timeout to 20 seconds while at server side you have declared 30 secs in docs.&lt;/P&gt;
&lt;P&gt;A dirty workaround is to subclass StandardHTTPRequestor&amp;nbsp;but ideally would like to have this "just" work. Also, having different connection timeouts based on request type would not hurt...&lt;/P&gt;
&lt;P&gt;I wonder how what kind of tests have been made on Java SDK? Anyway, if this longpoll stuff is not properly tested, what is your policy for standard polling? I already implemented and tested that for my app so would like to use that instead if longpoll is going to be fragile.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:36:18 GMT</pubDate>
    <dc:creator>Antti R.</dc:creator>
    <dc:date>2019-05-29T09:36:18Z</dc:date>
    <item>
      <title>listfolder/longpoll - timeouts on Dropbox Java SDK (v2)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listfolder-longpoll-timeouts-on-Dropbox-Java-SDK-v2/m-p/166827#M6041</link>
      <description>&lt;P&gt;listfolder/longpoll endpoint on Java API gets SocketTimeOut.&lt;/P&gt;
&lt;P&gt;This is understandable, since in:&lt;/P&gt;
&lt;PRE&gt;com.dropbox.core.http.HttpRequestor&lt;/PRE&gt;
&lt;P&gt;You have set the connection read timeout to 20 seconds while at server side you have declared 30 secs in docs.&lt;/P&gt;
&lt;P&gt;A dirty workaround is to subclass StandardHTTPRequestor&amp;nbsp;but ideally would like to have this "just" work. Also, having different connection timeouts based on request type would not hurt...&lt;/P&gt;
&lt;P&gt;I wonder how what kind of tests have been made on Java SDK? Anyway, if this longpoll stuff is not properly tested, what is your policy for standard polling? I already implemented and tested that for my app so would like to use that instead if longpoll is going to be fragile.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:36:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listfolder-longpoll-timeouts-on-Dropbox-Java-SDK-v2/m-p/166827#M6041</guid>
      <dc:creator>Antti R.</dc:creator>
      <dc:date>2019-05-29T09:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: listfolder/longpoll - timeouts on Dropbox Java SDK (v2)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listfolder-longpoll-timeouts-on-Dropbox-Java-SDK-v2/m-p/166828#M6042</link>
      <description>&lt;P&gt;Thanks for the report! We'll work on getting that fixed up.&lt;/P&gt;
&lt;P&gt;As far as normal polling is concerned, we don't have any specific guidance, but there is a rate limiting system that will error out requests if you call too quickly.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 06:19:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listfolder-longpoll-timeouts-on-Dropbox-Java-SDK-v2/m-p/166828#M6042</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-01-30T06:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: listfolder/longpoll - timeouts on Dropbox Java SDK (v2)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listfolder-longpoll-timeouts-on-Dropbox-Java-SDK-v2/m-p/166829#M6043</link>
      <description>&lt;P&gt;This should be fixed as of version&amp;nbsp;2.0-beta-6 of the SDK, where&amp;nbsp;we exposed the ability to configure socket read timeouts for StandardHttpRequestor.&lt;/P&gt;
&lt;P&gt;You can find a sample of using longpoll here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/longpoll/src/com/dropbox/core/examples/longpoll/Main.java" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/longpoll/src/com/dropbox/core/examples/longpoll/Main.java&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 05:54:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/listfolder-longpoll-timeouts-on-Dropbox-Java-SDK-v2/m-p/166829#M6043</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-01T05:54:17Z</dc:date>
    </item>
  </channel>
</rss>

