Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] openai-api没有经过代理 #360

Closed
3 tasks done
cjj490168650 opened this issue Mar 15, 2023 · 1 comment
Closed
3 tasks done

[BUG] openai-api没有经过代理 #360

cjj490168650 opened this issue Mar 15, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@cjj490168650
Copy link

cjj490168650 commented Mar 15, 2023

提交 issue 前,请先确认:

  • 我已看过 FAQ,此问题不在列表中
  • 我已看过其他 issue,他们不能解决我的问题
  • 我认为这不是 Mirai 或者 OpenAI 的 BUG

表现
使用docker-compose部署,在配置文件docker-compose.yaml中的environment设置了代理,使用时chatgpt-web和bing-cookie成功经过了代理,但openai-api没有,使用画图功能时提示openai.error.APIConnectionError: Error communicating with OpenAI

运行环境:

  • 操作系统:Linux VM-0-10-ubuntu 5.15.0-56-generic 62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Docker: docker-compose version 1.29.2
  • 项目版本:2.2.3.1

复现步骤

  1. docker-compose.yaml中的environment设置代理
  2. config.cfg中分别设置chatgpt-web、bing-cookie和openai-api的账号
  3. 分别测试三个账号的功能
  4. 在代理日志中,发现chatgpt-web、bing-cookie成功经过了代理,但是使用openai-api画图时没有代理日志

预期行为
三种账号都能经过代理

截图
image
image
image
image
image

其他内容
关于为什么不在config.cfg中设置代理,因为之前在这里面设置代理时会提示“无法连接至代理服务器”,而在docker-compose.yaml中设置是可以成功的

@cjj490168650 cjj490168650 added the bug Something isn't working label Mar 15, 2023
@devhaozi
Copy link

#307

@lss233 lss233 added the duplicate This issue or pull request already exists label Mar 15, 2023
@lss233 lss233 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants