wechat-chatgpt 扫码后报API error

gfttwv5a  于 2023-02-16  发布在  其他
关注(0)|答案(9)|浏览(344)

可以正常扫描,但报这个错误,账号我刚申请并验证通过的,申请之后网页版可以登录,并正常聊天。
看起来像chatgpt的 auth API有变化?

Traceback (most recent call last):
  File "/app/src/generate_session.py", line 50, in <module>
    print(login(args.email, args.password))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/generate_session.py", line 19, in login
    chatbot = Chatbot(
              ^^^^^^^^
  File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 62, in __init__
    self.refresh_session()
  File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 296, in refresh_session
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 293, in refresh_session
    self.login(self.config["email"], self.config["password"])
  File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 326, in login
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/revChatGPT/revChatGPT.py", line 319, in login
    auth.begin()
  File "/root/.cache/pypoetry/virtualenvs/chatbot-twitter-9TtSrW0h-py3.11/lib/python3.11/site-packages/OpenAIAuth/OpenAIAuth.py", line 90, in begin
    raise Exception("API error")
Exception: API error

config.yaml信息(隐藏真实密码)

chatGPTAccountPool:
  - email: 331547274@qq.com
    password: xxxxxx
chatPrivateTiggerKeyword: ""
wwwo4jvm

wwwo4jvm1#

看来目前都是这个错误,基本可以判断为ChatGPT服务器那边的问题。

v9tzhpje

v9tzhpje2#

我用账号密码也这样.

wlwcrazw

wlwcrazw3#

ChatGPT 增加了 cloudflare,账号密码的方式不可以用了

ncecgwcz

ncecgwcz4#

ChatGPTtoken的机制好像也变了,切换了浏览器窗口就变

20jt8wwn

20jt8wwn5#

ChatGPTtoken的机制好像也变了,切换了浏览器窗口就变

yes, me too

zyfwsgd6

zyfwsgd66#

现在恢复么?大家 @chldong@evolution-ant@xyzzen@Mebigger

a0zr77ik

a0zr77ik7#

还是有异常,这个现在没有解决方案么?

qc6wkl3g

qc6wkl3g8#

昨天还可以,目前就是这个样子了

mm5n2pyu

mm5n2pyu9#

我也遇到了同样的问题,有解决方法吗?

相关问题