请确保您已阅读以上注意事项,并勾选下方的确认框。
Lagrange项目
Core
所使用/依赖的Lagrange项目对应的commit
Aug 2
运行环境
Linux
运行架构
x64
连接方式
None
重现步骤
期望的结果是什么?
正常连接
实际的结果是什么?
报错
简单的复现代码/链接(可选)
Trace 级别日志记录(可选)
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [WtExchangeLogic] [INFORMATION]: Session has not expired, using session to login and register status
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [WtExchangeLogic] [INFORMATION]: Register Status: register success
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [WtExchangeLogic] [INFORMATION]: AutoReLogin Enabled, session would be refreshed in 15 days period
info: Lagrange.OneBot.Core.Login.LoginService[0]
Bot Uin: 264353165
info: Lagrange.OneBot.Core.Network.LagrangeWebSvcCollection[1]
[LagrangeWebSvcCollection]: Multi Connection has been configured
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /Lagrange.OneBot/bin/Release/net9.0/linux-x64/publish
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.PushParams
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush
info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002]
[ReverseWSService] Reconnecting cfa7e187-e793-447f-a4a6-78887b97ed98 at interval of 5000
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush
info: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:49] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: ConfigPushSvc.PushReq
warn: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:53] [BusinessContext] [WARNING]: Error when processing the event: Lagrange.Core.Internal.Event.System.FetchCookieEvent
warn: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:53] [BusinessContext] [WARNING]: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
at Lagrange.Core.Internal.Service.System.FetchCookieService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, FetchCookieEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Service.BaseService`1.Lagrange.Core.Internal.Service.IService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, ProtocolEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Context.ServiceContext.ResolveEventByPacket(SsoPacket packet)
at Lagrange.Core.Internal.Context.BusinessContext.SendEvent(ProtocolEvent event)
warn: Lagrange.OneBot.Core.Operation.OperationService[0]
Unexpected error encountered while handling message.
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Lagrange.OneBot.Core.Notify.TicketService.GetCookies(String domain)
at Lagrange.OneBot.Core.Operation.Generic.GetCookiesOperation.HandleOperation(BotContext context, JsonNode payload)
at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e)
warn: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:53] [BusinessContext] [WARNING]: Error when processing the event: Lagrange.Core.Internal.Event.System.FetchCookieEvent
warn: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:53] [BusinessContext] [WARNING]: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
at Lagrange.Core.Internal.Service.System.FetchCookieService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, FetchCookieEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Service.BaseService`1.Lagrange.Core.Internal.Service.IService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, ProtocolEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Context.ServiceContext.ResolveEventByPacket(SsoPacket packet)
at Lagrange.Core.Internal.Context.BusinessContext.SendEvent(ProtocolEvent event)
warn: Lagrange.OneBot.Core.Operation.OperationService[0]
Unexpected error encountered while handling message.
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Lagrange.OneBot.Core.Notify.TicketService.GetCookies(String domain)
at Lagrange.OneBot.Core.Operation.Generic.GetCookiesOperation.HandleOperation(BotContext context, JsonNode payload)
at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e)
warn: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:53] [BusinessContext] [WARNING]: Error when processing the event: Lagrange.Core.Internal.Event.System.FetchCookieEvent
warn: Lagrange.Core.BotContext[0]
[2025-09-08 09:59:53] [BusinessContext] [WARNING]: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
at Lagrange.Core.Internal.Service.System.FetchCookieService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, FetchCookieEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Service.BaseService`1.Lagrange.Core.Internal.Service.IService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, ProtocolEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Context.ServiceContext.ResolveEventByPacket(SsoPacket packet)
at Lagrange.Core.Internal.Context.BusinessContext.SendEvent(ProtocolEvent event)
warn: Lagrange.OneBot.Core.Operation.OperationService[0]
Unexpected error encountered while handling message.
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Lagrange.OneBot.Core.Notify.TicketService.GetCookies(String domain)
at Lagrange.OneBot.Core.Operation.Generic.GetCookiesOperation.HandleOperation(BotContext context, JsonNode payload)
at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e)
补充说明(可选)
No response
请确保您已阅读以上注意事项,并勾选下方的确认框。
Lagrange项目
Core
所使用/依赖的Lagrange项目对应的commit
Aug 2
运行环境
Linux
运行架构
x64
连接方式
None
重现步骤
期望的结果是什么?
正常连接
实际的结果是什么?
报错
简单的复现代码/链接(可选)
Trace 级别日志记录(可选)
info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [WtExchangeLogic] [INFORMATION]: Session has not expired, using session to login and register status info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [WtExchangeLogic] [INFORMATION]: Register Status: register success info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [WtExchangeLogic] [INFORMATION]: AutoReLogin Enabled, session would be refreshed in 15 days period info: Lagrange.OneBot.Core.Login.LoginService[0] Bot Uin: 264353165 info: Lagrange.OneBot.Core.Network.LagrangeWebSvcCollection[1] [LagrangeWebSvcCollection]: Multi Connection has been configured info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: /Lagrange.OneBot/bin/Release/net9.0/linux-x64/publish info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.PushParams info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush info: Lagrange.OneBot.Core.Network.Service.ReverseWSService[1002] [ReverseWSService] Reconnecting cfa7e187-e793-447f-a4a6-78887b97ed98 at interval of 5000 info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:46] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: trpc.msg.register_proxy.RegisterProxy.InfoSyncPush info: Lagrange.Core.BotContext[0] [2025-09-08 09:59:49] [ServiceContext] [INFORMATION]: Unsupported SSOFrame Received: ConfigPushSvc.PushReq warn: Lagrange.Core.BotContext[0] [2025-09-08 09:59:53] [BusinessContext] [WARNING]: Error when processing the event: Lagrange.Core.Internal.Event.System.FetchCookieEvent warn: Lagrange.Core.BotContext[0] [2025-09-08 09:59:53] [BusinessContext] [WARNING]: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) at Lagrange.Core.Internal.Service.System.FetchCookieService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, FetchCookieEvent& output, List`1& extraEvents) at Lagrange.Core.Internal.Service.BaseService`1.Lagrange.Core.Internal.Service.IService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, ProtocolEvent& output, List`1& extraEvents) at Lagrange.Core.Internal.Context.ServiceContext.ResolveEventByPacket(SsoPacket packet) at Lagrange.Core.Internal.Context.BusinessContext.SendEvent(ProtocolEvent event) warn: Lagrange.OneBot.Core.Operation.OperationService[0] Unexpected error encountered while handling message. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at Lagrange.OneBot.Core.Notify.TicketService.GetCookies(String domain) at Lagrange.OneBot.Core.Operation.Generic.GetCookiesOperation.HandleOperation(BotContext context, JsonNode payload) at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e) warn: Lagrange.Core.BotContext[0] [2025-09-08 09:59:53] [BusinessContext] [WARNING]: Error when processing the event: Lagrange.Core.Internal.Event.System.FetchCookieEvent warn: Lagrange.Core.BotContext[0] [2025-09-08 09:59:53] [BusinessContext] [WARNING]: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) at Lagrange.Core.Internal.Service.System.FetchCookieService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, FetchCookieEvent& output, List`1& extraEvents) at Lagrange.Core.Internal.Service.BaseService`1.Lagrange.Core.Internal.Service.IService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, ProtocolEvent& output, List`1& extraEvents) at Lagrange.Core.Internal.Context.ServiceContext.ResolveEventByPacket(SsoPacket packet) at Lagrange.Core.Internal.Context.BusinessContext.SendEvent(ProtocolEvent event) warn: Lagrange.OneBot.Core.Operation.OperationService[0] Unexpected error encountered while handling message. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at Lagrange.OneBot.Core.Notify.TicketService.GetCookies(String domain) at Lagrange.OneBot.Core.Operation.Generic.GetCookiesOperation.HandleOperation(BotContext context, JsonNode payload) at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e) warn: Lagrange.Core.BotContext[0] [2025-09-08 09:59:53] [BusinessContext] [WARNING]: Error when processing the event: Lagrange.Core.Internal.Event.System.FetchCookieEvent warn: Lagrange.Core.BotContext[0] [2025-09-08 09:59:53] [BusinessContext] [WARNING]: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) at Lagrange.Core.Internal.Service.System.FetchCookieService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, FetchCookieEvent& output, List`1& extraEvents) at Lagrange.Core.Internal.Service.BaseService`1.Lagrange.Core.Internal.Service.IService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, ProtocolEvent& output, List`1& extraEvents) at Lagrange.Core.Internal.Context.ServiceContext.ResolveEventByPacket(SsoPacket packet) at Lagrange.Core.Internal.Context.BusinessContext.SendEvent(ProtocolEvent event) warn: Lagrange.OneBot.Core.Operation.OperationService[0] Unexpected error encountered while handling message. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at Lagrange.OneBot.Core.Notify.TicketService.GetCookies(String domain) at Lagrange.OneBot.Core.Operation.Generic.GetCookiesOperation.HandleOperation(BotContext context, JsonNode payload) at Lagrange.OneBot.Core.Operation.OperationService.HandleOperation(MsgRecvEventArgs e)补充说明(可选)
No response