<?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: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669910#M30285</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It fails on the final line the upload request.&amp;nbsp; &amp;gt;&amp;nbsp; &lt;FONT color="#FF0000"&gt;print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I get a dbx object that looks fine in vscode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try this. working to get trace and try on another machine.&amp;nbsp; &amp;nbsp;i am testing on windows 10 machine for test and prod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 14:42:35 GMT</pubDate>
    <dc:creator>JohnPT</dc:creator>
    <dc:date>2023-03-21T14:42:35Z</dc:date>
    <item>
      <title>Failed to establish a new connection: [WinError 10060] A connection attempt failed because the conne</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669891#M30283</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; kind of stuck..&amp;nbsp;&amp;nbsp;getting this error - worked two days ago. thanks for any ideas.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;same code works fine on test machine but fails on, production.&amp;nbsp; &amp;nbsp;errors on the final print line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with this code&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;import dropbox&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;filetoupload = 'Z:\\users\\aeadmin\\documents\\ysn1.png'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;filetouploadname = '/ysn1d.png'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;f= open(filetoupload,"rb")&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;dbx = dropbox.Dropbox(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;app_key = "x65cwwc7.....",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;app_secret = "3s809......",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;oauth2_refresh_token = "IjYGZB7V...."&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 15:06:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669891#M30283</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T15:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669905#M30284</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1584647"&gt;@JohnPT&lt;/a&gt;, some more info might be helpful. Your Python SDK single method call involves 2 API calls (on 2 different Dropbox servers)! It's not clear least which one fails. Some stacktrace would be fine. Does the same happen if you perform client object initialization with access token, instead of refresh token? Check that, if possible, on the machine where execution fails.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 14:35:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669905#M30284</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-21T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669910#M30285</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It fails on the final line the upload request.&amp;nbsp; &amp;gt;&amp;nbsp; &lt;FONT color="#FF0000"&gt;print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I get a dbx object that looks fine in vscode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try this. working to get trace and try on another machine.&amp;nbsp; &amp;nbsp;i am testing on windows 10 machine for test and prod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 14:42:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669910#M30285</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669912#M30286</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1584647"&gt;@JohnPT&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;It fails on the final line the upload request.&amp;nbsp; &amp;gt;&amp;nbsp; &lt;FONT color="#FF0000"&gt;print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I get a dbx object that looks fine in vscode.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Just to add some clarification. Yes, for sure the code, you posted, is the only place where things can get wrong. It's the only place, in your code, where API calls get performed. The 'dbx' object itself can look fine after construction. Construction doesn't perform too much checks! You can construct Dropbox client object with completely wrong parameters and it will looks "fine". It wont look the same when you're going to execute some of its method though (where the actual mistakes get up). &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 15:01:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669912#M30286</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-21T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669913#M30287</link>
      <description>&lt;P&gt;ok cool. thank you for the details.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 15:08:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669913#M30287</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T15:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669936#M30288</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the access token idea.&lt;/P&gt;&lt;P&gt;I created a new app and used a new access code. that worked fine on both the local test and cloud test machine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not enough knowledge to know what that means?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that mean my orginal app is problematic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nothing has changed here and it does work on my test machine?&lt;/P&gt;&lt;P&gt;any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind help. still a bit of a newbie to DB.&amp;nbsp; &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@A4A2D8F7B6944E09627E4131D7A443E6/emoticons/1f606.png" alt=":grinning_squinting_face:" title=":grinning_squinting_face:" /&gt;&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>Tue, 21 Mar 2023 15:54:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669936#M30288</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T15:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669940#M30289</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1584647"&gt;@JohnPT&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I created a new app and used a new access code. that worked fine on both the local test and cloud test machine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not enough knowledge to know what that means?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That means your upload API call works, but your refresh API call seems problematic for some reason. When you're using access token refresh doesn't happen, so it lets limit the possible issues. The debug is going to go on here. Are you certain the same Dropbox SDK installed on all your machines? Next step can be to perform refresh by hand, on the machine where code fails - to see what's going on more close.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:04:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669940#M30289</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-21T16:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669948#M30290</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ok thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;current config - test machine - &lt;FONT color="#0000FF"&gt;dropbox 11.18.0&lt;/FONT&gt; -&amp;nbsp;urllib3 1.26.3 :&amp;nbsp;cloud machine - &lt;FONT color="#0000FF"&gt;dropbox 11.25.0&lt;/FONT&gt; -&amp;nbsp;urllib3 1.26.8&amp;nbsp; &amp;nbsp; &amp;nbsp;a bit behind&amp;nbsp; :&amp;lt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(and hate to change midstream.. it's time )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;upgrade both?&amp;nbsp; to&amp;nbsp;v11.36.0?&amp;nbsp; i will do the test machine first.&lt;/P&gt;&lt;P&gt;should i do a pip&amp;nbsp; --upgrade? or reinstall?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@A4A2D8F7B6944E09627E4131D7A443E6/emoticons/1f606.png" alt=":grinning_squinting_face:" title=":grinning_squinting_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:22:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669948#M30290</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T16:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669950#M30291</link>
      <description>&lt;P&gt;Your versions are not too different, but it's good idea to be the same so when you do some test to be sure the result will be repeatable to max extent. Also it's good to be the last version (possible bug fixes etc.), in spite not mandatory. Do it however you like.&lt;/P&gt;&lt;P&gt;If something is going wrong still, as I said, check the refresh process by hand - it can show much more things - usable during debug.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:31:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669950#M30291</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-21T16:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669952#M30292</link>
      <description>&lt;P&gt;makes sense.&amp;nbsp; thank you. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@A4A2D8F7B6944E09627E4131D7A443E6/emoticons/1f606.png" alt=":grinning_squinting_face:" title=":grinning_squinting_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:32:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/669952#M30292</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T16:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670017#M30294</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi. sorry to pester... still having the same issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i did a pip -upgrade (Successfully installed dropbox-11.36.0 cloud machine) and created new app with a refresh token.&lt;/P&gt;&lt;P&gt;same result - works fine on test (also did upgrade to 11.36.0)&amp;nbsp;fails the same way in my cloud machine...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;going to try to figure out the &lt;FONT color="#FF0000"&gt;During handling of the above exception, another exception occurred:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception has occurred: ConnectionError&lt;BR /&gt;HTTPSConnectionPool(host='api.dropboxapi.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by NewConnectionError('&amp;lt;urllib3.connection.HTTPSConnection object at 0x000001BBB8E9DFD0&amp;gt;: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;During handling of the above exception, another exception occurred:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;During handling of the above exception, another exception occurred:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;During handling of the above exception, another exception occurred:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;File "Z:\users\........s\py-testupload.py", line 31, in &amp;lt;module&amp;gt;&lt;BR /&gt;print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your thoughts.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 19:47:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670017#M30294</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T19:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670021#M30295</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1584647"&gt;@JohnPT&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Exception has occurred: ConnectionError&lt;BR /&gt;HTTPSConnectionPool(host='api.dropboxapi.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by NewConnectionError('&amp;lt;urllib3.connection.HTTPSConnection object at 0x000001BBB8E9DFD0&amp;gt;: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As I said, the refreshing process fails. The 'api.dropbox.com' is involved in this. Seems you didn't try to refresh by hand. Why? 🧐 Try ping the host, at least, and try query the server with alternative tool, all on the failing machine.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 20:02:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670021#M30295</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-21T20:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670027#M30296</link>
      <description>&lt;P&gt;Thanks, sorry i was more focused on the PIP upgrade and creating a new app/refreshtoken.&amp;nbsp; thinking that the was the refresh you mention...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i guess not understanding&amp;nbsp; "&lt;FONT color="#FF0000"&gt;&lt;EM&gt;as I said, check the refresh process by hand sorry&lt;/EM&gt;."&lt;/FONT&gt;&amp;nbsp; was thinking that was the upgrade.. and the accesstoken did work and the refreshtoken not might indicate something with the app.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your patience.&amp;nbsp; how do i check the "refresh process"?&amp;nbsp; i thought that they never expired?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 20:23:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670027#M30296</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T20:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670033#M30297</link>
      <description>&lt;P&gt;here is the ping&lt;/P&gt;&lt;P&gt;C:\Users\.....&amp;gt;ping api.dropbox.com&lt;/P&gt;&lt;P&gt;Pinging api-env.dropbox-dns.com [162.125.1.19] with 32 bytes of data:&lt;BR /&gt;Reply from 162.125.1.19: bytes=32 time=4ms TTL=55&lt;BR /&gt;Reply from 162.125.1.19: bytes=32 time=4ms TTL=55&lt;BR /&gt;Reply from 162.125.1.19: bytes=32 time=4ms TTL=55&lt;BR /&gt;Reply from 162.125.1.19: bytes=32 time=4ms TTL=55&lt;/P&gt;&lt;P&gt;Ping statistics for 162.125.1.19:&lt;BR /&gt;Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),&lt;BR /&gt;Approximate round trip times in milli-seconds:&lt;BR /&gt;Minimum = 4ms, Maximum = 4ms, Average = 4ms&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 20:43:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670033#M30297</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T20:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670034#M30298</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1584647"&gt;@JohnPT&lt;/a&gt;, Yes refresh token doesn't expire. It's used for periodical retrieve/refresh access token anew. This happens with specific request to Dropbox server (usually performed by SDK internally). That's something that fails. Let's see why. Take a look &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592667" target="_blank" rel="noopener"&gt;here&lt;/A&gt; about details on how OAuth works (including the refresh - last request). 'curl' is in use there; you can use whatever you want.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 20:45:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670034#M30298</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-21T20:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the c</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670040#M30299</link>
      <description>&lt;P&gt;Thank you. will review.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FWIW: i did test on another cloud (Azure) machine wondering if it might be an Azure/port thing...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;both apps (original and new ) worked fine with the refresh token.. so it must be something with the first machine.&lt;/P&gt;&lt;P&gt;not sure how to trace that...&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 20:59:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Failed-to-establish-a-new-connection-WinError-10060-A-connection/m-p/670040#M30299</guid>
      <dc:creator>JohnPT</dc:creator>
      <dc:date>2023-03-21T20:59:49Z</dc:date>
    </item>
  </channel>
</rss>

