<?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: Could not connect to dropbox using dropbox api Android in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Could-not-connect-to-dropbox-using-dropbox-api-Android/m-p/620231#M2860</link>
    <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1571030"&gt;@BurkApps&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Seems for some reason a secure connection can't be established. There are different possibility, but one option is that your code is running on environment not supporting TLSv1.2 - Dropbox servers accept currently only TLSv1.2. Check this at the beginning.&lt;/P&gt;&lt;P&gt;One more thing is usage of long lived token in your application still. It cannot be a reason for your current issue, but can be for some future one! Existing long lived access tokens can still be used, but new such cannot be issued anymore. If you need a new one for some reason (lost or invalidation current token in use, for instance), your code will stop work. That why update your code on time.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Sep 2022 23:34:30 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2022-09-03T23:34:30Z</dc:date>
    <item>
      <title>Could not connect to dropbox using dropbox api Android</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Could-not-connect-to-dropbox-using-dropbox-api-Android/m-p/620199#M2857</link>
      <description>&lt;P&gt;I am using dropbox api in my android app and i was using Access Token to connect to my dropbox and it was working well for 2 years but now i can not make a connection with dropbox. Below is my code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DbxRequestConfig config = &lt;SPAN&gt;new &lt;/SPAN&gt;DbxRequestConfig(&lt;SPAN&gt;"dropbox/TestAppBurk"&lt;/SPAN&gt;);&lt;BR /&gt;&lt;SPAN&gt;client &lt;/SPAN&gt;= &lt;SPAN&gt;new &lt;/SPAN&gt;DbxClientV2(config, &lt;SPAN&gt;"AccessToken"&lt;/SPAN&gt;);&lt;BR /&gt;FullAccount account = &lt;SPAN&gt;null&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN&gt;try &lt;/SPAN&gt;{&lt;BR /&gt;    account = &lt;SPAN&gt;client&lt;/SPAN&gt;.users().getCurrentAccount();&lt;BR /&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(DbxException e) {&lt;BR /&gt;    e.printStackTrace();&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I am getting exception in the try catch. The exception is&lt;/P&gt;
&lt;P&gt;"dropbox javax.net.ssl.SSLHandshakeException: Handshake failed"&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 09:51:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Could-not-connect-to-dropbox-using-dropbox-api-Android/m-p/620199#M2857</guid>
      <dc:creator>BurkApps</dc:creator>
      <dc:date>2022-09-06T09:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Could not connect to dropbox using dropbox api Android</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Could-not-connect-to-dropbox-using-dropbox-api-Android/m-p/620231#M2860</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1571030"&gt;@BurkApps&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Seems for some reason a secure connection can't be established. There are different possibility, but one option is that your code is running on environment not supporting TLSv1.2 - Dropbox servers accept currently only TLSv1.2. Check this at the beginning.&lt;/P&gt;&lt;P&gt;One more thing is usage of long lived token in your application still. It cannot be a reason for your current issue, but can be for some future one! Existing long lived access tokens can still be used, but new such cannot be issued anymore. If you need a new one for some reason (lost or invalidation current token in use, for instance), your code will stop work. That why update your code on time.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 23:34:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Could-not-connect-to-dropbox-using-dropbox-api-Android/m-p/620231#M2860</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-03T23:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Could not connect to dropbox using dropbox api Android</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Could-not-connect-to-dropbox-using-dropbox-api-Android/m-p/620757#M2869</link>
      <description>&lt;P&gt;That's correct, &lt;SPAN class=" author-d-42z69zz85zx9z84zz79zvz66zz71z4yz65zz67znhz79zc7fz89zz67z5z82zikmz70zz75ztz72zz83zuyz68zz122zz69z9z122zz122zv35e"&gt;Dropbox retired support for TLS 1.0 and 1.1 earlier this year, so that may be the cause of this error. The Dropbox API servers now only support connections using TLS 1.2. You'll need to update your app/network client/environment to use TLS 1.2 in order to continue making Dropbox API calls.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=" author-d-42z69zz85zx9z84zz79zvz66zz71z4yz65zz67znhz79zc7fz89zz67z5z82zikmz70zz75ztz72zz83zuyz68zz122zz69z9z122zz122zv35e"&gt;It looks like you're using &lt;/SPAN&gt;&lt;SPAN class="attrlink url author-d-42z69zz85zx9z84zz79zvz66zz71z4yz65zz67znhz79zc7fz89zz67z5z82zikmz70zz75ztz72zz83zuyz68zz122zz69z9z122zz122zv35e"&gt;&lt;A class="attrlink" href="https://github.com/dropbox/dropbox-sdk-java" target="_blank" rel="noreferrer nofollow noopener" data-target-href="https://github.com/dropbox/dropbox-sdk-java"&gt;the Dropbox Java SDK&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=" author-d-42z69zz85zx9z84zz79zvz66zz71z4yz65zz67znhz79zc7fz89zz67z5z82zikmz70zz75ztz72zz83zuyz68zz122zz69z9z122zz122zv35e"&gt;, so to use TLS 1.2 you'll need to update to at least v3.1.1 of that SDK&lt;/SPAN&gt; &lt;SPAN class=" author-d-42z69zz85zx9z84zz79zvz66zz71z4yz65zz67znhz79zc7fz89zz67z5z82zikmz70zz75ztz72zz83zuyz68zz122zz69z9z122zz122zv35e h-lparen"&gt;(or&lt;/SPAN&gt;&lt;SPAN class=" author-d-42z69zz85zx9z84zz79zvz66zz71z4yz65zz67znhz79zc7fz89zz67z5z82zikmz70zz75ztz72zz83zuyz68zz122zz69z9z122zz122zv35e"&gt; preferably, the latest version which is currently v5.3.0).&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Sep 2022 14:38:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Could-not-connect-to-dropbox-using-dropbox-api-Android/m-p/620757#M2869</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-06T14:38:52Z</dc:date>
    </item>
  </channel>
</rss>

