Closed SakuraAzusa closed 2 years ago
用的是alfalse的限速吗, 那个好久没维护了吧
用的是alfalse的限速吗, 那个好久没维护了吧
是的
试试最新版,看看有没有解决
试试最新版,看看有没有解决
actions版本设置限速无回应,同时/全局响应
也无回应,单独在一个群/响应
可正常使用所有功能,私聊设置会触发青云客,无报错
确定正常 /响应 了吗,最近没有改响应有关代码,应该不会出问题才对。
确认是正常 /响应 了,用的是最新版 #1125,以下是刚刚跑的log
======================[ZeroBot-Plugin]======================
* OneBot + ZeroBot + Golang
* Version 1.5.0-beta5 - 2022-07-22 15:39:17 +0800 CST
* Copyright © 2020 - 2022 FloatTech. All Rights Reserved.
* Project: https://github.com/FloatTech/ZeroBot-Plugin
----------------------[ZeroBot-公告栏]----------------------
由于tx更改登录鉴权, 近期gocqzbp闪退增多,
请及时处理以免对md5服务器产生过量请求, 导致IP被封.
============================================================
INFO[0001] [web] 本机不支持ipv6
INFO[0001] [file]已连接md5验证服务器
INFO[0002] [file]从镜像下载数据40624字节...
INFO[0002] [thesaurus]加载 116 条kimoi
INFO[0005] 开始尝试连接到Websocket服务器: ws://127.0.0.1:6700
INFO[0005] 连接Websocket服务器: ws://127.0.0.1:6700 成功
INFO[0006] [job]本地环回初始化完成
INFO[0009] [file]关闭到md5验证服务器的连接
INFO[0024] 收到群(**)消息 梓 : /全局响应
INFO[0044] 收到群(**)消息 梓 : /响应
INFO[0045] 发送群消息(**): 椛椛将开始在此工作啦~ (id=673575453)
INFO[0074] 收到群(**)消息 梓 : 设置默认限速为每5秒1次触发
INFO[0090] 收到群(**)消息 梓 : 设置默认限速为每1分钟5次触发
INFO[0110] 收到群(**)消息 暗淡の白音 : [CQ:image,file=e08186a29d06498d52669a7fe07565f4.image,subType=0,url=https://gchat.qpic.cn/gchatpic_new/624573922/**-2785950563-E08186A29D06498D52669A7FE07565F4/0?term=2]
INFO[0110] 收到群(**)消息 梓 : 运势
INFO[0111] [file]已连接md5验证服务器
INFO[0111] [file]从镜像下载数据9522字节...
INFO[0112] [file]从镜像下载数据22114252字节...
INFO[0114] [file]关闭到md5验证服务器的连接
INFO[0150] [file]已连接md5验证服务器
INFO[0150] [file]从镜像下载数据28434695字节...
INFO[0153] [file]关闭到md5验证服务器的连接
INFO[0200] 发送群消息(**): [CQ:image,file=https://gchat.qpic.cn/gchatpic_new//0-0-A23B9D5B514FB71CF3388CF24CB9C338/0] (id=-1353033985)
INFO[0227] 收到群(**)消息 梓 : /全局沉默
INFO[0236] 收到群(**)消息 梓 : /沉默
INFO[0237] 发送群消息(**): 椛椛将开始休息啦~ (id=-550460816)
应该是你不是SuperUser导致的
我是超级用户的,V1.5.0-beta5版本使用全局响应是可以正常回复的,刚刚使用sudo启动也是同样结果 log:
root@SakuraAzusa:~/bottest# sudo ./zbp_amd64
======================[ZeroBot-Plugin]======================
* OneBot + ZeroBot + Golang
* Version 1.5.0-beta5 - 2022-07-22 15:39:17 +0800 CST
* Copyright © 2020 - 2022 FloatTech. All Rights Reserved.
* Project: https://github.com/FloatTech/ZeroBot-Plugin
----------------------[ZeroBot-公告栏]----------------------
由于tx更改登录鉴权, 近期gocqzbp闪退增多,
请及时处理以免对md5服务器产生过量请求, 导致IP被封.
============================================================
INFO[0001] [web] 本机不支持ipv6
INFO[0001] [file]已连接md5验证服务器
INFO[0001] [thesaurus]加载 116 条kimoi
INFO[0002] 开始尝试连接到Websocket服务器: ws://127.0.0.1:6700
INFO[0002] 连接Websocket服务器: ws://127.0.0.1:6700 成功
INFO[0004] [job]本地环回初始化完成
INFO[0007] [file]关闭到md5验证服务器的连接
INFO[0015] 收到群(**)消息 『 』梓 : /全局响应
INFO[0030] 收到群(**)消息 『 』梓 : /响应
INFO[0031] 发送群消息(**): 椛椛将开始在此工作啦~ (id=1178203082)
太怪了,我再看看
呃,刚才又看了一眼你的启动命令,我说的su指的是给程序传入的SuperUser。程序本身应该是没问题了。
尝试测试限速功能,限制后使用任意功能发生崩溃,需删除
control
文件夹恢复 log: