Replies: 7 comments 17 replies
-
|
can you help me with this |
Beta Was this translation helpful? Give feedback.
-
|
Hi @racsou -- this will happen if the page takes too long to load and the serverless function times out. Can you share what URL/page you were trying to load so that we can figure out if there's a way around the timeout? |
Beta Was this translation helpful? Give feedback.
-
|
Hi! I have this problem too |
Beta Was this translation helpful? Give feedback.
-
|
If you are going to use vercel, modify in "api/index.js and add this line: export const runtime = 'edge'; // 'nodejs' is the default |
Beta Was this translation helpful? Give feedback.
-
|
This is how the entire index.js should look like: const serverlesswp = require('serverlesswp'); const { validate } = require('../util/install.js'); export const runtime = 'edge'; // 'nodejs' is the default // This is where all requests to WordPress are routed through. See vercel.json or netlify.toml for the redirection rules. } |
Beta Was this translation helpful? Give feedback.
-
|
Hi any updates on this issue? I'm also not able to run successfully. |
Beta Was this translation helpful? Give feedback.
-
|
I got this error too |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This Serverless Function has timed out.
Your connection is working correctly.
Vercel is working correctly.
504: GATEWAY_TIMEOUT

Code: FUNCTION_INVOCATION_TIMEOUT
ID: cdg1::sr6rx-1695582672275-03be1404db59
Beta Was this translation helpful? Give feedback.
All reactions