Description
I have been trying to set up convex to use DigitalOcean Spaces to work with convex, but I'm facing some issues.
https://docs.digitalocean.com/products/spaces/reference/s3-compatibility/
It seems it gets a header error but based on the docs, DigitalOcean does generate the required headers.
Env variables that I used (with redactions):
- AWS_REGION=sgp1
- S3_ENDPOINT_URL=https://sgp1.digitaloceanspaces.com
- AWS_ACCESS_KEY_ID=DO00Z....
- AWS_SECRET_ACCESS_KEY=EvD1E7....
- S3_STORAGE_EXPORTS_BUCKET=bucket-exports
- S3_STORAGE_FILES_BUCKET=bucket-user-files
- S3_STORAGE_MODULES_BUCKET=bucket-modules
- S3_STORAGE_SEARCH_BUCKET=bucket-search-indexes
- S3_STORAGE_SNAPSHOT_IMPORTS_BUCKET=bucket-imports
The error that I receive in convex is:
2025-05-04T16:38:47.420031Z ERROR common::errors: Caught error (RUST_BACKTRACE=1 RUST_LOG=info,common::errors=debug for full trace): Object part missing hash! Expected crc32
Noting that this is a self-hosted instance of convex - any help is much appreciated! I would prefer to use DigitalOcean and not Amazon S3. I just tested the s3 integration and after having to regenerate the access token twice, it finally worked.