Unable to login to Ackee | Vercel Deployment
adityatelange opened this issue Β· comments
π Describe the bug
Unable to login to Ackee. API responds with
An error occurred with your deployment
FUNCTION_INVOCATION_TIMEOUT
π To Reproduce
- Install Ackee as suggested in docs.
- Deploy it to vercel.
Repo used to deploy to vercel https://github.com/adityatelange/Ackee-forked. Branch: master
π‘ Expected behavior
Ackee should login the user opening the dashboard
πΌοΈ Screenshots
βοΈ Environment
- Installation: [e.g. Docker/Docker-Compose/Netlify/Vercel/Manually]: Vercel
- Ackee version: [e.g. v2.1.0]: v3.4.0
π Additional context
Add any other context about the problem here.
ζδΉζ―θΏζ ·
FUNCTION_INVOCATION_TIMEOUT isn't unusual for Vercel and can happen when a serveless function hasn't been invoked for a while. It usually fixes itself after a few tries, but I still have no glue why and how to fix it.
FUNCTION_INVOCATION_TIMEOUT isn't unusual for Vercel and can happen when a serveless function hasn't been invoked for a while. It usually fixes itself after a few tries, but I still have no glue why and how to fix it.
I'm not sure but this was not happening with previous version https://github.com/adityatelange/Ackee-forked branch primary.
Lost alomost all of stats for 3 days but after reverting back to primary branch everything is fine.
This has been observed with 3.4.0.
Is it because of mongo db queries getting delayed? I'm not sure.
And verified with 3.4.1, the issue persists
After experimenting with locations of Vercel deployment, I have the following observations:
For Mongo DB Atlas region is Azure / California (west).
After selecting Serverless Function Region nearer to the mongo region in Vercel, I can somehow log in!