Skip to content

用户在群里发送分享链接就会触发openai的连接 #5

@1371030

Description

@1371030

前置确认

  • 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在FAQS中也未找到类似问题。

⚠️ 搜索issues中是否已存在类似问题

  • 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue

操作系统类型?

Docker

运行的python版本是?

python 3.7

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

在群里分享个链接如游戏加人或是b站视频就会出现下面日志,后台就需要重启

问题描述 😯

No response

终端日志 📒

[INFO][2024-09-07 05:52:59][wechat_channel.py:243] - [WX] sendMsg=Reply(type=TEXT, content=🎉正在为您生成总结,请稍候...), receiver=@@c316dcb8ca74b6fe4718379ae8d986edb3bb1a235f20d7c523b5417bd9ffa2b7
[WARNING][2024-09-07 05:54:03][jina_sum.py:91] - [JinaSum] HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f8019a885b0>, 'Connection to api.openai.com timed out. (connect timeout=60)')), retry 1
[WARNING][2024-09-07 05:55:06][jina_sum.py:91] - [JinaSum] HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f8019a89ba0>, 'Connection to api.openai.com timed out. (connect timeout=60)')), retry 2
[WARNING][2024-09-07 05:56:26][jina_sum.py:91] - [JinaSum] HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f8019a8ac80>, 'Connection to api.openai.com timed out. (connect timeout=60)')), retry 3
[ERROR][2024-09-07 05:56:30][jina_sum.py:95] - [JinaSum] HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8019aa0dc0>: Failed to establish a new connection: [Errno 111] Connection refused'))

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8019aa0dc0>: Failed to establish a new connection: [Errno 111] Connection refused'))
[INFO][2024-09-07 05:56:30][wechat_channel.py:246] - [WX] sendMsg=Reply(type=ERROR, content=[ERROR]
我暂时无法总结链接,请稍后再试), receiver=@@c316dcb8ca74b6fe4718379ae8d986edb3bb1a235f20d7c523b5417bd9ffa2b7

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