Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal: Cannot access a disposed object. Object name: 'SslStream'. #722

Open
goorkamateusz opened this issue Feb 27, 2023 · 1 comment
Open

Comments

@goorkamateusz
Copy link

Fatal error on server:

|Fatal|<>c__DisplayClass174_0.<startReceiving>b__2:0|System.ObjectDisposedException: Cannot access a disposed object.
                           Object name: 'SslStream'.
                              at System.Net.Security.SslStream.<ThrowIfExceptional>g__ThrowExceptional|138_0(ExceptionDispatchInfo e)
                              at System.Net.Security.SslStream.EndRead(IAsyncResult asyncResult)
                              at WebSocketSharp.NetCore.Ext.<>c__DisplayClass59_0.<ReadBytesAsync>b__0(IAsyncResult ar)

Server: .NET 6,
Client: Unity 2021

I've not observed special circumstances to this crash. After this message sockets are closed.
It happens many times.

@goorkamateusz
Copy link
Author

I forgot that this project does not support .NET 6. I moved Issue to: solana-fm#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant