Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the open-source reactive database for app developers.

Join

support-community

show-and-tell

general

self-hosted

announcements

Usage with Codex Cloud or any other docker cloud

Hey 🙂 Did anyone manage to use convex in the cloud version of codex? Or any other docker based cloud? Tried using the "CONVEX_AGENT_MODE=anonymous" but doesn't work at all...

How to log out of all sessions of your convex account?

Hi, I need to invalidate all sessions (including cli ones) for my convex account. I can't find any UI to do this from. Can someone please help me?

Setup Convex Client with Auth for non-React apps

I have setup Auth0 with my Angular app and have an httpAction that Auth0 calls whenever a new user logs in. I would like to use ctx.auth.getUserIdentity() in my functions but it seems only React-based apps are supported via ConvexProviderWithAuth. Is there any way integrate an auth provider with Convex in a non-React app?...

Invalid Convex preview deploy key

Hi, up until 45min ago or so I was having no issues with preview deployments. Did not change anything re: env vars in vercel nor shuffle keys. Now getting this error consistently whilst trying to deploy. Tried generating new keys, confirmed that the build runtime was accessing the deploy key, and yet no luck. Anybody have any ideas?

Connection lost while action was in flight Called by client

```js useEffect(() => { if (step !== 'org') { return; }...

Why is Convex Auth still such a pain with SvelteKit?🤕

I’ve been building a webapp with SvelteKit and tried to use Convex for auth. Result? I’ve spent almost two weeks and still couldn’t get it working. Maybe I’m just bad at this — I usually do “vibe coding” — but with Supabase or InstantDB I can hand-roll auth in an afternoon. I don’t understand why something this basic has to be reinvented by every developer, and why Convex still doesn’t ship an official, one-click solution. Is it a lack of resources? Or am I supposed to just switch to React, or move everything to Supabase? ...

Why does Convex spam function calls?

It's entirely possible I'm using it wrong, but it's spamming my calls without a care in the world.
const roundResult = useQuery(api.game.getLastRound, {})
const roundResult = useQuery(api.game.getLastRound, {})
...
No description

Convex IP addresses

Hello, we need to whitelist our Convex application egress IP addresses in an external system. Could you clarify your IP ranges/RDNS?

How to fetch data in NextJS SSC using Convex?

https://discord.com/channels/1019350475847499849/1416015886246215690 the issue hasn't been resolved please help me to resolve this issue im totally stuck...

Support tickets not being attended to on pro plan

Opened a support ticket on the 9th of September and haven't received any feedback from the support team. Is there a way to track opened support tickets or do we need to wait and hope that someone is attending to it?...
No description

Convex is only working in development and not production - how to fix?

I tried switching my convex deployment from development into production but it seems to be failing. I'm deploying to vercel and I followed the guide but I'm simply unable to push any data when I'm in production mode. When I revert back to the previous url then I'm able to get everything working. What might be causing this? I notice the color of the production is pink while development is green so I'm not sure if that is indicating anything.
Also I did add the deploy key to vercel and redeployed multiple times but in the URL & deploy key settings it showed that the deploy key has never been used. ...

Auth and circular imports

I am using the default convex auth as my auth provider. I noticed that when i want to do special stuff afterUserCreatedOrUpdated and i use the scheduler to runAfter this will cause a circular import as i need the internal from _generated/api.d.ts and _generated/api.d.ts will import auth.ts(js). I dont know how to possibly avoid this circular import.

Why isnt `useQuery` returning a cached result right away?

When i use convex.query(someQuery) in a loader and in a sub component i use useQuery(someQuery), the query doesn't return a result right away. I would have expected that the value is cached somehow. Isn't that the case? I would love to use loaders to ensure data is there but i don't want to use useLoaderData() because I loose the real time capabilities of the one-off-query i request in the loader Any insights would be appreciated. The docs say
Convex caches query results automatically. If many clients request the same query, with the same arguments, they will receive a cached response....

Storage URL persisting after account downgrade

In my account (when on the PRO plan), I setup a subdomain for storage. I've recently downgraded, but Convex is still pointing to my old storage URL and I can't change it. Are you able to remove the URL for me as it didn't get removed automatically in the downgrade.

Retrieve Convex account from unaccessible work email through Github login

Hey all, recently I changed my github primary email from my work to a personal one, but that change has not been reflected on my convex account. Every time I log in via GitHub, it asks for confirmation from my work email, which I no longer have access to.
No description

Is there a way to alow the MCP server to write data?

As I am currently migrating my projects from supabase to convex I am used to have an MCP server to access and modify data. Is there a way to remove the restiction from the MCP?...

R2/S3 billing

Hello, I was wondering if when using Convex in conjunction with CloudFlare R2 whether we are charged for file bandwidth like you would be if you used Convex storage?

Stuck on Finding component definitions

I am using a cloud deployment, and am not able to do anything right now. not sure what'd be wrong, no errors in any of the convex files.

create deployment on existing project (platform api)

Howdy! Very excited about the new platform api.
I want to provision new dev deployments for existing projects using team access tokens. Here's what I found in the docs: create_project docs say ...

Convex Schema

Hey guys, I am having an issue while using "convex": "^1.27.0" in my next js project. When running the convex dev command the server runs perfectly fine without any errors although the schemas don't get synced to the dashboard (for example the table isn't created). I already tried to downgrade to 1.26.1 and it didn't work. Thank you!...