RockChinQ / revLibs

ChatGPT、Claude QQ 机器人,以插件形式为 QChatGPT 项目接入ChatGPT、Claude、Bard、gpt4free等接口的逆向工程库
209 stars 17 forks source link

Exception: Authentication failed #87

Closed Lingpeixie closed 1 year ago

Lingpeixie commented 1 year ago

似乎是身份验证问题,插件加载成功了,revcfg.py中填的是第一种账密登录模式,cookie是按照流程打开bing.com存的,存之前确认过能打开newbing的对话窗口,用的内陆自己的台式,代理持续挂着

发送聊天消息:你好 返回以下内容

[REV]处理消息时出现错误,请联系管理员 Traceback (most recent call last): File "F:\BOT\bot3\QChatGPT.\plugins\revLibs\main.py", line 101, in normal_message_received reply_message = procmsg.process_message(session_name=kwargs['launchertype']+""+str(kwargs['launcher_id']), File "F:\BOT\bot3\QChatGPT.\plugins\revLibs\pkg\process\procmsg.py", line 32, in process_message session: revss.RevSession = revss.get_session(session_name) File "F:\BOT\bot3\QChatGPT.\plugins\revLibs\pkg\process\revss.py", line 111, in get_session sessions[name] = RevSession(name) File "F:\BOT\bot3\QChatGPT.\plugins\revLibs\pkg\process\revss.py", line 41, in init self.rev_interface_impl,, = rev_interface_impl_class.create_instance() File "F:\BOT\bot3\QChatGPT.\plugins\revLibs\pkg\process\impls\edgegpt.py", line 32, in create_instance return EdgeGPTImpl(cookies_dict, ConversationStyle.creative), True, cookies_dict File "F:\BOT\bot3\QChatGPT.\plugins\revLibs\pkg\process\impls\edgegpt.py", line 36, in init self.chatbot = Chatbot(cookies=cookies) File "F:\BOT\bot3\python\lib\site-packages\EdgeGPT.py", line 308, in init__ self.chat_hub: ChatHub = ChatHub(Conversation(self.cookiePath, self.cookies)) File "F:\BOT\bot3\python\lib\site-packages\EdgeGPT.py", line 220, in init__ raise Exception("Authentication failed") Exception: Authentication failed

RockChinQ commented 1 year ago

请使用issue模板重新创建