Skip to content

CLI OAuth 报错503/504 #123

@denniszlei

Description

@denniszlei

/v1/models和/v1/chat/completions端点正常,但是/cli/v1/chat/completions端点失败,报错503 service unavailable, 返回内容:

{
  "error": "没有可用的CLI账户,请稍后重试"
}

docker logs报错:

2026-05-22 13:17:48 [WARN] [CLI] ⚠️ CLI轮询令牌未完成 (1/60)
{
  status: 504,
  statusText: 'Gateway Time-out',
  body: '<html>\r\n' +
    '<head><title>504 Gateway Time-out</title></head>\r\n' +
    '<body bgcolor="white">\r\n' +
    '<center><h1>504 Gateway Time-out</h1></center>\r\n' +
    '<hr><center>alibaba-ga</center>\r\n' +
    '</body>\r\n' +
    '</html>\r\n'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions