Open yutou925 opened 1 year ago
+1
蹲一波
未知错误,请联系开发者反馈,错误内容: 错误码: -401, 信息: 非法访问
同
https://github.com/SK-415/bilireq/pull/27 更新请求库的UA以后解决了此问题
https://github.com/SK-415/bilireq/pull/27 更新请求库的UA以后解决了此问题
+1,问题解决了!谢谢大佬
https://github.com/SK-415/bilireq/pull/27 更新请求库的UA以后解决了此问题
感谢大佬🙏
https://github.com/SK-415/bilireq/pull/27 更新请求库的UA以后解决了此问题
感谢大佬🙏
是通过在.env.*里面指定HARUKA_BROWSER_UA吗?我指定了HARUKA_BROWSER_UA之后并没有解决
不是的,你去把我的那个bilireq 通过pip覆盖安装就行了
不是的,你去把我的那个bilireq 通过pip覆盖安装就行了
大佬我去那个文件里按你写的改了,还是不行啊……
不是的,你去把我的那个bilireq 通过pip覆盖安装就行了
重新安装了库还是有问题
我晚点看看,可能官方有风控修改
Cheers, YouTiao On 30 Sep 2023 at 11:06 PM +1000, xtl @.***>, wrote:
不是的,你去把我的那个bilireq 通过pip覆盖安装就行了 重新安装了库还是有问题 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
怎么更新啊?
我晚点看看,可能官方有风控修改 Cheers, YouTiao … On 30 Sep 2023 at 11:06 PM +1000, xtl @.>, wrote: > 不是的,你去把我的那个bilireq 通过pip覆盖安装就行了 重新安装了库还是有问题 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> root@8c046a51235b:/haruka_bot# pip install bilireq Requirement already satisfied: bilireq in /usr/local/lib/python3.10/site-packages (0.2.11) Requirement already satisfied: rsa>=4.9 in /usr/local/lib/python3.10/site-packages (from bilireq) (4.9) Requirement already satisfied: protobuf>=4.23.4 in /usr/local/lib/python3.10/site-packages (from bilireq) (4.24.3) Requirement already satisfied: grpcio>=1.56.2 in /usr/local/lib/python3.10/site-packages (from bilireq) (1.59.0) Requirement already satisfied: httpx in /usr/local/lib/python3.10/site-packages (from bilireq) (0.25.0) Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.10/site-packages (from rsa>=4.9->bilireq) (0.5.0) Requirement already satisfied: httpcore<0.19.0,>=0.18.0 in /usr/local/lib/python3.10/site-packages (from httpx->bilireq) (0.18.0) Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from httpx->bilireq) (2023.7.22) Requirement already satisfied: idna in /usr/local/lib/python3.10/site-packages (from httpx->bilireq) (3.4) Requirement already satisfied: sniffio in /usr/local/lib/python3.10/site-packages (from httpx->bilireq) (1.3.0) Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/site-packages (from httpcore<0.19.0,>=0.18.0->httpx->bilireq) (0.14.0) Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.10/site-packages (from httpcore<0.19.0,>=0.18.0->httpx->bilireq) (3.7.1) Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/site-packages (from anyio<5.0,>=3.0->httpcore<0.19.0,>=0.18.0->httpx->bilireq) (1.1.3) 还是有这问题 qqbot-qqbot-1 | [2023-10-02 19:27:43] [INFO]: 收到群 LDZ() 内 () 的消息: [CQ:at,qq=] 关注列表 (-) qqbot-qqbot-1 | 10-02 19:27:43 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message - from 1078206052@[群:] '[at:qq=] 关注列表' qqbot-qqbot-1 | 10-02 19:27:43 [INFO] nonebot | Event will be handled by Matcher(type='message', module=haruka_bot.utils, lineno=316) qqbot-qqbot-1 | [2023-10-02 19:27:44] [INFO]: 发送群 LDZ() 的消息: [{"type": ... (-197762187) qqbot-qqbot-1 | 10-02 19:27:44 [INFO] nonebot | Matcher(type='message', module=haruka_bot.utils, lineno=316) running complete qqbot-qqbot-1 | [2023-10-02 19:27:55] [INFO]: 收到群 LDZ() 内 () 的消息: [CQ:at,qq=] 关注 3494369332038563 (-1796085104) qqbot-qqbot-1 | 10-02 19:27:55 [SUCCESS] nonebot | OneBot V11 2214438158 | [message.group.normal]: Message -1796085104 from @[群:] '[at:qq=2214438158] 关注 3494369332038563' qqbot-qqbot-1 | 10-02 19:27:55 [INFO] nonebot | Event will be handled by Matcher(type='message', module=haruka_bot.utils, lineno=316) qqbot-qqbot-1 | [2023-10-02 19:27:55] [INFO]: 发送群 LDZ(*) 的消息: [{"type": ... (-470361594) qqbot-qqbot-1 | 10-02 19:27:55 [INFO] nonebot | Matcher(type='message', module=haruka_bot.utils, lineno=316) running complete
今天发现又不行了
猜测是获取uid用户信息的时候报错,用grpc协议好像可以绕过这个错误
问题还是存在
运行环境
win11
HarukaBot 版本
v1.6.0post5
go-cqhttp 版本
1.1.0
错误描述
无法使用关注功能
报错日志(如果有)