siva3
May 23, 2025, 9:07pm
1
For Workers & Pages, what is the name of the domain?
no domain yet
What is the error number?
NeonDbError: Error connecting to database: Error: internal error; reference = j3ss4ccis1efphq7r418cbqa
What is the error message?
NeonDbError: Error connecting to database: Error: internal error; reference = j3ss4ccis1efphq7r418cbqa
What is the issue or error you’re encountering
I am connecting to neon db via hyperdrive. I created a hyperdrive config and i didnt see any error. But when connecting from localhost (via Wrangler by setting env variable)it is throwing error. Also when i look at hyperdrive status it is always Inactive on the dashboard. Any way I can test if Hyperdrive config is working
Screenshot of the error
Can you share a code snippet? You probably don’t want to be using @neondatabase/serverless
with Hyperdrive though.
I’d recommend postgres
which is what I’m using in production with Neon without issue:
If running locally, you may need to make some configuration tweaks as per the documentation:
Hyperdrive can be used when developing and testing your Workers locally by connecting to a local database instance running on your machine directly, or a remote database instance. Local development uses Wrangler, the command-line interface for...
1 Like
system
Closed
May 25, 2025, 11:29pm
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.