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]:429 Too many requests #606

Closed
a1014068504 opened this issue Nov 21, 2023 · 4 comments
Closed

[Bug]:429 Too many requests #606

a1014068504 opened this issue Nov 21, 2023 · 4 comments
Labels
bug? Bug或Bug修复相关 m: Provider OpenAI API 或其他 LLM 模型相关

Comments

@a1014068504
Copy link

a1014068504 commented Nov 21, 2023

部署方式

Docker部署

登录框架

go-cqhttp

系统环境

rockchin/qchatgpt:latest

Python环境

3.10

异常情况

向OpenAI接口发送请求的时候,会报错,http429 Too Many Requests。

报错信息

[37m[2023-11-20 21:33:59.751] message.py (27) - [INFO] : [person_12345678]发送消息:介绍一下这个项目 https://git...�[0m
�[37m[2023-11-20 21:34:00.847] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-20 21:34:00.848] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 0.915115 seconds�[0m
�[37m[2023-11-20 21:34:02.015] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-20 21:34:02.015] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 1.881526 seconds�[0m
�[37m[2023-11-20 21:34:04.155] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-20 22:18:43.250] application.py (95) - [INFO] : Event: handling a event: FriendMessage�[0m
�[37m[2023-11-20 22:18:43.252] message.py (27) - [INFO] : [person_12345678]发送消息:查询�[0m
�[37m[2023-11-20 22:18:44.323] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-20 22:18:44.324] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 0.965826 seconds�[0m
�[37m[2023-11-20 22:18:45.542] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-20 22:18:45.543] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 1.825946 seconds�[0m
�[37m[2023-11-20 22:18:47.619] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-21 07:48:13.043] application.py (95) - [INFO] : Event: handling a event: FriendMessage�[0m
�[37m[2023-11-21 07:48:13.048] message.py (27) - [INFO] : [person_12345678]发送消息:查询�[0m
�[37m[2023-11-21 07:48:14.087] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-21 07:48:14.088] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 0.836453 seconds�[0m
�[37m[2023-11-21 07:48:15.223] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-21 07:48:15.224] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 1.782747 seconds�[0m
�[37m[2023-11-21 07:48:17.356] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-21 07:48:32.260] application.py (95) - [INFO] : Event: handling a event: FriendMessage�[0m
�[37m[2023-11-21 07:48:32.262] message.py (27) - [INFO] : [person_12345678]发送消息:gpt 你是谁�[0m
�[37m[2023-11-21 07:48:32.952] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-21 07:48:32.953] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 0.841468 seconds�[0m
�[37m[2023-11-21 07:48:34.052] _client.py (1013) - [INFO] : HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 429 Too Many Requests"�[0m
�[37m[2023-11-21 07:48:34.053] _base_client.py (919) - [INFO] : Retrying request to /chat/completions in 1.920742 seconds�[0m

@a1014068504 a1014068504 added the bug? Bug或Bug修复相关 label Nov 21, 2023
@RockChinQ
Copy link
Owner

RockChinQ commented Nov 22, 2023

OpenAI侧问题,应该是最近太多人用了,然后免费账号会被限速,可以绑个卡试试看

@a1014068504
Copy link
Author

a1014068504 commented Nov 22, 2023 via email

@RockChinQ RockChinQ added the m: Provider OpenAI API 或其他 LLM 模型相关 label Nov 22, 2023
@MadornC
Copy link

MadornC commented Feb 20, 2024

这个确认是OpenAI侧的问题吗?reload后就可以重发请求了

@a1014068504
Copy link
Author

a1014068504 commented Feb 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Bug或Bug修复相关 m: Provider OpenAI API 或其他 LLM 模型相关
Projects
None yet
Development

No branches or pull requests

3 participants