Closed HorizenX1 closed 2 years ago
这是go-cqhttp的日志
8月 06 19:39:59 VM-8-3-debian systemd[1]: Started go-cqhttp daemon. 8月 06 19:39:59 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:39:59] [INFO]: 当前版本:v1.0.0-rc3 8月 06 19:39:59 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:39:59] [INFO]: 将使用 device.json 内的设备信息运行Bot. 8月 06 19:39:59 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:39:59] [INFO]: Bot将在5秒后登录并开始信息处理, 按 Ctrl+C 取消. 8月 06 19:40:04 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:04] [INFO]: 开始尝试登录并同步消息... 8月 06 19:40:04 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:04] [INFO]: 使用协议: iPad 8月 06 19:40:04 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:04] [INFO]: Protocol -> connect to server: [::ffff:163.177.30.225]:80 8月 06 19:40:04 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:04] [WARNING]: Protocol -> device lock is disable. http api may fail. 8月 06 19:40:06 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:06] [INFO]: 登录成功 欢迎使用: 好耶 8月 06 19:40:06 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:06] [INFO]: 开始加载好友列表... 8月 06 19:40:21 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:21] [INFO]: 共加载 153 个好友. 8月 06 19:40:21 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:21] [INFO]: 开始加载群列表... 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: 共加载 15 个群. 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: 资源初始化完成, 开始处理信息. 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: アトリは、高性能ですから! 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: HTTP POST上报器已启动: http://127.0.0.1:8000 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: 正在检查更新. 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: CQ HTTP 服务器已启动: [::]:5700 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: 检查更新完成. 当前已运行最新版本. 8月 06 19:40:23 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:23] [INFO]: 开始诊断网络情况 8月 06 19:40:25 VM-8-3-debian go-cqhttp[2977]: [2022-08-06 19:40:25] [INFO]: 网络诊断完成. 未发现问题
配置文件如下 milkice.qq:
go-cqhttp:
这是efb的日志
2022-08-06 19:51:53,258 [Level 99]: ehforwarderbot.main (main.init; main.py:129) 正在初始化从端 milkice.qq… Traceback (most recent call last): File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 806, in _coolq_api_wrapper res = await self.coolq_bot.call_action(func_name, kwargs) File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/aiocqhttp/init.py", line 238, in call_action return await self._api.call_action(action=action, params) File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/aiocqhttp/api_impl.py", line 185, in call_action result = await self._http_api.call_action(action, **params) File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/aiocqhttp/api_impl.py", line 71, in call_action raise HttpFailed(resp.status_code) aiocqhttp.exceptions.HttpFailed: <HttpFailed, status_code=502>
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_slave/ClientMgr.py", line 27, in init self.client = cls(name, config, channel) File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 528, in init asyncio.run(self.check_status_periodically(run_once=True)) File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 845, in check_status_periodically flag = await self.check_running_status() File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 822, in check_running_status res = await self._coolq_api_wrapper("get_status") File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 812, in _coolq_api_wrapper ex.status_code, ex.retcode AttributeError: 'HttpFailed' object has no attribute 'retcode'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/xh1045925330/anaconda3/envs/efb/bin/ehforwarderbot", line 8, in
sys.exit(main())
File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/ehforwarderbot/main.py", line 335, in main
init(conf)
File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/ehforwarderbot/main.py", line 135, in init
coordinator.add_channel(cls(instance_id=instance_id))
File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_slave/init.py", line 44, in init
self.init_client_manager()
File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_slave/init.py", line 73, in init_client_manager
self.QQClientMgr = ClientMgr(self.config['Client'], self.config, self)
File "/home/xh1045925330/anaconda3/envs/efb/lib/python3.8/site-packages/efb_qq_slave/ClientMgr.py", line 30, in init
raise Exception("Specified client not found!")
Exception: Specified client not found!