T3 app gives 504 on every login attempt in production
I've been working on a hobby
create-t3-app
project locally with TS, NextAuth, Prisma, and MongoDB and everything was working fine locally but when I deployed to Vercel every time I attempt to log in with Google I get a 504 error.
To see if it was something I messed up in the boilerplate from create-t3-app I made a repository (https://github.com/sqwyer/create-t3-app-test) without changing any of the source except from changing from Discord to Google for authentication and updating the schema.prisma
file for MongoDB and inserting enviornment variables.
To create both of these apps I used npx create-t3-app@latest
Any pointers on how I could fix this issue? ThanksSolution:Jump to solution
Figured out that I was just stupid and didn’t allow any ip to access the MongoDB database lol
1 Reply
Solution
Figured out that I was just stupid and didn’t allow any ip to access the MongoDB database lol