Skip to content

[Bug] 使用 OpenAI 的 GPT-5,持续遇到 Gateway time-out Error code 504 #6603

@Colorless9

Description

@Colorless9

📦 Deployment Method

Vercel

📌 Version

v2.16.1

💻 Operating System

Windows

📌 System Version

Windows 11, version 24H2

🌐 Browser

Chrome

📌 Browser Version

138.0.7204.169

🐛 Bug Description

使用 OpenAI 的 gpt-5 时(在 versel 上部署,接 API Key),会报 504: Gateway time-out ,然而用别的模型都不会有这样的报错:

{
  "error": {
    "code": "504",
    "message": "An error occurred with your deployment"
  }
}

尝试了将 vercel 的 Function Max Duration 调到 60s,仍然没有变化。然而,有时如果输入 “test”“hello”这样简短的问题,则不会遇到错误,而是能正常回答。

📷 Recurrence Steps

使用 OpenAI 的 GPT-5,询问比较长的问题。

🚦 Expected Behavior

No response

📝 Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions