UlyssesZhan
CDCloudflare Developers
•Created by UlyssesZhan on 4/3/2025 in #r2
Internal error when uploading
I didn't know there is documentation about aws CLI. Thank you for pointing out.
4 replies
CDCloudflare Developers
•Created by UlyssesZhan on 4/3/2025 in #r2
Internal error when uploading
Okay so I solved this issue. The problem is that R2 does not support the CRC64NVME checksum algorithm, which seems to be the default one used by AWS CLI (version 2.25.6) on GitHub Actions runners. With this checksum algorithm, R2 just returns 500 and says there is internal server error in the response, which is not helpful. To work around this issue on my end, I added the option
--checksum-algorithm CRC32
in the command, and it worked. I think this should be considered a bug of R2. I don't know who to ping, but please look into this issue and fix it.4 replies
CDCloudflare Developers
•Created by UlyssesZhan on 7/11/2023 in #pages-help
How add headers to static assets?
Yes, I make sure those are correct. Actually I know that because they are working, but only for those URIs that do not hit static assets.
8 replies