cf version: 1.0.0-beta.5, macOS
What happens
Uploading a 264,177,556-byte file with cf r2 objects put <key> --bucket-name <bucket> --file <path> fails after about 30 seconds:
┌ Error
│ An unexpected error occurred
│
│ timeout
└
Exit code 1, and the object is not in the bucket afterwards (GET returns 404). The same command with a 1 MB and a 50 MB file of random bytes succeeds, and reading them back gives identical content. The command's help gives a 300 MB limit, so 264 MB should be accepted. wrangler r2 object put --remote uploads this same file size fine in our CI.
Repro
head -c 264177556 /dev/urandom > big.bin
cf r2 objects put probe/big.bin --bucket-name <bucket> --file big.bin
Expected
Uploads up to the documented 300 MB succeed, or the request timeout scales with file size or can be configured.
cf version: 1.0.0-beta.5, macOS
What happens
Uploading a 264,177,556-byte file with
cf r2 objects put <key> --bucket-name <bucket> --file <path>fails after about 30 seconds:Exit code 1, and the object is not in the bucket afterwards (GET returns 404). The same command with a 1 MB and a 50 MB file of random bytes succeeds, and reading them back gives identical content. The command's help gives a 300 MB limit, so 264 MB should be accepted.
wrangler r2 object put --remoteuploads this same file size fine in our CI.Repro
Expected
Uploads up to the documented 300 MB succeed, or the request timeout scales with file size or can be configured.