Comments (19)
未能复现成功
from napcatqq.
有发送内容和更多数据吗
from napcatqq.
有发送内容和更多数据吗
发送内容是version,发送登录也是会这样(正常情况下应该返回一个登录链接)
from napcatqq.
napcat是这样设置的,yobot设置是这样:
"host": "0.0.0.0",
"port": 9222,
"access_token": "xxxxx",
"client_salt": "xxxxx",
"public_address": "http://xxx.xxx:9222/",
"public_basepath": "/",
"web_mode_hint": false,
"super-admin": [
xxxxx
],
"black-list": [],
"white_list_mode": false,
"black-list-group": [],
"white-list-group": [],
"allow_bulk_private": false,
"clan_battle_mode": "web",
"notify_groups": [],
"notify_privates": [],
"preffix_on": false,
"preffix_string": "",
"zht_in": false,
"zht_out": false,
"zht_out_style": "s2t",
"show_icp": false,
"icp_info": "",
"gongan_info": "",
"web_gzip": 0,
from napcatqq.
试试 这个版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9124699638
from napcatqq.
注意备份配置文件 这个需要重新配置
from napcatqq.
试试 这个版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9124699638
仍然出现这个问题
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "发送超时".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v18.18.2
另外这个版本似乎webui有问题?在webui点添加按钮没反应,只能直接编辑json文件
from napcatqq.
另外还注意到一个情况就是刚登录成功时会出现下边的报错:
登录成功!
[BuglyManager.cpp][UploadBugly][107]!!!in UploadBugly.
[NativeCrashHandler.cpp][getCrashDetailBeanFromRecord][52]!!!! in NativeCrashHandler getCrashDetailBeanFromRecord, open file error!!!,dumpFilePath:/root/.config/QQ/crash_files/rqd_record.eup.
[NativeCrashHandler.cpp][uploadCrashEvent][331]get null crashDetailBean, return!
不知道跟这个有没有关系。
另外同时开启反向WebSocket监听和HTTP 事件上报后会出现在群里报刀后台会上报2次的问题,但关上反向ws又会导致在web端操作无法回报到群里,不知道有没有什么解决办法
from napcatqq.
这个版本webui变动了东西
from napcatqq.
看一下logs文件夹下的日志文件,里面有详细的发送日志
from napcatqq.
测一下新版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9129426163 应该没有问题了
from napcatqq.
测一下新版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9129426163 应该没有问题了
新版本不崩溃了,但还是会出现
新消息事件HTTP上报返回快速操作失败 {}
的错误信息然后消息发不出去,另外bot在群里的回复也发不出去了,但是从web端操作返回的反向Websocket消息倒是正常,log文件我把无关的消息删掉附上了
2024-05-17_14-25-41.193.log
from napcatqq.
测一下新版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9129426163 应该没有问题了
新版本不崩溃了,但还是会出现 新消息事件HTTP上报返回快速操作失败 {} 的错误信息然后消息发不出去,另外bot在群里的回复也发不出去了,但是从web端操作返回的反向Websocket消息倒是正常,log文件我把无关的消息删掉附上了 2024-05-17_14-25-41.193.log
https://github.com/NapNeko/NapCatQQ/actions/runs/9129426163 这个最新版 给一下日志 这都是2点钟老版本的日志了 现在看到用了不支持的api
from napcatqq.
测一下新版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9129426163 应该没有问题了
新版本不崩溃了,但还是会出现 新消息事件HTTP上报返回快速操作失败 {} 的错误信息然后消息发不出去,另外bot在群里的回复也发不出去了,但是从web端操作返回的反向Websocket消息倒是正常,log文件我把无关的消息删掉附上了 2024-05-17_14-25-41.193.log
https://github.com/NapNeko/NapCatQQ/actions/runs/9129426163 这个最新版 给一下日志 这都是2点钟老版本的日志了 现在看到用了不支持的api
哦不好意思,上次试的时候好像下成旧版本了。新版本测试后发现同时开启http上报和反向ws的话群消息和私聊消息都能正常上报也可以正常返回消息,但是从web端查看时发现上报了2次(群内发一次报刀结果实际报了2刀同样的)但是只返回了一次反向ws消息。(见log1)
log1_2024-05-17_18-47-11.516.log
如果关掉http上报只开反向ws监听的话,从日志来看似乎是成功上报了(web端也有正常的反馈),但是收到的反向ws消息没有成功发送,原因好像是不支持的api(见log2)
log2_2024-05-17_19-03-50.141.log
from napcatqq.
ws那里使用了不受支持的api
from napcatqq.
ws那里使用了不受支持的api
https://github.com/nonebot/aiocqhttp/blob/master/aiocqhttp/api_impl.py
这个bot用的应该是这个aiocqhttp的api,请问有办法兼容吗?
from napcatqq.
可以
from napcatqq.
https://github.com/NapNeko/NapCatQQ/actions/runs/9138016931 你试试这个版本
from napcatqq.
https://github.com/NapNeko/NapCatQQ/actions/runs/9138016931 你试试这个版本
ws消息上报和反向ws消息发送都正常了,感谢
from napcatqq.
Related Issues (20)
- 临时会话,单向好友等报错,无法读取QQ号等信息 HOT 4
- 可以增加ipv6访问支持吗?
- [Refactor] 针对 9.9.15 重构信息获取 HOT 1
- [功能请求] go-cqhttp API - 获取群文件资源链接 HOT 1
- [BUG] HOT 2
- [BUG] MCSManager面板内无法启动 HOT 1
- [BUG] 合并转发消息报错,一段时间后发送成功 HOT 2
- [BUG] 进入 web ui 报错 HOT 5
- [Question] 如何为不同的反向ws服务分别设置不同的token? HOT 1
- [BUG] `message_id`字段与OneBot11标准不符 HOT 4
- [BUG] 合并转发消息报错,一段时间后发送成功 HOT 5
- [BUG] 接收到多层合并消息后,调用`/get_forward_msg`API时报错`Error: 找不到相关的聊天记录Data Not Existed!` HOT 8
- Refactor 26740 重构
- [BUG] 发送语音出现错误 HOT 1
- [BUG] 无法发送图片 HOT 3
- [BUG] 禁言或踢出时报错:成员不存在 HOT 4
- [BUG] time out超时 HOT 4
- [疑问] 群文件API HOT 1
- [BUG] 私聊情况下输入状态会出现pydantic.error_wrappers.ValidationError错误 HOT 1
- [建议]建议对cmd输出美化 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napcatqq.