Convex Community

CC

Convex Community

Join the community to ask questions about Convex Community and get answers from other members.

Join

support-community

show-and-tell

general

self-hosted

announcements

is there an outage in the convex

is there an outage in the convex development services

Hey I try hosting convex thru cloudflare

Hey I try hosting convex thru cloudflare tunnels, right now I have dashboard.example.com and convexbackend.example.com. I've added the convexbackend.example.com to the .env file but I still get the following error. When going manually to the link I do get the success message
No description

Hi! I'm trying out self hosting convex

Hi! I'm trying out self hosting convex on fly.io with great success! So far I could get much better latency in my region (Brazil, São Paulo) as the cloud product is US only for now. With the cloud product a simple mutation/query update would take ~250ms, and self hosting in my region I get ~60ms. My questions are: Which image from ghcr.io should I use? Always the one tagged as "latest"?...

Hey guys , I have installed the docker

Hey guys , I have installed the docker version on my ubunto vps , I am able to connect to my backend from my project, however on dashboard.domain.com i am getting This deployment is not online. Check that your Convex server is running and accessible at http://127.0.0.1:3210. , even though I have setup the nginx proxy for api.domain.com to localhost:3210 , and I have generated ssl for them using certbot , am I missing something ? i have been trying to make this work for the past 2 days and i can't seem to wrap my head around it....

hi all, im sure it's something pretty

hi all, im sure it's something pretty simple, but has anyone been able to get a valid generateUploadUrl in order to upload? i've followed the docs/demo and the url that comes back is this: http://convex-<subdomains>/api/storage/upload?token=<token> -- however anytime i try to use it i get a 404 not found. even testing with curl it goes to /404. am i missing something? this is the dashboard url. i also have a backend at http://backend-<subdomains>

Hi, my POC is stuck at "Downloading

Hi, my POC is stuck at "Downloading current deployment state". Any hint why it could fail at this stage?

Hi Everyone, I'm trying to self host

Hi Everyone, I'm trying to self host convex on the coolify but I got some issue. this what I did I create a coolify project and I deployed my next js project on it I add the environement varilables (CONVEX_SELF_HOSTED_ADMIN_KEY and CONVEX_SELF_HOSTED_URL) I added a convex service on the same coolify project and there I got 2 services (backend and dashbaord) and I can go to the dashbard via the generated adminkey the backend is up and runing. I got visite my nextjs application where the main root...

Hello, I am encountering an error when

Hello, I am encountering an error when trying to migrate a database to my self-hosted solution: the error is 413 Request Entity too large. The context is that I am using a MySql server as backend and I am wondering if there are configurations that must be set that are not yet described in the guide. We managed to migrate this database from the cloud to the litesql we did for testing but now the production solution using MySql throw this error. Does anyone knows how to fix it? Thanks. I was thinking... could it be that the docker image of the convex backend i am using is old?...

Are there any existing self hosting

Are there any existing self hosting conversations about scale? Like rules of thumb for how much throughput certain common sized servers can handle. And maybe basic things to know about any kind of horizontal scaling if possible?

So on a project I have, I'm trying to

So on a project I have, I'm trying to self host and creat a terraform configuration that can launch convex into a VPC on Google Cloud. I'm having trouble with the generate_admin_key step. both calling that command and getting the key. I'd much rather prefer to generate my own key and pass that in to the container. But I didn't see any options discussed for that. Has anyone successfully packaged this up into something that can be run that way? or is everyone just setting this up on Cloud accounts...

hey! I just deployed the self-hosted

hey! I just deployed the self-hosted version of Convex.dev on my Hetzner server and want to use Supabase as the database. I spun up a fresh project in Supabase, but when I set the DATABASE_URL env var to the Supabase connection string with postgresql://.../postgres (so the DB name is set to postgres), Convex complains I shouldn't include the DB name. According to the docs here, Convex expects a data...

Trouble connecting to mysql locally

Hello, I am having some problems with self-hosting a local mysql convex for a client who wants everything local. I am quite new to docker and I do not understand what is going on exactly I did follow the guide but even after I did setup my mysql server created a user I wish to use for the docker and set the enviromental variable MYSQL_URL correctly I get these errors all I did was exactly what the guide suggests: ...
No description

Would it be better Linux or Windows for

Would it be better Linux or Windows for a self host solution of Convex with mySQL also hosted locally?

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

thread about urls

And still the same

now i am trying to make convex auth work

now i am trying to make convex auth work, but i keep having 'could not verify token claim' error, due to the lack of ideas how to make it work, i swapped from selfhost, to cloud solution just to check if its even working and i noticed that auth domain is different in selfhost and cloud (there is also a chance that this is result of me modifying container/coolify env variables)

S3 file storage

For the S3 thing, yes it's effectively implementing an interface/trait. For the scalability thing, the code changes are similarly straightforward, but the tricky part is spinning up parts of the codebase (the parts that run functions or connect websockets) on separate servers and making sure they can talk to each other.

HTTP

Hi all - I am so excited to get to play with self-hosted Convex. Long story short, I have a self-hosted Convex running on my laptop alongside my vite app - everything works great. When I deploy the same code to our web server (using Cloudflare tunnel - two different domains point to 3210, and 3211 respectrively (convex-be.subdomain.com (3210), convex-be-functions.subdomain.com (3211)) - it seems like I am not able to get the functions working correctly. This is most evident by convex-auth not wo...

http actions via traefik

No it does not. Does it need to? Traefik just act as a reverse proxy, for example requests to https://convexpublic.mydomain.com/.well-known/openid-configuration are proxied to http://localhost:3211/.well-known/openid-configuration
Next