stu
Explore posts from serversCDCloudflare Developers
•Created by stu on 4/13/2025 in #general-help
Hostname 'www.<my-domain>.com' already has externally managed DNS records
I'm trying to configure a simple test site. I have a custom domain, and previously added it to Cloudflare. So DNS records are populated. But then adding "routes" to wrangler, when I deploy, I get the error
Hostname 'www.<my-domain>.com' already has externally managed DNS records (A, CNAME, etc). Either delete them, try a different hostname, or use the option 'override_existing_dns_record' to
override. [code: 100117]
Are there specific DNS entries I need to delete to get this working?2 replies
BABetter Auth
•Created by stu on 4/13/2025 in #help
Hanging timeout server-side requests using Cloudflare Hyperdrive
Anyone have success using Cloudflare Hyperdrive with Better-Auth?
Basically, I have sign-in functionality server-side like:
But it's hanging forever when I hit it. No logs, just forever loading.
Auth looks like:
And getDb function looks like:
If I use the postgres connectionString directly, it works. But if I use the Hyperdrive connectionString, it hangs.
Any ideas?
7 replies
BABetter Auth
•Created by stu on 4/2/2025 in #help
Invalid token on resetPassword
I'm creating a flow for when a signed out user forgets their password, they can reset it.
It's sending me an email with a URL like
http://localhost:4321/reset-password/<TOKEN>
. Great!
But when I try and use the token to reset the password, I always get a BAD_REQUEST
with error INVALID_TOKEN
.
I'm trying to resetPassword server-side, and the code looks like this:
17 replies