<?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 Re: Receiving &amp;quot;com.dropbox.core.NetworkIOException: Connection reset&amp;quot; during file download in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312390#M18570</link>
    <description>&lt;P&gt;Do you only get this error when downloading on multiple threads in parallel? If you download serially in a single-threaded environment do you encounter the same random error?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 06:47:07 GMT</pubDate>
    <dc:creator>DBX_Robert</dc:creator>
    <dc:date>2018-11-21T06:47:07Z</dc:date>
    <item>
      <title>Receiving "com.dropbox.core.NetworkIOException: Connection reset" during file downloads</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312164#M18562</link>
      <description>&lt;P&gt;I'm using Dropbox java api client, the client is used in a multi-threaded environment, I'm downloading various files from different dropbox accounts and from time to time without some clear pattern a following exception is thrown:&lt;/P&gt;&lt;PRE&gt;com.dropbox.core.NetworkIOException: Connection reset
        at com.dropbox.core.DbxRequestUtil.startPostRaw(DbxRequestUtil.java:264)
        at com.dropbox.core.v2.DbxRawClientV2$2.execute(DbxRawClientV2.java:172)
        at com.dropbox.core.v2.DbxRawClientV2$2.execute(DbxRawClientV2.java:167)
        at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:300)
        at com.dropbox.core.v2.DbxRawClientV2.downloadStyle(DbxRawClientV2.java:167)
        at com.dropbox.core.v2.files.DbxUserFilesRequests.download(DbxUserFilesRequests.java:1092)
        at com.dropbox.core.v2.files.DbxUserFilesRequests.download(DbxUserFilesRequests.java:1121)
        at com.coronet.dlp.services.dropbox.DropBoxDLPScan.visitAllFiles(DropBoxDLPScan.java:224)
        at com.coronet.dlp.services.dropbox.DropBoxDLPScan.lambda$scanAllFiles$1(DropBoxDLPScan.java:119)
        at com.coronet.dlp.services.dropbox.DropBoxDLPScan$$Lambda$47/1317893434.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:209)
        at java.net.SocketInputStream.read(SocketInputStream.java:141)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
        at sun.security.ssl.InputRecord.read(InputRecord.java:503)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
        at com.dropbox.core.http.StandardHttpRequestor.toResponse(StandardHttpRequestor.java:50)
        at com.dropbox.core.http.StandardHttpRequestor.access$100(StandardHttpRequestor.java:29)
        at com.dropbox.core.http.StandardHttpRequestor$Uploader.finish(StandardHttpRequestor.java:178)
        at com.dropbox.core.DbxRequestUtil.startPostRaw(DbxRequestUtil.java:259)
        ... 12 common frames omitted&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can it be because some why connection on your side is closed due to some reasons?&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:09:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312164#M18562</guid>
      <dc:creator>EvgenyAgronsky</dc:creator>
      <dc:date>2019-05-29T09:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving "com.dropbox.core.NetworkIOException: Connection reset" during file download</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312390#M18570</link>
      <description>&lt;P&gt;Do you only get this error when downloading on multiple threads in parallel? If you download serially in a single-threaded environment do you encounter the same random error?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 06:47:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312390#M18570</guid>
      <dc:creator>DBX_Robert</dc:creator>
      <dc:date>2018-11-21T06:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving "com.dropbox.core.NetworkIOException: Connection reset" during file download</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312426#M18572</link>
      <description>&lt;P&gt;Each thread uses a separate instance of DbxClientV2, so I think it's not necessarily connected to multi-threaded environment, I'm using the following api function to download files:&lt;/P&gt;&lt;PRE&gt;clientV2.files().download(fileMetaData.getPathLower());&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Sometimes downloads are frequent, and download is called with same token from different threads. Although the instances of the client object are different, they use underneath the same token.&lt;/P&gt;&lt;P&gt;To clarify I'll explain the use case, I let a user connect to my service via oauth, then I traverse his Dropbox files, one thread for each users Dropbox member, I download his files to perform a certain work on them, and I do it for each users member.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 09:33:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312426#M18572</guid>
      <dc:creator>EvgenyAgronsky</dc:creator>
      <dc:date>2018-11-21T09:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving "com.dropbox.core.NetworkIOException: Connection reset" during file download</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312960#M18589</link>
      <description>&lt;P&gt;Downloading with the same OAuth token is desired behavior, so that is unlikely the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me understand the volume at which&amp;nbsp;you are downloading files.&amp;nbsp; Can you estimate the maximum number of&amp;nbsp;simultaneous connections are you creating and&amp;nbsp;how large the files are that you're downloading?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 23:18:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Receiving-quot-com-dropbox-core-NetworkIOException-Connection/m-p/312960#M18589</guid>
      <dc:creator>DBX_Robert</dc:creator>
      <dc:date>2018-11-23T23:18:46Z</dc:date>
    </item>
  </channel>
</rss>

