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] httpx.ConnectError: All connection attempts failed #905

Closed
SeanLi-Coder opened this issue Jun 1, 2023 · 3 comments
Closed

[BUG] httpx.ConnectError: All connection attempts failed #905

SeanLi-Coder opened this issue Jun 1, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@SeanLi-Coder
Copy link

表现
EBBBTV9RO_ 8 22{F KJXYD
永远都是这句话

运行环境:

  • 操作系统:阿里云ECS Ubuntu 18.04
  • Docker: Docker version 24.0.2, build cb74dfc
  • 项目版本:最新的2.5.1

复现步骤
描述你是如何触发这个 BUG 的

  1. 启动项目
  2. 看日志看openai token是否使用成功,日志显示成功,此处应该能说明代理无问题?
  3. 看qq是否登录成功,已通过本地扫码登陆上传token和device.json文件方式实现登录成功
  4. 发现机器人登录成功,给他发消息
  5. 发现抱错,消息只有我还在思考中,请再等一下~,最后说出现故障。

预期行为
机器人发送正常的chatgpt回答

截图
相关日志、聊天记录的截图,没有可跳过
image
image

@SeanLi-Coder SeanLi-Coder added the bug Something isn't working label Jun 1, 2023
@Cloxl
Copy link
Contributor

Cloxl commented Jun 1, 2023

网络不好

@SeanLi-Coder
Copy link
Author

网络不好

不知为何,这个问题我通过access_token配置就可以,通过那个openai的api_key配置就是这样报错的

@lss233
Copy link
Owner

lss233 commented Jun 5, 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
Projects
None yet
Development

No branches or pull requests

3 participants