geefr / beatsaber-linux-goodies

Mod installation scripts and other goodies to support Beat Saber on Linux
BSD 2-Clause "Simplified" License
132 stars 5 forks source link

SSL errors on a fresh install with BeatSaver Downloader #70

Closed yorgje closed 3 years ago

yorgje commented 3 years ago

Repro steps:

  1. Uninstall beat saber (in steam, right click > manage > uninstall, then completely delete ~/.steam/steam/steamapps/common/Beat Saber and ~/.steam/steam/steamapps/compatdata/620980)
  2. Install beat saber through steam
  3. boot up the game once, play a song
  4. Run Beataroni, only installing BeatSaver Downloader (automatically checks BSIPA and other dependencies)
  5. Beataroni reports everything being installed successfully
  6. In game, click "more songs" on the right side, nothing shows up in any search or sort

On a less minimal install, I've also failed to get rankings to load through ScoreSaber, which I imagine has the same root cause. I've also had similar issues with recent versions of QBeat, although I don't have the logs on hand.

I'm running Ubuntu 20.04, Beataroni 6.1, and Beat Saber 1.13.0

When looking in my _latest.log, I noticed a lot of CRITICAL errors as follows:

[CRITICAL @ 22:01:29 | BeatSaver Downloader] Failed to fetch new pages! 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: TrustFailure (One or more errors occurred.) ---> System.AggregateException: One or more errors occurred. ---> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> Mono.Security.Interface.TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Unity.Debug.CheckAndThrow (Mono.Unity.UnityTls+unitytls_errorstate errorState, Mono.Unity.UnityTls+unitytls_x509verify_result verifyResult, System.String context, Mono.Security.Interface.AlertDescription defaultAlert) [0x00036] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Unity.UnityTlsContext.ProcessHandshake () [0x00082] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status) [0x0003e] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus)
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x000ff] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x0008b] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Net.Security.MobileAuthenticatedStream+<ProcessAuthentication>d__47.MoveNext () [0x00254] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Threading.Tasks.Task.Wait () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Net.Http.HttpClientHandler+<SendAsync>d__64.MoveNext () [0x0041d] in <7ebf3529ba0e4558a5fa1bc982aa8605>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Net.Http.HttpClientHandler+<SendAsync>d__64.MoveNext () [0x00478] in <7ebf3529ba0e4558a5fa1bc982aa8605>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Net.Http.HttpClient+<SendAsyncWorker>d__47.MoveNext () [0x000ca] in <7ebf3529ba0e4558a5fa1bc982aa8605>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at ScoreSaberSharp.Http+<GetAsync>d__4.MoveNext () [0x00087] in <66d97551216c4a8a943c3b041b47eb1a>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at ScoreSaberSharp.ScoreSaber+<FetchPaged>d__1.MoveNext () [0x00076] in <66d97551216c4a8a943c3b041b47eb1a>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at ScoreSaberSharp.ScoreSaber+<FetchGetLeaderboards>d__2.MoveNext () [0x000dd] in <66d97551216c4a8a943c3b041b47eb1a>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at ScoreSaberSharp.ScoreSaber+<Trending>d__4.MoveNext () [0x00071] in <66d97551216c4a8a943c3b041b47eb1a>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at BeatSaverDownloader.UI.ViewControllers.MoreSongsListViewController+<GetPagesScoreSaber>d__74.MoveNext () [0x00104] in <953a46f1fec64550915baac4ab65969e>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:29 | BeatSaver Downloader]   at BeatSaverDownloader.UI.ViewControllers.MoreSongsListViewController+<GetNewPage>d__73.MoveNext () [0x0013d] in <953a46f1fec64550915baac4ab65969e>:0 
[INFO @ 22:01:35 | BeatSaver Downloader] Fetching 3 new page(s)
[CRITICAL @ 22:01:35 | BeatSaver Downloader] Failed to fetch new pages! 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: TrustFailure (One or more errors occurred.) ---> System.AggregateException: One or more errors occurred. ---> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> Mono.Security.Interface.TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Unity.Debug.CheckAndThrow (Mono.Unity.UnityTls+unitytls_errorstate errorState, Mono.Unity.UnityTls+unitytls_x509verify_result verifyResult, System.String context, Mono.Security.Interface.AlertDescription defaultAlert) [0x00036] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Unity.UnityTlsContext.ProcessHandshake () [0x00082] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status) [0x0003e] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus)
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x000ff] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x0008b] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Net.Security.MobileAuthenticatedStream+<ProcessAuthentication>d__47.MoveNext () [0x00254] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Threading.Tasks.Task.Wait () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Net.Http.HttpClientHandler+<SendAsync>d__64.MoveNext () [0x0041d] in <7ebf3529ba0e4558a5fa1bc982aa8605>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]    --- End of inner exception stack trace ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Net.Http.HttpClientHandler+<SendAsync>d__64.MoveNext () [0x00478] in <7ebf3529ba0e4558a5fa1bc982aa8605>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Net.Http.HttpClient+<SendAsyncWorker>d__47.MoveNext () [0x000ca] in <7ebf3529ba0e4558a5fa1bc982aa8605>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at BeatSaverSharp.Http+<GetAsync>d__11.MoveNext () [0x0009f] in <11b53f746565450eade6dd47591213e7>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at BeatSaverSharp.BeatSaver+<FetchPaged>d__9.MoveNext () [0x00089] in <11b53f746565450eade6dd47591213e7>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at BeatSaverSharp.BeatSaver+<FetchSearchPage>d__12.MoveNext () [0x000ed] in <11b53f746565450eade6dd47591213e7>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at BeatSaverSharp.BeatSaver+<Search>d__28.MoveNext () [0x00089] in <11b53f746565450eade6dd47591213e7>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at BeatSaverDownloader.UI.ViewControllers.MoreSongsListViewController+<GetPagesSearch>d__76.MoveNext () [0x002ce] in <953a46f1fec64550915baac4ab65969e>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader] --- End of stack trace from previous location where exception was thrown ---
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
[CRITICAL @ 22:01:35 | BeatSaver Downloader]   at BeatSaverDownloader.UI.ViewControllers.MoreSongsListViewController+<GetNewPage>d__73.MoveNext () [0x001a0] in <953a46f1fec64550915baac4ab65969e>:0 
geefr commented 3 years ago

Thanks for the details, I'm inclined to say this is a bug with the mod/game itself rather than the install method.

Basically if the mod files are installed, and the proton prefix has 'winhttp=native,builtin' patched into the registry the installers job is done. At runtime IPA is hooked through winhttp, and then patches the mods into the unity runtime (My simple understanding of it).

Error is 'UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED', so I'd bet it's either a unity bug, something in proton, or something specific to your situation.

Are you able to check if this happens on a windows box on you network? Do you have any funky proxy setup or similar? What version of proton are you running? Any idea if the beatsaver certificate is expired? Have you changed the trusted certificates on your machine? (Usually just install updates and accept the defaults, there were a bunch of updated root certs a while back)

ominitay commented 3 years ago

Those issues aren't anything to do with Beataroni or QBeat. Beat Saber recently updated, and so broke most mods. Try on Beat Saber 1.12.2, and it should work...

yorgje commented 3 years ago

Thanks for the suggestions!

geefr commented 3 years ago

Okay, I'd try switch to Proton 5 (5.03?), whatever the latest is in steam. I think the default is 3. yeah, that version file is probably the version of the proton prefix, when running the first time or with a different version steam should log something about upgrading the proton prefix. Shouldn't need to re-patch after changing proton versions, but a fresh installation is always recommended for debug.

I haven't checked in the last week or so but my testing was on beatsaber 1.13, linux mint 20 (so ubuntu basically). Didn't play for very long but did manage to download songs in game, upvote things, see high scores etc, nothing that would suggest SSL errors.

For certificates I just accept whatever the package manager gives, so you've probably done anything I could suggest and more there 👍

yorgje commented 3 years ago

Nice, switching my proton version seems to have fixed it! (my latest version was 5.13).

Thanks so much for your help, and for all the work you're doing to improve the linux gaming experience

geefr commented 3 years ago

And thanks for the detailed bug report. Might consider putting a proton version selection into beataroni in that case just to be helpful.

Please pass the help along if you can, could always use the help debugging issues/testing/etc.

ominitay commented 3 years ago

Yeah. It would be a good idea to mandate the use of the latest Proton version before reporting an issue.