BetterAuth NestJS Timing Out

I've been trying to integrate Better Auth into my NestJS Lambda (via @thallesp/nestjs-better-auth), but I've been encountering an issue when trying to call GET /api/v1/auth/ok.

Anytime I call it, I get a 503 Service Unavailable error after it hangs for about 10 seconds or so.

I tried everything I could to debug it on my own, because I can't seem to find the cause, and the logger property doesn't seem to work.

For additional context, I'm using Drizzle (via Neon), SST (v3), and Nx (monorepo).

(Logs in the thread.)
Was this page helpful?