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

后台报错“由于目标计算机积极拒绝,无法连接。” #361

Closed
Joelsenior opened this issue Mar 5, 2023 · 1 comment
Closed

Comments

@Joelsenior
Copy link

前置确认

  1. 网络能够访问openai接口 #351
  2. python 已安装:版本在 3.7 ~ 3.10 之间,依赖已安装
  3. 在已有 issue 中未搜索到类似问题
  4. FAQS 中无类似问题

问题描述

后台报错“由于目标计算机积极拒绝,无法连接。”

简要说明、截图、复现步骤等,也可以是需求或想法
l
image

终端日志 (如有报错)

[在此处粘贴终端日志]

[INFO][2023-03-05 22:53:07][chat_gpt_bot.py:26] - [OPEN_AI] query=你是谁
[WARNING][2023-03-05 22:53:13][chat_gpt_bot.py:74] - Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002C85C64E2E0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))
[WARNING][2023-03-05 22:53:13][chat_gpt_bot.py:75] - [OPEN_AI] APIConnection failed
[INFO][2023-03-05 22:53:13][wechat_channel.py:108] - [WX] sendMsg=[bot] 我连接不到你的网络, receiver=@8eda300adfadb0cc88ec738e008a1d28e3977b4d727caa0769b04437a8b241ec

环境

  • 操作系统类型 (Mac/Windows/Linux):window 11
  • Python版本 ( 执行 python3 -V ): python 9.1
  • pip版本 ( 依赖问题此项必填,执行 pip3 -V):
@zhayujie
Copy link
Owner

zhayujie commented Mar 5, 2023

see #310

@zhayujie zhayujie closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants