brian91292 / EnhancedStreamChat

A rich text chat integration mod with full unicode, emote, and emoji support!
GNU Lesser General Public License v3.0
27 stars 24 forks source link

TLSException #54

Closed Hazard-The-AD closed 4 years ago

Hazard-The-AD commented 4 years ago
[CRITICAL @ 01:31:26 | UnityEngine] TlsException: Failed to read data to TLS context - error code: UNITYTLS_INTERNAL_ERROR
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Unity.Debug.CheckAndThrow (Mono.Unity.UnityTls+unitytls_errorstate errorState, System.String context, Mono.Security.Interface.AlertDescription defaultAlert) (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Unity.UnityTlsContext.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Net.Security.MobileAuthenticatedStream.ProcessRead (Mono.Net.Security.BufferOffsetSize userBuffer) (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessRead(Mono.Net.Security.BufferOffsetSize)
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Net.Security.AsyncReadRequest.Run (Mono.Net.Security.AsyncOperationStatus status) (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] Rethrow as AuthenticationException: A call to SSPI failed, see inner exception.
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Net.Security.MobileAuthenticatedStream+<StartOperation>d__58.MoveNext () (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Threading.Tasks.TaskToApm.End[TResult] (System.IAsyncResult asyncResult) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] Mono.Net.Security.MobileAuthenticatedStream.EndRead (System.IAsyncResult asyncResult) (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Net.WebConnection.EndRead (System.Net.HttpWebRequest request, System.IAsyncResult result) (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Net.WebConnectionStream.EndRead (System.IAsyncResult r) (at <0d3e94ab2a1c4d2a8582ccee7031f5c6>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.IO.Stream+<>c.<BeginEndReadAsync>b__43_1 (System.IO.Stream stream, System.IAsyncResult asyncResult) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] SongRequestManager.WebClient+<SendAsync>d__6.MoveNext () (at <5b1d4fb8eb2b47a8b9c5ce7eb014506c>:0)
[CRITICAL @ 01:31:26 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] SongRequestManager.WebClient+<DownloadSong>d__5.MoveNext () (at <5b1d4fb8eb2b47a8b9c5ce7eb014506c>:0)
[CRITICAL @ 01:31:26 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] SongRequestManager.RequestBot+<ProcessSongRequest>d__209.MoveNext () (at <5b1d4fb8eb2b47a8b9c5ce7eb014506c>:0)
[CRITICAL @ 01:31:26 | UnityEngine] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0)
[CRITICAL @ 01:31:26 | UnityEngine] UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <4b072c28d0804e3e8741f43de2d5aec4>:0)
[CRITICAL @ 01:31:26 | UnityEngine] UnityEngine.UnitySynchronizationContext:ExecuteTasks()
Hazard-The-AD commented 4 years ago

I wasn't sure how to make an issue so I ended up making a pull request/ I have been speaking with angturil and it seems to be a bigger issue than originally thought.

brian91292 commented 4 years ago

First of all, this is more likely a problem in StreamCore; specifically a bug in websocketsharp.

Second, I'm not supporting this mod anymore as I don't have time.