Skip to content

convex dev does not start without an internet connection #249

@adaptive-shield-matrix

Description

@adaptive-shield-matrix

I'm using a self hosted instance.
I expect to be able to run convex dev to test my application locally without an internet connection.
Or am I wrong and a internet connection is always required to use the dev server?

console logs

❯ bun run convex dev
✖ Failed to get latest convex backend releases
✖ Hit an error while running local deployment.
Your error has been reported to our team, and we'll be working on it.
To opt out, run `npx convex disable-local-deployments`. Then re-run your original command.
Unexpected Error: Error: getaddrinfo ENOTFOUND o1192621.ingest.sentry.io
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: getaddrinfo ENOTFOUND o1192621.ingest.sentry.io
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26)
error: "convex" exited with code 1

I somehow doubt that "Your error has been reported to our team" works without an network connection.

env.local

CONVEX_DEPLOYMENT=anonymous:anonymous-dcc-app
VITE_CONVEX_URL=http://127.0.0.1:3210
CONVEX_TMPDIR=.cache/convex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions