xqdoo00o / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.
648 stars 129 forks source link

最新Docker编译版本无法正常使用,无法识别HAR #73

Closed Plus-xu closed 3 weeks ago

Plus-xu commented 1 month ago

操作系统:Debian 5.10.197 x86_64 安装方式:Dockerfile 编译 账号登录方式:Google账号登录ChatGPT, Plus版本 上次可以正常运行的版本:好像是6月1日的版本

  1. Dockerfile中golang版本已无法正常编译,修改为golang:1.22-alpine后可以正常编译
  2. Docker编译的版本无法正常识别HAR(按照以前可以正常使用的方法获取)
chatgpttoapi  | Error: not a HAR file! 
chatgpttoapi  | Updating access token for xxx@gmail.com 
chatgpttoapi  | Success! 
chatgpttoapi  | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

chatgpttoapi | Error getting Arkose token: a valid HAR file which contains gpt-4 arkose is required

xqdoo00o commented 1 month ago

确实新版本要1.22了, 这个har是什么浏览器导出的,能用文本编辑器打开 并找到 fc/gt2/public_key/35536E1E-65B4-4D96-9D97-6ADB7EFF8147字符串吗

Plus-xu commented 1 month ago

确实新版本要1.22了, 这个har是什么浏览器导出的,能用文本编辑器打开 并找到 fc/gt2/public_key/35536E1E-65B4-4D96-9D97-6ADB7EFF8147字符串吗

可以找到6个 image 使用了最新版Chrome 126

xqdoo00o commented 1 month ago

能发一下har文件吗,未复现。

Plus-xu commented 1 month ago

能发一下har文件吗,未复现。

好的,直接发在这里吗?或者发邮件?

xqdoo00o commented 1 month ago

邮件吧

Plus-xu commented 1 month ago

邮件吧

好,你的邮箱是多少?我好像没在个人页面找到

xqdoo00o commented 1 month ago

image 这里json错误

Plus-xu commented 1 month ago

image 这里json错误

我又重新获取了2次HAR,发现每次获取的文件中都存在几处不同位置和类型的格式错误,几个月以前获取的HAR不存在格式问题,看不懂什么情况了... image 这些错误有关系吗?

xqdoo00o commented 1 month ago

如果没手动修改过,那就是chrome的bug,等chrome修复好了