-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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] Exception: 用户访问被限制 #676
Labels
bug
Something isn't working
Comments
大概率被封号了 |
但官网还能正常使用
|
已修复。 |
the problem still exist yet |
it still happens from yesterday |
Closed
修复在哪里了 还是没办法使用也更新了最新版 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
提交 issue 前,请先确认:
我已看过 FAQ,此问题不在列表中
我已看过其他 issue,他们不能解决我的问题
我认为这不是 Mirai 或者 OpenAI 的 BUG
表现
使用文心一言时返回 Exception: 用户访问被限制
运行环境:
复现步骤
使用文心一言时返回 Exception: 用户访问被限制
root@iZ0jl6ghcrq4nalxyy1npmZ:~# screen -S robo
└ <_UnixSelectorEventLoop running=True closed=False debug=False>
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
self._run_once()
│ └ <function BaseEventLoop._run_once at 0x7f3eb4046de0>
└ <_UnixSelectorEventLoop running=True closed=False debug=False>
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
handle._run()
│ └ <function Handle._run at 0x7f3eb458bc40>
└ <Handle <TaskStepMethWrapper object at 0x7f3eaf145660>()>
File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
│ │ │ │ │ └ <member '_args' of 'Handle' objects>
│ │ │ │ └ <Handle <TaskStepMethWrapper object at 0x7f3eaf145660>()>
│ │ │ └ <member '_callback' of 'Handle' objects>
│ │ └ <Handle <TaskStepMethWrapper object at 0x7f3eaf145660>()>
│ └ <member '_context' of 'Handle' objects>
└ <Handle <TaskStepMethWrapper object at 0x7f3eaf145660>()>
File "/app/utils/retry.py", line 21, in wrapper
async for result in func(*args, **kwargs):
│ │ └ {'prompt': '你好', 'chain': MessageChain([Plain(text='你好')]), 'name': '123'}
│ └ (<conversation.ConversationContext object at 0x7f3eaf0a4490>,)
└ <function ConversationContext.ask at 0x7f3eb0f0f240>
File "/app/conversation.py", line 173, in ask
async for item in self.adapter.ask(prompt):
│ │ │ └ '你好'
│ │ └ <function YiyanAdapter.ask at 0x7f3eb1dba980>
│ └ <adapter.baidu.yiyan.YiyanAdapter object at 0x7f3eb1152910>
└ <conversation.ConversationContext object at 0x7f3eaf0a4490>
File "/app/adapter/baidu/yiyan.py", line 106, in ask
self.__check_response(req.json())
│ │ └ <function Response.json at 0x7f3eb2a300e0>
│ └ <Response [200 OK]>
└ <adapter.baidu.yiyan.YiyanAdapter object at 0x7f3eb1152910>
File "/app/adapter/baidu/yiyan.py", line 162, in __check_response
raise Exception(resp['msg'])
└ {'code': 40005, 'msg': '用户访问被限制', 'data': None, 'logId': '118000001028738511'}
Exception: 用户访问被限制
The text was updated successfully, but these errors were encountered: