This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
Poor error message - "bad content length" #52
Open
Description
The grab
dependency we use has download resumption logic. If the file appears to be incomplete locally, then the client will resume where it's left off.
However, from this code, if the local copy is larger than the remote server copy, an error is thrown (makes sense -- it's unclear what to do in this case).
The error message is quite confusing:
ERROR[2023-03-08T13:23:03-06:00] Failure downloading /home/cse496/bbockelm/tmp/xrootd_export/hello_world_copy.txt: Attempt #1: Failed to download from localhost:8000 + proxy=false: failed connection setup: bad content length (100ms since start)
ERROR[2023-03-08T13:23:03-06:00] Errors are retryable
We should also not mark this as a retryable error...
Metadata
Metadata
Assignees
Labels
No labels