Closed toroConverter closed 2 years ago
Thanks for the report. Can you let me know when you started seeing this issue?
Also, you mentioned you see this "Very often". Do you see this for every single files_upload_session_append_v2
call, or only some? If it's just some, please let me know about what percent fail.
And do you see this for files_upload_session_start
and files_upload_session_finish
as well?
In any case, I don't see anything wrong in the code, and I just tried this code myself and the issue doesn't reproduce for me. Is there anything in your network connection, such as a proxy, firewall, VPN, etc. that may be interfering with these connections?
Thanks for the report. Can you let me know when you started seeing this issue?
I'm not sure 100%, but after the latest update it happens always. The previous week i manage to upload very large file (30/40gb each) with no error.
Also, you mentioned you see this "Very often". Do you see this for every single
files_upload_session_append_v2
call, or only some? If it's just some, please let me know about what percent fail.
Yes, at this moment every files_upload_session_append_v2
fails.
And do you see this for
files_upload_session_start
andfiles_upload_session_finish
as well?
No issue a the moment.
In any case, I don't see anything wrong in the code, and I just tried this code myself and the issue doesn't reproduce for me. Is there anything in your network connection, such as a proxy, firewall, VPN, etc. that may be interfering with these connections?
The connection is the same as last week, so no particular VPN or firewall. The only thing that i forgot to mention is that this class is used to create some threads (4 a the moment) to upload consequently more file at the same time.
Since there are no error in my code, I will try to restart my computer and see if it was a temporary issue. If it will not work I will try to downgrade to previous version and then I will update you.
Hi @greg-db, now everything works fine. Probably my computer need a restart. Anyway sorry for bothering you and thanks for your help ;)
Hi, I'm using this library to upload some files to my Dropbox. Very often I got this error:
HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/upload_session/append_v2 (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
Here the code I'm using to upload my files:
This function is inside a class where I have the dbx variable created by calling
dropbox.Dropbox(TOKEN)
, where token is my temporary access token generated with refresh token. The files that I'm uploading are very often more than 150mb because with the ones less than 150 I have no problem.Versions Pip freeze output:
Python 3.10.4 Windows Server 2019
Hope that this information will help you in resolving my problem. In case not, please let me know and I will provide as much information i can ;)