Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error post upload_session/append_v2 connection reset by peer #211

Open
jaraco opened this issue Jun 19, 2024 · 1 comment
Open

Error post upload_session/append_v2 connection reset by peer #211

jaraco opened this issue Jun 19, 2024 · 1 comment

Comments

@jaraco
Copy link

jaraco commented Jun 19, 2024

I'm attempting to upload a large file (96GB) using dbxcli. So far twice it's failed with the following error:

Error: Post https://content.dropboxapi.com/2/files/upload_session/append_v2: read tcp [2600:<elided>]:50250->[2620:100:601c:14::a27d:60e]:443: read: connection reset by peer

The process exits with a code of 255. Retrying the command restarts from scratch. It's failed twice this way. I'm unsure if the issue is intermittent or repeatable. I'm unsure how much was uploaded before it failed (the progress indicator is overwritten by the error).

It would be nice if the implementation was resistant to this sort of error.

@jaraco
Copy link
Author

jaraco commented Jun 19, 2024

I re-attempted the upload a third time, this time passing -v and redirecting the output to a file:

 @ dbxcli put -v large_file  Documents/large_file 2> ~/put.log

And this time, it completed without error. So the issue does appear to environmental. Perhaps the connection was getting dropped merely because I was running overnight and Verizon was rebooting IPv6 routers. Or maybe letting the system be idle for long periods allowed it to go to some low power state and lose the connection. I am using a headless mac mini, so I know it hasn't gone to sleep (because I can re-connect to it on demand).

Regardless, it would still be nice if dbxcli could retry a dropped connection and not lose the progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant