An error occurred with your deployment - FUNCTION_INVOCATION_TIMEOUT
Answered
Alligator mississippiensis posted this in #help-forum
Alligator mississippiensisOP
Hey guys, I'm having a problem with my app in next-js 14, using shadcn + next-auth + prisma/edge
Simply out of nowhere, with no changes to the structure and it was working normally, the application is no longer making requests to the database.
The problem exists only in production.
Localhost works normally
I'm getting error 504, with the following sentence.
An error occurred with your deployment
FUNCTION_INVOCATION_TIMEOUT.
I've already increased the maxDuration to 60 and it still doesn't work.
Some requests to the database partially work and others do not.
Simply out of nowhere, with no changes to the structure and it was working normally, the application is no longer making requests to the database.
The problem exists only in production.
Localhost works normally
I'm getting error 504, with the following sentence.
An error occurred with your deployment
FUNCTION_INVOCATION_TIMEOUT.
I've already increased the maxDuration to 60 and it still doesn't work.
Some requests to the database partially work and others do not.
9 Replies
Xiasi Dog
Hi, here same error at 19:30 São Paulo.
British Shorthair
Same here
Xiasi Dog
Anyone solution?
Alligator mississippiensisOP
Nothing until now at 19:37 Minas Gerais 🥲
On friday, everthing was working as expected, but for some reason that I don't know, today isn't working.
Alligator mississippiensisOP
Increasing to 300s the response was successful, but the server response timing is too hire.
But in localhost, the response is almost instantly 🤷♂️
But in localhost, the response is almost instantly 🤷♂️
British Shorthair
change your server location
British Shorthair
@Alligator mississippiensis this alert's from our BAAS
Answer
Alligator mississippiensisOP
Alright @British Shorthair, thanks a lot