504
ماذا يعني خطأ رموز حالة HTTP هذا
كيف يظهر
HTTP/1.1 504 Gateway Timeout
ماذا يعني
A server acting as a gateway or proxy did not get a response in time from the server behind it, so it gave up and returned 504.
السبب المعتاد في تطبيق مبني بالذكاء الاصطناعي
The app's API route waits on a slow step, often a call to an AI model or an outside API, and the hosting platform stops waiting before that step finishes.
افحص هذا أولًا
Check the response headers of the failing request for the host's own error code, such as x-vercel-error: FUNCTION_INVOCATION_TIMEOUT on Vercel.