V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Tdy95
V2EX  ›  OpenAI

家人们,你们的 api 会爆 429 错误吗

  •  
  •   Tdy95 ·
    mydaoyuan · May 17, 2023 · 1345 views
    This topic created in 1079 days ago, the information mentioned may be changed or developed.
    { "error": { "message": "That model is currently overloaded with other requests. You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID c0f94d632679c099b596f304a0303739 in your message.)", "type": "server_error", "param": null, "code": null } }
    

    请求的频率确定没有超过上限,重新再请求一次就会正确返回内容。3.5 和 4.0 都会这样。

    最近两天才开始频繁的报错。

    请求接口的方式是使用一台 azure 服务器做 openai 接口流量代理转发。

    xabcstack
        1
    xabcstack  
       May 17, 2023
    一样,有很多, 今天特别多,不知何故
    xabcstack
        2
    xabcstack  
       May 17, 2023
    是官方服务器本身问题
    Tdy95
        3
    Tdy95  
    OP
       May 24, 2023
    我加了一个超时重试功能,完美解决问题。
    具体逻辑是接口超过 3S 没回复内容就重发请求。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2500 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:39 · PVG 23:39 · LAX 08:39 · JFK 11:39
    ♥ Do have faith in what you're doing.