2025-04-09T13:12:33.351Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR [AggregateError: ]
I'm getting this error:
I've followed the introduction to set it up.
I'm getting when trying to login anonymously
10 Replies
Can you show me your auth config, as well as tell me what framework you're using?
Nextjs
I'll share config
-# auth/index.ts
-# auth/client.ts
-# app/api/auth/[...all]/route.ts
If you want github repo: https://github.com/anay-208/nextjs-hackathon
same error when attempting to get session

I'm on windows with wsl if it could cause it
For some reason, it works fine with github codespaces, why is that
Someone also in my team is getting the same error
Not too sure..
Are they using wsl as well?
Yes
In gihub codespaces I don't get this error
I haven't seen this error as well, I do wonder if it could relate to that.
We do have unit tests for things like the anonymous plugin, and these all work fine for us.
maybe you can try to replicate it in wsl?
is it only when you try to login anonymously?
I m only using anonymous login and nothing else