Closed baidusima closed 1 year ago
这个是逆向库层面的问题,请前往 https://github.com/KoushikNavuluri/Claude-API 的issues查找解决办法
不止Claude会出错newbing也是[REV]处理消息时出现错误,请联系管理员 Traceback (most recent call last): File "C:\Users\31447\Desktop\新建文件夹 (2)\QChatGPT.\plugins\revLibs\main.py", line 136, in normal_message_received reply_message = procmsg.process_message(session_name=kwargs['launchertype']+""+str(kwargs['launcher_id']), File "C:\Users\31447\Desktop\新建文件夹 (2)\QChatGPT.\plugins\revLibs\pkg\process\procmsg.py", line 32, in process_message session: revss.RevSession = revss.get_session(session_name) File "C:\Users\31447\Desktop\新建文件夹 (2)\QChatGPT.\plugins\revLibs\pkg\process\revss.py", line 149, in get_session sessions[name] = RevSession(name) File "C:\Users\31447\Desktop\新建文件夹 (2)\QChatGPT.\plugins\revLibs\pkg\process\revss.py", line 55, in init self.reset() File "C:\Users\31447\Desktop\新建文件夹 (2)\QChatGPT.\plugins\revLibs\pkg\process\revss.py", line 128, in reset self.rev_interface_impl.reset_chat() File "C:\Users\31447\Desktop\新建文件夹 (2)\QChatGPT.\plugins\revLibs\pkg\process\impls\edgegpt.py", line 105, in reset_chat asyncio.run(self.chatbot.reset()) File "asyncio\runners.py", line 44, in run File "asyncio\base_events.py", line 649, in run_until_complete File "C:\Users\31447\Desktop\新建文件夹 (2)\python\lib\site-packages\EdgeGPT\EdgeGPT.py", line 228, in reset await Conversation.create(self.proxy, cookies=self.chat_hub.cookies), File "C:\Users\31447\Desktop\新建文件夹 (2)\python\lib\site-packages\EdgeGPT\conversation.py", line 112, in create raise Exception("Authentication failed") Exception: Authentication failed
------------------ 原始邮件 ------------------ 发件人: "RockChinQ/revLibs" @.>; 发送时间: 2023年8月23日(星期三) 下午5:46 @.>; @.**@.>; 主题: Re: [RockChinQ/revLibs] ca证书的错误? (Issue #226)
这个是逆向库层面的问题,请前往 https://github.com/KoushikNavuluri/Claude-API 的issues查找解决办法
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
newbing现在已不可用
请您认真填写以下信息。
任务
预期/正在使用的逆向库
我要使用的逆向库是:claude
期望情况
我希望的情况是
实际情况
实际情况是:[REV]处理消息时出现错误,请联系管理员 Traceback (most recent call last): File "C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\curl_cffi\requests\session.py", line 436, in request c.perform() File "C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\curl_cffi\curl.py", line 191, in perform self._check_error(ret, action="perform") File "C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\curl_cffi\curl.py", line 84, in _check_error raise error curl_cffi.curl.CurlError: Failed to perform, ErrCode: 77, Reason: 'error setting certificate verify locations: CAfile: C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\curl_cffi\cacert.pem CApath: none'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\31447\Desktop\新建文件夹\QChatGPT.\plugins\revLibs\main.py", line 136, in normal_message_received reply_message = procmsg.process_message(session_name=kwargs['launchertype']+""+str(kwargs['launcher_id']), File "C:\Users\31447\Desktop\新建文件夹\QChatGPT.\plugins\revLibs\pkg\process\procmsg.py", line 32, in process_message session: revss.RevSession = revss.get_session(session_name) File "C:\Users\31447\Desktop\新建文件夹\QChatGPT.\plugins\revLibs\pkg\process\revss.py", line 149, in get_session sessions[name] = RevSession(name) File "C:\Users\31447\Desktop\新建文件夹\QChatGPT.\plugins\revLibs\pkg\process\revss.py", line 62, in init self.rev_interface_impl,, = rev_interface_impl_class__.create_instance() File "C:\Users\31447\Desktop\新建文件夹\QChatGPT.\plugins\revLibs\pkg\process\impls\claude.py", line 36, in create_instance return ClaudeImpl(cookies), True, cookies_list File "C:\Users\31447\Desktop\新建文件夹\QChatGPT.\plugins\revLibs\pkg\process\impls\claude.py", line 39, in init self.chatbot = Client(cookies) File "C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\claude_api.py", line 13, in init self.organization_id = self.get_organization_id() File "C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\claude_api.py", line 31, in get_organization_id response = requests.get(url, headers=headers,impersonate="chrome110") File "C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\curl_cffi\requests\init__.py", line 46, in request return s.request( File "C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\curl_cffi\requests\session.py", line 438, in request raise RequestsError(e) curl_cffi.requests.errors.RequestsError: Failed to perform, ErrCode: 77, Reason: 'error setting certificate verify locations: CAfile: C:\Users\31447\Desktop\新建文件夹\python\lib\site-packages\curl_cffi\cacert.pem CApath: none'