Getting HTTP 500 on Vercel after social login
Unanswered
danielhnyk posted this in #help-forum
Hi.
Whenever I login via Social auth - e.g. via google (we use Supabase), all goes through fine, but the very first redirect/load just fails on 500 even though it seems that the page does get fetched fine behind the scenes. The errors I am getting are some weird socket err.
I added logging all around my app, such as middleware (but that one just seems to be properly running and giving 200), the target page, everything, but I can't figure out where the error comes from.
I cannot replicate this error when I sign in just with password and email, and I also cannot replicate it when running locally (against remote DB).
Any help on how to figure out what's happening would be appreciated, thanks!
Whenever I login via Social auth - e.g. via google (we use Supabase), all goes through fine, but the very first redirect/load just fails on 500 even though it seems that the page does get fetched fine behind the scenes. The errors I am getting are some weird socket err.
Error: Client network socket disconnected before secure TLS connection was established
at TLSSocket.onConnectEnd (node:_tls_wrap:1727:19)
at TLSSocket.emit (node:events:530:35)
at TLSSocket.emit (node:domain:488:12)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)I added logging all around my app, such as middleware (but that one just seems to be properly running and giving 200), the target page, everything, but I can't figure out where the error comes from.
I cannot replicate this error when I sign in just with password and email, and I also cannot replicate it when running locally (against remote DB).
Any help on how to figure out what's happening would be appreciated, thanks!