You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-03-01 11:15:27,765 [.NET ThreadPool Worker] ERROR SuperSocketService - Session[02e35048-d60a-49e7-8aa9-7b19e44669ad]: session exception.
SuperSocket.PackageHandlingException1[SuperSocket.WebSocket.WebSocketPackage]: Session 02e35048-d60a-49e7-8aa9-7b19e44669ad got an error when handle a package. ---> System.InvalidOperationException: Writing is not allowed after writer was completed. at System.IO.Pipelines.ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed() at System.IO.Pipelines.Pipe.DefaultPipeWriter.GetSpan(Int32 sizeHint) at SuperSocket.ProtoBase.Extensions.Write(IBufferWriter1 writer, ReadOnlySpan1 text, Encoding encoding) at SuperSocket.WebSocket.Server.WebSocketPackageHandler.<>c__DisplayClass17_0.<HandleHandshake>b__0(PipeWriter writer) at SuperSocket.Channel.PipeChannel1.SendAsync(Action1 write) at SuperSocket.WebSocket.Server.WebSocketPackageHandler.HandleHandshake(IAppSession session, WebSocketPackage p) at SuperSocket.WebSocket.Server.WebSocketPackageHandler.Handle(IAppSession session, WebSocketPackage package) at SuperSocket.Server.PackageHandlingSchedulerBase1.HandlePackageInternal(IAppSession session, TPackageInfo package)
--- End of inner exception stack trace ---
The text was updated successfully, but these errors were encountered:
****************************异常文本**************************** 【出现时间】:2024/7/15 14:09:43 【异常类型】:InvalidOperationException 【异常信息】:Writing is not allowed after writer was completed. 【堆栈调用】: at System.IO.Pipelines.ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed() at System.IO.Pipelines.Pipe.DefaultPipeWriter.GetSpan(Int32 sizeHint) at SuperSocket.Channel.PipeChannel1.WriteBuffer(PipeWriter writer, ReadOnlyMemory1 buffer) in D:\coding\夏工\code\SuperSocket-master\src\SuperSocket.Channel\PipeChannel.cs:line 335 at SuperSocket.Channel.PipeChannel1.SendAsync(ReadOnlyMemory1 buffer) in D:\coding\夏工\code\SuperSocket-master\src\SuperSocket.Channel\PipeChannel.cs:line 323 at AcquisitionPlatform.Command_Heart.Execute(MyAppSession session, StringPackageInfo package) in D:\coding\夏工\code\SuperSocket-master\AcquisitionPlatform\Command\Command_Heart.cs:line 47 ***************************************************************
外网大量用户连接,每天大概触发2-3次,找不到规律
内网大量连接发送测试没重现
看错误是websocket连接过程中握手发送消息错误
版本2.0 beta18
2024-03-01 11:15:27,765 [.NET ThreadPool Worker] ERROR SuperSocketService - Session[02e35048-d60a-49e7-8aa9-7b19e44669ad]: session exception.
SuperSocket.PackageHandlingException
1[SuperSocket.WebSocket.WebSocketPackage]: Session 02e35048-d60a-49e7-8aa9-7b19e44669ad got an error when handle a package. ---> System.InvalidOperationException: Writing is not allowed after writer was completed. at System.IO.Pipelines.ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed() at System.IO.Pipelines.Pipe.DefaultPipeWriter.GetSpan(Int32 sizeHint) at SuperSocket.ProtoBase.Extensions.Write(IBufferWriter
1 writer, ReadOnlySpan1 text, Encoding encoding) at SuperSocket.WebSocket.Server.WebSocketPackageHandler.<>c__DisplayClass17_0.<HandleHandshake>b__0(PipeWriter writer) at SuperSocket.Channel.PipeChannel
1.SendAsync(Action1 write) at SuperSocket.WebSocket.Server.WebSocketPackageHandler.HandleHandshake(IAppSession session, WebSocketPackage p) at SuperSocket.WebSocket.Server.WebSocketPackageHandler.Handle(IAppSession session, WebSocketPackage package) at SuperSocket.Server.PackageHandlingSchedulerBase
1.HandlePackageInternal(IAppSession session, TPackageInfo package)--- End of inner exception stack trace ---
The text was updated successfully, but these errors were encountered: