sub2api经常502报错疑问?

zrisu 2026-06-12 15:54 1

HTTP 502:HTTP 502: {“error”:{“message”:“Upstream request failed”,“type”:“upstream_error”}}


最近中转调用的时候老是报错这个,请问大佬们这个到底是为啥呀

最新回复 (4)
  • 卡卡西 06-12 15:56
    1

    50x 系列报错都是服务端错误,你可以简单理解为中转服务不稳定

  • zrisu 楼主 06-12 17:25
    2

    https://linux.do/t/topic/2249302我找到了一个相关的帖子,等会试一下

  • 卡卡西 06-12 17:28
    3

    原来你是自己部署的 sub2api,我还以为你用的中转站 ^-^

  • zrisu 楼主 06-12 19:58
    4
    gateway:
    response_header_timeout: 600
    openai_response_header_timeout: 0
    openai_http2:
    enabled: true
    allow_proxy_fallback_to_http1: true
    fallback_error_threshold: 2
    fallback_window_seconds: 60
    fallback_ttl_seconds: 600
    ```gateway:
    response_header_timeout: 600
    openai_response_header_timeout: 0
    openai_http2:
    enabled: true
    allow_proxy_fallback_to_http1: true
    fallback_error_threshold: 2
    fallback_window_seconds: 60
    fallback_ttl_seconds: 600
* 帖子来源Linux.do
返回