I was under the assumption that it was maybe a server side rendering issue so I moved the data fetching to client side. That didn’t fix it, so I removed data fetching all together and put a static page with just a <div> containing a <p>Test</p> and it is still giving me the error. There is now no data fetching happening on the page I am trying to access so I’m not sure what task would be failing.
Does anyone have a solution to this? I haven’t added any custom Netlify functions but according to this post: [Support Guide] Why is my function timing out? there are some that are automatically added. How can I debug what’s going on with them?
Welcome to the forums and thanks so much for reaching out. Your functions are timing out and you need a bump but that’s only available on a Pro tier or higher. You can upgrade to Pro easily through the Netlify UI dashboard.
Most people use functions and don’t even realize. There are some workarounds to using functions and I urge you conduct your own research on workarounds to functions if you don’t want to upgrade. When you look at your deploy log in netlify the first few lines will tell you you’re using functions. You should see this in the UI when you toggle to site settings.
Well my question I guess is, what’s causing the functions to time out? I have removed data fetching completely and have an SSR page which is essentially static and it’s still timing out. It shouldn’t take over 10 secs to do that. Is there an explanation of what these functions are trying to do? Or a way to debug the functions? Because it doesn’t make much sense to me why they would be timing out in this case.