Does Hyperdrive support connecting *from* non-Cloudflare services (e.g. from Fly.io)? Because it see
Does Hyperdrive support connecting from non-Cloudflare services (e.g. from Fly.io)? Because it seems that changes from CF Workers through Hyperdrive is not propagated immediately to the "bare" DB, so my service in Fly.io that connects directly doesn't see it yet
15 Replies
Hello there, I have a postgres db setup on a machine, a CF tunnel pointing to that db, and Acces service auth setup above all, is there a way to get the connection string by API and simply use that in a nodejs project?
Hi, has anyone been experiencing caching problem on hyperdrive?
My website cannot connect to a database when connecting through hyperdrive. It looks like it is resolved for 5-10 mins after either switching on and off the caching.
Metrics reads fine, and it can connect to the database with cache and without cache, but it only works for 5-10 mins on both cases.
I try to setup Hyperdrive with a tunnel. Followed all the steps 3 times but get this error:
"Failed to connect to database using the provided information: Internal error."
- On the server "cloudflared tail --level debug" and in the dashboards 'Access authentication logs' i dont see anything happen.
- Tunnel status on dashboard says "Healthy".
- Everytime i try to setup it up in Application > Policies a policy is automaticly created.
- First time I run "cloudflared tail --level debug" i got the error "Cannot determine default origin certificate path." which i fixed with this
š¢ Hyperdrive update:
2024-10-30: New Hyperdrive configurations to private databases using Tunnels are validated before creation to make it easier to troubleshoot connectivity issues
https://developers.cloudflare.com/hyperdrive/platform/changelog/#2024-10-30
Hey guys! I have a small problem with hyperdrive. I want to test it with a local postgres instance in docker, to which I can connect without problems, but my worker script says it's failing to authenticate due to bad password. Same connection string works with drizzle for migrations
Interesting. Same connection string works in hyperdrive?
What username and password did you provide when making your Hyperdrive? I wonder if there was some shell escaping or something that caused it to not have your DB password stored correctly?
yeah sorry im just incredibly stupid. the db controller that fires first somehow still had the old d1 object as param and typescript screamed at me and i just ignored it...
Heh. Happens to the best of us. Good luck!
I'm trying to use hyperdrive with neon drizzle & postgresjs but I'm getting
I been trying pg & postgresjs but cant manage to cconnect
I have reduced to:
Without SSL true I get
Is your database configured with
ssl=on
?When I have it enabled I get timeout error
SSL is required to be configured for databases Hyperdrive connects to.
it's ?sslmode=require
I'm trying to use neon with hyperdrive from local
That's the client-side request mode. Is the database itself set up with SSL?
afaik neon uses ssl right?
With ssl I get TIMEOUT