Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Perf difference on prepared statements

Hey, I made the original post on the forum and just want to add some additional details: I think my assumption that it wasn't caching at all was incorrect. The responses just seem to be a lot slower... For example my worker with: ```...

I am working on standing up a CF tunnel

I am working on standing up a CF tunnel to connect to a local postgres DB for development tier. I have cloudflared running in a docker container and the postgres bitnami contianer running but keep receiving this error when creating my hyperdrive config via Pulumi with v6.1.0: ``` failed to make http request: POST "https://api.cloudflare.com/client/v4/accounts/<redacted>/hyperdrive/configs": 400 Bad Request { "result": null,...

Hi all,

Hi all, Do we need to create a new SQL connection for every request with Hyperdrive and close it after fetching the data, or should we create a single connection instance and reuse it? The latter approach seems more reasonable to me but it doesn't appear to work on Workers....

Neon errors

I cannot for the life of me create a hyperdrive connection to my Neon PG DB. It is always stuck in "inactive" and returns an error when attempting to use it "SERVER_ERROR: NeonDbError: Server error (HTTP status 530): error code: 1016" Is there some black magic I need to perform on the Neon side of things (because the hyperdrive side seems super simple)...

Any news on manual cache busting for

Any news on manual cache busting for hyperdrive?

Screenshot 2025-04-14 at 03.56.10

So my Hyperdrive connection with MySQL just started throwing errors, or well it started not responding. https://screen.bouma.link/fGflgtK5X2vH5wrX98nZ From the Cloudflare Dashboard everything is "Active" (Hyperdrive) and "Healthy" (the Tunnel) and cloudflared also is runnign without any log output. But workers connecting throw: ```...

Mysql <> private db

does cf offer a way for hyperdrive to connect with private mysql servers ?

Has anyone tested hyperdrive on postgres

Has anyone tested hyperdrive on postgres:17? 🤔 Seeing some issues and trying to rule-out possible cases

If you were able to create the

If you were able to create the Hyperdrive config you're good to start pushing queries through it! Active vs. inactive on the dashboard just means that it has been used in the past 24 hours

This is probably due to enabling client

This is probably due to enabling client cert security on the DB which Hyperdrive doesn't currently support, see https://discord.com/channels/595317990191398933/1359175343898099812/1359277139257458709

I'm getting this message when running

I'm getting this message when running create command:
Membership roles in "": Contact account super admin to change your permissions.
- Super Administrator - All Privileges
Membership roles in "": Contact account super admin to change your permissions.
- Super Administrator - All Privileges
How can I fix it?...

Has anyone had luck troubleshooting "

Has anyone had luck troubleshooting "Invalid certificate verification context" when creating a Hyperdrive configuration through a Tunnel?

mysql2 connect errors

After connect mysql hyperdrive with mysql2 lib I have: " "message": "proxy request failed, cannot connect to the specified address", on requests

I think we can definitely add that

I think we can definitely add that language to the docs. Appreciate the suggestions!

Our Cloudflare Worker (backed by

Our Cloudflare Worker (backed by Hyperdrive) had a big spike in Errors and Wall Time today starting at around 10:30am PT today. On Hyperdrive, I don't see any spikes in latency, but I did see a couple errors in each of our Hyperdrive instances at ~10:30am PT. Struggling a little with how to debug or fix this - most traffic is fine, but our P999 wall time jumped to 70k ms. All of our backing databases are completely normal, and I'm able to query Hyperdrive normally locally

I'm now fairly convinced that it was a

I'm now fairly convinced that it was a Hyperdrive issue. As a hot-fix, I just deployed with a raw postgresjs client (no hyperdrive) and the errors stopped

Hi! I discovered that Hyperdrive has not

Hi! I discovered that Hyperdrive has not been functioning properly since around 04:00 UTC on March 10.
It seems that the connection pool is insufficient, so I increased the pool size in Supabase. However, I am still encountering a "Connection terminated unexpectedly" error. No changes have been made to the code, and I have confirmed that connecting directly to the Supabase database using the connection string from a local environment works without any issues.
Would it be possible to get some assistance regarding this issue?...
No description

The link in the changelog is `https://

The link in the changelog is https://developers.cloudflare.com/hyperdrive/platform/changelog/(https://www.cloudflare.com/ips/

neon branches

i am using neon. i use neon branches for local development. when i set my neon branch connection string in .dev.vars (WRANGLER_HYPERDRIVE_LOCAL_CONNECTIONSTRING<BINDING>=neon branch connection string) and run wrangler dev. it recognizes my environment variable Found a non-empty WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING variable for binding. Hyperdrive will connect to this database during local development. now when i get the connection string from the binding (BINDING.connectionString), it returns a hyperdrive.local host instead of my neon connection string....
Next