adrianhajdin / threads

Develop Threads, Next.js 13 app that skyrocketed to 100 million sign-ups in less than 5 days, and dethroned giants like Twitter, ChatGPT, and TikTok to become the fastest-growing app ever!
https://threads-psi.vercel.app
1.5k stars 289 forks source link

Vercel Deployment Error #69

Closed MarkMatute closed 1 year ago

MarkMatute commented 1 year ago

Hi there! I've got an issue and could not resolve it and block the progress for me.

  1. After deploying to vercel, I can access the /sign-in and /sign-up page, but right after processing request
  2. I got this FUNCTION_INVOCATION_TIMEOUT error

image

Thanks for the tutorial though, hopefully i can resolve this.

TyByers21 commented 1 year ago

I had the same timeout issue. You may need to go back to your mongo db and make sure you're setup to allow ALL IP addresses to connect.

tpratt57 commented 1 year ago

would either of you mind helping me with an issue I'm having. Opened up an issue about a week ago and haven't heard any help yet

MarkMatute commented 1 year ago

Yup its the MongoAtlas issue, i had to allow for access from anywhere, but again this is only for development, if for production specify specific ip address only. Cheers!

MarkMatute commented 1 year ago

would either of you mind helping me with an issue I'm having. Opened up an issue about a week ago and haven't heard any help yet

whats the issue? is it the same with this one?

tpratt57 commented 1 year ago

would either of you mind helping me with an issue I'm having. Opened up an issue about a week ago and haven't heard any help yet

whats the issue? is it the same with this one?

Its not the same. Basically I'm having an issue with the onSubmit for onboarding. Doesn't seem to be connecting to the mongo database and I just can't figure out why. Done about all the solutions I could think of.

Here's the issue link for reference. Have screenshots of my code.

https://github.com/adrianhajdin/threads/issues/68