deploy icon indicating copy to clipboard operation
deploy copied to clipboard

【BUG】/api/auth/login 对于某些账号报错 500 Server Error: Internal Server Error

Open QvQQ opened this issue 2 years ago • 0 comments

描述错误 全新账号是指,刚刚注册、没有进行过任何对话的账号。(我只测试了PandoraNext提供的sign up功能所注册的账号)

  1. 当使用全新账号的emailpasswordPOST请求/api/auth/login接口时,返回的HTTP状态码为500
  2. 在服务器端使用docker logs container_name可以发现[GIN] 2024/01/01 - 11:45:14 | 500 | 191.9810µs | x.x.x.x | POST "/proxy_prefix/api/auth/login"
  3. 当使用相同账号在web端(无论是原ChatGPT网页、还是PandoraNext的web页面)至少进行一轮对话后,再次请求该接口,即可正常获取access_tokensession_token。(maybe)
  4. (即使请求出错也扣了额度呜呜呜TvT)
  5. 全新账号似乎是稳定复现的,其他账号(包括已注册使用了几小时)的也有概率出现。

截图 image image

服务器:

  • 操作系统:Ubuntu
  • 版本:18.04.5 LTS
  • 架构:x86_64

QvQQ avatar Jan 01 '24 16:01 QvQQ