<?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: Connection timed out - connect(2) for &amp;quot;api.dropbox.com&amp;quot; port 443 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Connection-timed-out-connect-2-for-quot-api-dropbox-com-quot/m-p/108639#M3181</link>
    <description>&lt;P&gt;It looks like there was a network issue connecting to the Dropbox API. Are you still getting the error? If so, there's likely a problem with the network connection on that machine preventing you from connecting to api.dropbox.com. Do you know if there's any security software, firewall, etc. that may be doing so? You can try connecting directly to api.dropbox.com to see where the problem might be, e.g., via:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ curl api.dropbox.com
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 May 2015 21:31:08 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-05-29T21:31:08Z</dc:date>
    <item>
      <title>Connection timed out - connect(2) for "api.dropbox.com" port 443</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Connection-timed-out-connect-2-for-quot-api-dropbox-com-quot/m-p/108638#M3180</link>
      <description>&lt;P&gt;Dear gentlemen:&lt;/P&gt;

&lt;P&gt;I got some troubles in using the Core API in Ruby.&lt;BR /&gt;
All codes are written according to this document: &lt;A href="https://www.dropbox.com/developers/core/start/ruby" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com/developers/core/start/ruby&lt;/A&gt;&lt;BR /&gt;
as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;def new_from_dropbox
  @uploads = Upload.order('created_at DESC')
  @upload = Upload.new
  # Install this the SDK with "gem install dropbox-sdk"
  require 'dropbox_sdk'
  # Get your app key and secret from the Dropbox developer website
  app_key = '***'
  app_secret = '***'
  flow = DropboxOAuth2FlowNoRedirect.new(app_key, app_secret)
  @authorize_url = flow.start()
end

def dropbox_confirm
  require 'dropbox_sdk'
  app_key = '***'
  app_secret = '***'
  flow = DropboxOAuth2FlowNoRedirect.new(app_key, app_secret)
  access_token = flow.finish(code_param[:code].strip)
  puts "================================"
  puts access_token.inspect
  client = DropboxClient.new(access_token)
  puts "linked account:", client.account_info().inspect
  root_metadata = client.metadata('/')
  puts "metadata:", root_metadata.inspect
end

private
def code_param
  params.require(:upload).permit(:code)
end
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When i input the authorization code and the function &lt;CODE&gt;dropbox_confirm&lt;/CODE&gt; try to get &lt;CODE&gt;access_token&lt;/CODE&gt; by &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;access_token = flow.finish(code_param[:code].strip)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It returned an error:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Connection timed out - connect(2) for "api.dropbox.com" port 443&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Anyone can help me? please.&lt;BR /&gt;
I found some relative questions here: &lt;A href="https://www.pythonanywhere.com/forums/topic/1806/" rel="nofollow noreferrer" target="_blank"&gt;https://www.pythonanywhere.com/forums/topic/1806/&lt;/A&gt;&lt;BR /&gt;
But that is for python.&lt;/P&gt;

&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:42:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Connection-timed-out-connect-2-for-quot-api-dropbox-com-quot/m-p/108638#M3180</guid>
      <dc:creator>tyler d.4</dc:creator>
      <dc:date>2019-05-29T09:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connection timed out - connect(2) for "api.dropbox.com" port 443</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Connection-timed-out-connect-2-for-quot-api-dropbox-com-quot/m-p/108639#M3181</link>
      <description>&lt;P&gt;It looks like there was a network issue connecting to the Dropbox API. Are you still getting the error? If so, there's likely a problem with the network connection on that machine preventing you from connecting to api.dropbox.com. Do you know if there's any security software, firewall, etc. that may be doing so? You can try connecting directly to api.dropbox.com to see where the problem might be, e.g., via:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ curl api.dropbox.com
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 May 2015 21:31:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Connection-timed-out-connect-2-for-quot-api-dropbox-com-quot/m-p/108639#M3181</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-05-29T21:31:08Z</dc:date>
    </item>
  </channel>
</rss>

