Issue with WS connection Locally
I'm trying to run a project locally but it seem to keep getting this WS error. Has anyone run into this before?

4 Replies
Now that I think about this, im not sure why it’s trying to connect to anything locally, I have it setup to talk to my development convex instance
I'd check your
.env.local
, which is usually used to set the CONVEX_URL used by your clientCheck the
.env.local
- I suspect that flipping back and forth between using the development cloud convex instance vs the open source local-backend process may have some rough edges around updating .env.local
. If you go in there manually and either fix it / wipe it, then npx convex dev
will figure it out.
From the screenshot, it looks like it's trying to connect to the OSS backend (localhost:3210), which it'll do based on .env.local
yup that was it 😆