Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
JohnPT
3 years agoExplorer | Level 3
Failed to establish a new connection: [WinError 10060] A connection attempt failed because the conne
Hi. kind of stuck.. getting this error - worked two days ago. thanks for any ideas.
Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected p...
JohnPT
3 years agoExplorer | Level 3
ok thanks.
current config - test machine - dropbox 11.18.0 - urllib3 1.26.3 : cloud machine - dropbox 11.25.0 - urllib3 1.26.8 a bit behind :<
(and hate to change midstream.. it's time )
upgrade both? to v11.36.0? i will do the test machine first.
should i do a pip --upgrade? or reinstall?
thanks for your help. 😆
Здравко
3 years agoLegendary | Level 20
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.
If something is going wrong still, as I said, check the refresh process by hand - it can show much more things - usable during debug.
Good luck.
- JohnPT3 years agoExplorer | Level 3
makes sense. thank you. 😆
- JohnPT3 years agoExplorer | Level 3
Hi. sorry to pester... still having the same issues.
i did a pip -upgrade (Successfully installed dropbox-11.36.0 cloud machine) and created new app with a refresh token.
same result - works fine on test (also did upgrade to 11.36.0) fails the same way in my cloud machine...
going to try to figure out the During handling of the above exception, another exception occurred:
error :
Exception has occurred: ConnectionError
HTTPSConnectionPool(host='api.dropboxapi.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001BBB8E9DFD0>: 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'))During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:File "Z:\users\........s\py-testupload.py", line 31, in <module>
print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))any ideas?
thank you for your thoughts.
- Здравко3 years agoLegendary | Level 20
JohnPT wrote:...
Exception has occurred: ConnectionError
HTTPSConnectionPool(host='api.dropboxapi.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001BBB8E9DFD0>: 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'))...
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!