Unexpected status 502 Bad Gateway: Unknown error, url: http://127.0.0.1:8317/v1/responses #2848
Unanswered
AniOSDeveloper
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
你的问题看上去是网络问题,印象中cpa中没有502报错的错误信息,这信息看上去是由代理服务器传递过来的,建议你检查一下你的网络配置。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我按照 https://help.router-for.me/cn/introduction/quick-start.html 的说明在 Mac 15.7.2 上用 homebrew 安装了 6.9.20 版本的 CLIProxyAPI,并在 yaml 文件配置了 host: "127.0.0.1" 和 proxy-url: "socks5://127.0.0.1:7891",登录到了 http://127.0.0.1:8317/management.html 管理面板,上传了几个 codex 的个人版免费认证文件,使用以下命令能正确获取所有的模型
curl http://localhost:8317/v1/models
-H "Authorization: Bearer api-key"
同时按照以上文档的说明在第三方客户端 cherry studio 上配置后能正常对话,但是按照相同的配置设置codex后,在终端中对话时竟显示如下信息:
Reconnecting... 1/5 (12s • esc to interrupt)
└ Unexpected status 502 Bad Gateway: Unknown error, url: http://127.0.0.1:8317/v1/responses
我的目的是使用 CLIProxyAPI 在本地自动管理和切换可用的认证文件,无需为单个文件额度用完后需要手动切换另一个可用的认证文件操心,请问该如何解决这个问题?
Beta Was this translation helpful? Give feedback.
All reactions