OlivOS-Team / OlivOS

OlivOS / Witness Union,一个强大的跨平台交互栈与机器人框架
https://doc.olivos.wiki
GNU Affero General Public License v3.0
191 stars 26 forks source link

HTTP服务器使用了过时的配置文件,请更新配置文件! #76

Closed Elizaaaaa closed 1 year ago

Elizaaaaa commented 1 year ago

使用QQ - 安卓手机或手表模式登录。登陆成功,加载群信息成功,版本是最新版本,log显示网络诊断未发现问题。 持续出现上传错误:

[2023-03-16 19:17:37] [WARNING]: 上报 Event 数据到 http://127.0.0.1:55001/OlivOSMsgApi/qq/onebot/gocqhttp 失败: Post "http://127.0.0.1:55001/OlivOSMsgApi/qq/onebot/gocqhttp": dial tcp 127.0.0.1:55001: connectex: No connection could be made because the target machine actively refused it. 将进行第 1 次重试 [2023-03-16 19:17:35] [WARNING]: 上报 Event 数据 {"post_type":"meta_event","meta_event_type":"heartbeat","time":1679019442,"self_id":1603367916,"status":{"app_enabled":true,"app_good":true,"app_initialized":true,"good":true,"online":true,"plugins_good":null,"stat":{"packet_received":46,"packet_sent":34,"packet_lost":0,"message_received":2,"message_sent":0,"disconnect_times":0,"lost_times":0,"last_message_time":1679019128}},"interval":5000}

K0O 7E`79QNINU}0BZ O Y4

骰子能捕捉到群消息,但是各种口令都无法使用。

HideUsSaveUs commented 1 year ago

你的Gocq确实连上了QQ但是并未连接到OlivOS,这意味着你有可能对Gocq做了什么改动导致OlivOS并为成功链接OlivOS,请提供更准确的截图,因为你这是Gohttp的截图,而并非OlivOS的截图

lunzhiPenxil commented 1 year ago

这个问题其实不是配置文件过时导致的,这个是因为OlivOS的反向http api监听接口使用flask模块实现,这个模块会在你的计算机全名不为纯英文时报错,你可以尝试将你的计算机全名修改为纯英文

Elizaaaaa commented 1 year ago

感谢回复!问题已解决