Closed QAQQL closed 1 month ago
同,我是手动安装TRSS-Yunzai-Bot和Lagrange.Core。 应该是一样的问题。文字bot能发,但是图片这些发不了。
下面是,Lagrange.Core的显示 好像是说链接太长了
yunzai log:
```
[06:44:32.898][MARK][So numb(1****8)][#喵喵帮助][喵喵:喵喵帮助(help)][完成5.026秒]
[06:44:33.286][ERRO][unhandledRejection] Error
at OneBotv11Adapter.sendApi (file:///root/Yunzai/plugins/adapter/OneBotv11.js:21:19)
at Object.sendApi (file:///root/Yunzai/plugins/adapter/OneBotv11.js:709:41)
at file:///root/Yunzai/plugins/adapter/OneBotv11.js:103:16
at OneBotv11Adapter.sendMsg (file:///root/Yunzai/plugins/adapter/OneBotv11.js:91:22)
at async e.reply (file:///root/Yunzai/lib/plugins/loader.js:480:15)
at async Runtime.render (file:///root/Yunzai/lib/plugins/runtime.js:230:15)
at async cls.render (file:///root/Yunzai/plugins/miao-plugin/apps/help/Help.js:61:12)
at async cls.
]
}, echo: '01J4QG7VZ92HR2VX6YZZ2NCM24', error: { status: 'failed', retcode: 200, data: null, echo: '01J4QG7VZ92HR2VX6YZZ2NCM24', raw: '{"status":"failed","retcode":200,"data":null,"echo":"01J4QG7VZ92HR2VX6YZZ2NCM24"}' } }```
Lagrange.Core log:
``info: Lagrange.OneBot.LagrangeApp[0] Bot Online: 16*********7 info: Lagrange.OneBot.Core.Network.LagrangeWebSvcCollection[1] [LagrangeWebSvcCollection]: Multi Connection has been configured info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 warn: Lagrange.Core.BotContext[0] [2024-08-08 06:43:30] [ServiceContext] [WARNING]: Unsupported SSOFrame Received: ConfigPushSvc.PushReq info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting 7edb4c21-c458-4325-a946-2c4fe36c6b79 at interval of 5000 warn: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1001] [ReverseWSService] Disconnect(7edb4c21-c458-4325-a946-2c4fe36c6b79) System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake. at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected() at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder
1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory
1 payloadBuffer, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox
1.System.Threading.Tasks.Sources.IValueTaskSource
warn: Lagrange.OneBot.Core.Operation.OperationService[0] Unexpected error encountered while handling message. System.UriFormatException: Invalid URI: The Uri string is too long. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions) at System.Uri..ctor(String uriString) at Lagrange.OneBot.Message.Entity.CommonResolver.ResolveStream(String url) at Lagrange.OneBot.Message.Entity.ImageSegment.Build(MessageBuilder builder, SegmentBase segment) at Lagrange.OneBot.Core.Operation.Message.MessageCommon.BuildMessages(MessageBuilder builder, List`1 segments) at Lagrange.OneBot.Core.Operation.Message.MessageCommon.ParseChain(OneBotMessage message) at Lagrange.OneBot.Core.Operation.Message.SendMessageOperation.HandleOperation(BotContext context, JsonNode payload) at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e) Unknown Event0x210 message type: 87: 0a660a4008dbcff099061218755f6f6d5a587a4d77544c2d66554d52754f504f7579764128dbcff099063218755f6f6d5a587a4d77544c2d66554d52754f504f75797641121c089004105718572083f9a036308af2cfb5066083f9a0b680808080021a040a001200
已修复
实测已修复,感谢
问题
#帮助
没有返回,后台log显示如下OneBotv11(QQ) LLOneBot v3.28.0 LLOneBot配置如下
13579为另一款bot,发送图片没有问题
环境
自建docker镜像,编译自项目 TRSS-Yunzai-Bot-Docker
报错代码