Skip to content

Websocket Unobserved exception in Task #284

Description

@MartinVindis

Sometimes the websocket server disconnects (what to me seems randomly). I couldn't figure out why this would happen but here is what I see in the log file.

2026-07-18 19:26:27.063 +02:00 [INF] [TextToTalk] Got model ID 0 for EventNpc "Radovan" (gender read as: Male)
2026-07-18 19:26:42.085 +02:00 [INF] LASTEXCEPTION:eyJXaGVuIjoiMjAyNi0wNy0xOFQxOToyNjo0Mi4wODUxMDE5KzAyOjAwIiwiSW5mbyI6IlN5c3RlbS5BZ2dyZWdhdGVFeGNlcHRpb246IEEgVGFzaydzIGV4Y2VwdGlvbihzKSB3ZXJlIG5vdCBvYnNlcnZlZCBlaXRoZXIgYnkgV2FpdGluZyBvbiB0aGUgVGFzayBvciBhY2Nlc3NpbmcgaXRzIEV4Y2VwdGlvbiBwcm9wZXJ0eS4gQXMgYSByZXN1bHQsIHRoZSB1bm9ic2VydmVkIGV4Y2VwdGlvbiB3YXMgcmV0aHJvd24gYnkgdGhlIGZpbmFsaXplciB0aHJlYWQuIChJL08gb3BlcmF0aW9uIGFib3J0ZWQuKVxyXG4gLS0tPiBTeXN0ZW0uTmV0LlNvY2tldHMuU29ja2V0RXhjZXB0aW9uICg5OTUpOiBJL08gb3BlcmF0aW9uIGFib3J0ZWQuXHJcbiAgIGF0IFN5c3RlbS5UaHJlYWRpbmcuVGFza3MuVmFsdWVUYXNrYDEuVmFsdWVUYXNrU291cmNlQXNUYXNrLjw+Yy48LmNjdG9yPmJfXzRfMChPYmplY3Qgc3RhdGUpXHJcbiAgIC0tLSBFbmQgb2YgaW5uZXIgZXhjZXB0aW9uIHN0YWNrIHRyYWNlIC0tLSIsIkNvbnRleHQiOiJVbm9ic2VydmVkIGV4Y2VwdGlvbiBpbiBUYXNrLiJ9
2026-07-18 19:26:42.085 +02:00 [ERR] Unobserved exception in Task.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (I/O operation aborted.)
 ---> System.Net.Sockets.SocketException (995): I/O operation aborted.
   at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
   --- End of inner exception stack trace ---

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions