bitangel84
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
Try my repo (d1 branch) works very well
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
Update:
it works fine with
D1
and neon-http
branch-d1: https://github.com/angelorc/nuxt-better-auth-cf/tree/d1
branch-neon-http: https://github.com/angelorc/nuxt-better-auth-cf/tree/neon-http24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
@bekacru I published a minimum reproducible
https://nuxt-better-auth-cf.bitsong.workers.dev/
REPO: https://github.com/angelorc/nuxt-better-auth-cf
1. If you try to login with Github, you will get an error
The error is
The script will never generate a response.
2. If you try to refresh, then you can see your session24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
I still get issues
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
is there any example?
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
Failed to initialize database adapter
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
at the end I don't need to modify neither
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
I can try...
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
Custom Plugin
Db
Config
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
this is a migration from vercel to cf. The app use drizzle as adapter
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
Drizzle
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
I used pg and hyperdrive then I tried neon serverless... same issue
24 replies
BABetter Auth
•Created by bitangel84 on 4/16/2025 in #help
Drizzle + PG + Hyperdrive + Cloudflare Workers doesn't work
The db close the connection
24 replies
BABetter Auth
•Created by stu on 4/13/2025 in #help
Hanging timeout server-side requests using Cloudflare Hyperdrive
I also tried
@neondatabase/serverless
but I ended to get one more error
7 replies
BABetter Auth
•Created by stu on 4/13/2025 in #help
Hanging timeout server-side requests using Cloudflare Hyperdrive
better auth and cloudflare hyperdrive doesn't work
7 replies
BABetter Auth
•Created by bitangel84 on 3/1/2025 in #help
Update session on hooks
I've found the issue...
1. Use
ctx.context.newSession
2. Use newSession.session.token
to update the session
this is the code that works
5 replies
BABetter Auth
•Created by bitangel84 on 3/1/2025 in #help
Update session on hooks
newSession works, but I'm not able to update the session
5 replies
BABetter Auth
•Created by ぱいなぷー on 2/28/2025 in #help
How to Retrieve DATABASE_URL in Cloudflare?
I think you should use environment variables, you can add it in workers -> settings
4 replies