We have a project hosted on the Vercel. We get timeout issue with some of the page requests intermittently. Maybe we can get resolved by increasing the “Function Max Duration” to some higher number than the default 15 seconds.
A common cause of timeout can be network latency to a 3rd party API your functions are connecting to. So, maybe that can be a good starting point for debugging this.