lkeme / BiliHelper-personal

哔哩哔哩(Bilibili)助手 - PHP 版(Personal)
MIT License
992 stars 240 forks source link

获取登录信息失败 #216

Closed GOOD-AN closed 1 year ago

GOOD-AN commented 1 year ago

已拉取为最新项目版本,之前使用无问题,今天刚发生此问题

[2023-08-14 10:14:23]  Log.INFO (CheckUpdate) => 程序已是最新版本
[2023-08-14 10:14:23]  Log.INFO (Login) => 启动登录程序
[2023-08-14 10:14:23]  Log.INFO (Login) => 检查登录令牌有效性
[2023-08-14 10:14:23]  Log.DEBUG (Request) => [GET#xxx] https://passport.bilibili.com/x/passport-login/oauth2/info 
[2023-08-14 10:14:23]  Log.DEBUG (Request) => [GET#xxx] {"code":0,"message":"0","ttl":1,"data":{"mid":xxx,"access_token":"xxx","expires_in":xxx,"refresh":false}}
[2023-08-14 10:14:23]  Log.NOTICE (Login) => 令牌有效期: 2024-02-09 17:24:21
[2023-08-14 10:14:23]  Log.DEBUG (Request) => [GET#xxx] https://app.bilibili.com/x/v2/account/myinfo 
[2023-08-14 10:14:24]  Log.DEBUG (Request) => [GET#xxx] {"code":-663,"message":"鉴权失败,请联系账号组","ttl":1}
[2023-08-14 10:14:24]  Log.ERROR (Login) => 获取登录信息失败

[2023-08-14 10:14:27]  Log.INFO (Judge) => 風機委員: 案件xxx的預測投票結果 11()
[2023-08-14 10:14:27]  Log.DEBUG (Request) => [POST#xxx] https://api.bilibili.com/x/credit/v2/jury/vote 
[2023-08-14 10:14:27]  Log.DEBUG (Request) => [POST#xxx] {"code":-111,"message":"csrf 校验失败","ttl":1}
[2023-08-14 10:14:27]  Log.WARNING (Judge) => 風機委員: 案件xxx投票失败 -111 -> csrf 校验失败

软件版本 PHP 8.1.5 (cli)

尝试删除cache_Login.dat.gz后重新登录恢复正常,但这样用的话似乎有些麻烦。