frankhuang
frankhuang5w ago

Hi, does Convex support storage provider

Hi, does Convex support storage provider other than AWS S3? I'm trying to self-host Convex in China with Tencent Cloud, so I don't have internet connection to AWS services
6 Replies
sujayakar
sujayakar5w ago
hey! it looks like tencent cloud object storage is S3 API compatible -- can you try pointing convex to that? we haven't tested it but it should work.
sujayakar
sujayakar5w ago
Tencent Cloud
Tencent is a leading influencer in industries such as social media, mobile payments, online video, games, music, and more. Leverage Tencent's vast ecosystem of key products across various verticals as well as its extensive expertise and networks to gain a competitive edge and make your own impact in these industries.
frankhuang
frankhuangOP5w ago
Thanks, I will give it a shot!
Emma
Emma5w ago
It probably won't yet work. @Spioune is working on this PR that lets you set the s3 endpoint url https://github.com/get-convex/convex-backend/pull/53
GitHub
Add support for Cloudflare R2 Storage by Spioune · Pull Request #53...
This PR introduces support for Cloudflare R2 by adding a new environment variable, AWS_ENDPOINT_URL, and replacing get_object_attributes with head_object. From the S3 documentation, get_object_attr...
Emma
Emma5w ago
It should be in soon, though! I'll update this thread when I release it
frankhuang
frankhuangOP3w ago
Hi, is this feature ready yet? I encountered an error while running "npx convex deploy": ERROR common::errors: Caught error (RUST_BACKTRACE=1 RUST_LOG=info,common::errors=debug for full trace): Hit an error while pushing:\nObject part missing hash! Expected crc32: Object part missing hash! Expected crc32 but I don't if it's something wrong with my setup, Tencent Cloud or Convex? btw I am using ghcr.io/get-convex/convex-backend:5143fec81f146ca67495c12c6b7a15c5802c37e2

Did you find this page helpful?