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

LLM Tracing

Has anyone been able to use langfuse or any LLM observability tool with convex? We wanna use convex for a new product at my company but LLM observability is very important

connecting to convex via node daemon

So this possibly sounds backwards, but I've written a daemon that connects to the convex ecosystem. The main reason why is it's dealing with largish files and I was learning convex at the time, so wasn't sure whether I wanted to port it to the convex backend. It's been working fine, but due to another project, I've not touched it for a couple of weeks. So back to it and I'm having trouble with the service connecting to convex. I've been using convex/browser which has been working fine and I've got it running on remote linux servers with prod currently fine. But dev, just refuses to connect: ``` connecting to https://my-dev-292.convex.cloud...

Mutation without a write still triggers query (python client)

Hi! Just curious about the dynamics of mutations. I have a mutation that is supposed to claim the next pending job, but exits early if there are no such jobs. When it returns early it just returns null, and when there is a job to claim it will patch that entry to update a state variable, plus a few more things. My listening queries in other clients seem to get triggered even if the mutation exited early though. Is this expected? I would have thought that nothing would be part of that mutations write set, thus not triggering any reads/queries....

authTables Error

Hello, well I'm trying to use authTables in a clean schema (clean project) but throw me an error... im using convex as a package (turborepo) I'm using:...
No description

Convex dev stuck in "Analyzing source code"

It's been like this for more than an hour now
No description

Deep Research API Timeout Issue

- Deep Research API calls take longer than Convex's 10-minute action limit - Getting "Function execution timed out" errors - Need ~15 minutes for comprehensive research tasks Anyone have workarounds for long-running tasks? How do you handle this in Convex?...

Fallback values

I changed my schema and realized I have to do a migration becuase there's no fallback/default at read time. Would be great to have this, thanks!

WorkOS AuthKit with Expo

Hey all! I'm trying to setup Convex with Expo and AuthKit with the @workos-inc/authkit-react but running into issues with the callback route. Has anyone successfully achieved this? I realize now that using the react package was a little naïve because the flow will be very different from web to mobile. I know there isn't any official docs on this but I am just wondering if anyone has figured this out?...

issues with data import

Facing issues trying to use bunx convex import --table <> <>. Any idea why? thank you
No description

Adding a Next app as a monorepo

Hi, I have an Expo app with its Convex backend. I would like to add a Next app consuming the same backend. I couldn't find a guide to build a monorepo from an existing project. Is there any documentation or guide?

Question about `isLoading` from `usePaginatedQuery` hook.

Am I missing something here? The idea here is that if no results return (empty array), I expect the isLoading to be set to false but it stays true even if the results are 0. ```ts const { results, status, loadMore, isLoading } = usePaginatedQuery( api.articles.listArticles,...

Chrome Extension Auth

Hi guys, I have a chrome extension that is injected into a website and I have my main web application. Users can login to the main application with Google (using Convex Auth https://labs.convex.dev/auth) I am trying to share auth tokens with my extension. When users click "Login" on the extension, I open the main app in another tab, they sign in with google, I use window.sendMessage to send the token to the extension background script and get the token on the extension....

what is the fastest way to clear a table with 1m+ rows

our dataset is relatively small, most tables are 1-3m records. we needed to make a change to schema that required clearing all data in a few existing tables. using the dashboard clear table function is very slow. claude suggested a batch process which is also very slow: export const clearTableBatch = mutation({ args: { batchSize: v.optional(v.number()) },...

Better-auth + convex 404

I integrated better auth with convex and exposed better-auth routes via httpRouter for api calls. Even through they are visible in convex functions dashboard, I'm still getting 404 and I do not understand what the issue is(Convex url in frontend is correct) ```import { httpRouter } from "convex/server"; import { authComponent, createAuth } from "./auth"; const http = httpRouter();...
No description

Updating one list item updates the entire list

This is a basic example of convex todo logic: ```ts export const getAll = query({ handler: async (ctx) => {...

Custom Domain hosting help

I deployed my Next.js frontend on an AWS EC2 machine at xyz.com, while my backend is still on Convex Cloud. The site was live, but Convex Auth wasn’t working , I couldn’t log in or use authentication flows. I just need to do a simple thing , deploy my Next.js website on web and use convex DB dashboard as cloud service , no self host needed for me . How should I proceed , Do i have to buy convex PRO ? whch is 25$ subscription ? ...
No description

where convex host their infra so i can host my front-end closer to it ?

where convex host their infra so i can host my front-end closer to it ?

`npx convex dev` hanging on self hosted

I've been on struggle street for a while now, still getting the folllowing that runs for 5 ish minutes before it crashes. npx convex dev ⠦ Checking that documents match your schema... ...

Is Convex down?

I've noticed my local useConvexAuth's isLoading is never changing from true and the dashboard on convex.dev seems to be having the same problem.
No description