Comments (2)
掉线原因是这个,未知的消息类型,请尽快适配该类消息,非常感谢,辛苦了(Forward事什么消息?)
System.NotImplementedException: 未知的消息类型:Forward at Mirai_CSharp.Utility.JsonConverters.IMessageBaseArrayConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) at System.Text.Json.Serialization.JsonConverter
1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
at System.Text.Json.JsonPropertyInfo1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.Serialization.Converters.ObjectDefaultConverter
1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) at System.Text.Json.Serialization.JsonConverter
1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.JsonConverter1.ReadCoreAsObject(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonConverter jsonConverter, Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) at System.Text.Json.JsonSerializer.ReadCore[TValue](Utf8JsonReader& reader, Type returnType, JsonSerializerOptions options) at System.Text.Json.JsonSerializer.Deserialize(ReadOnlySpan
1 utf8Json, Type returnType, JsonSerializerOptions options)
at Mirai_CSharp.Utility.Utils.Deserialize[T](JsonElement& element, JsonSerializerOptions options)
at Mirai_CSharp.MiraiHttpSession.ReceiveMessageLoop(InternalSessionInfo session, CancellationToken token)`
from mirai-csharp.
可能和#55 是同一个问题
根据你提供的堆栈来看, 由于无法解析转发消息导致连接被断开, 当前版本的Mirai-CSharp
可能无法正确触发ws离线的事件
from mirai-csharp.
Related Issues (20)
- 请教一下关于Linux系统缺库的问题 HOT 2
- 依赖注入无效 HOT 17
- 如何接收并回复群临时消息 HOT 13
- 添加对cq-http的支持 HOT 1
- 在.Net Framework 4.6.1下使用本项目时会引发错误 HOT 7
- 哪个,您好······我想请教 一个问题,关于linux发布的问题 HOT 6
- 不知道是不是有图片属性的原因,有一张图片上传的时候会报错 HOT 4
- 如何让Bot发送一条自定义转发消息? HOT 4
- GetUserProfileAsync失败(已找到解决办法,麻烦作者修复这个问题) HOT 1
- 更新一次README
- 2.1.9计划 HOT 2
- 示例代码 AddParser 报错 HOT 6
- p站图片消息撤回失败 HOT 18
- 发送好友消息中一条消息链里同时存在文字和图片,别人收不到 HOT 4
- 使用MemoryStream构建VoiceMessage手机端接收听不了 HOT 7
- [BUG] OtherClientMessag无法接收 HOT 4
- 关于Bot被禁言事件 HOT 1
- 关于图片上传产生的临时文件 HOT 2
- 部分用户发送ForwardMessage失败 HOT 14
- 请问支持发送amr格式的音频流吗? 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 mirai-csharp.