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

Attempt to log in after exit to home causes GUI to crash #84

Open
0pcom opened this issue Jun 8, 2024 · 0 comments
Open

Attempt to log in after exit to home causes GUI to crash #84

0pcom opened this issue Jun 8, 2024 · 0 comments

Comments

@0pcom
Copy link

0pcom commented Jun 8, 2024

Also lock wallet does nothing

This video shows an attempt to exit and then re-enter or log back in to the same wallet

discreet-gui-2-2024-06-09_09.13.00.mp4

After selecting the wallet, it can't get to the login screen / password prompt

Not shown in the video is the actual crash. After 100 seconds, the gui crashes with the following logging:

gui crashed when daemon didn't respond after 100 seconds. linux x86_64. compiled master branch of all wallet repos from source 2-3 days ago.

Unhandled exception. System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
 ---> System.TimeoutException: The operation was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
 ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
 ---> System.Net.Sockets.SocketException (125): Operation canceled
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Services.Daemon.RPCServer.Request(DaemonRequest req) in /home/user/.cache/yay/discreet/src/discreet-gui/Discreet-GUI/Services/Daemon/RPCServer.cs:line 27
   at Services.Daemon.Wallet.DaemonWalletService.GetWallet(String label) in /home/user/.cache/yay/discreet/src/discreet-gui/Discreet-GUI/Services/Daemon/Wallet/DaemonWalletService.cs:line 89
   at Discreet_GUI.Views.Layouts.Account.AccountLeftNavigationLayoutViewModel.LoadWalletData() in /home/user/.cache/yay/discreet/src/discreet-gui/Discreet-GUI/Discreet-GUI/Views/Layouts/Account/AccountLeftNavigationLayoutViewModel.cs:line 107
   at Discreet_GUI.Views.Layouts.Account.AccountLeftNavigationLayoutViewModel.<>c__DisplayClass40_0.<<-ctor>b__0>d.MoveNext() in /home/user/.cache/yay/discreet/src/discreet-gui/Discreet-GUI/Discreet-GUI/Views/Layouts/Account/AccountLeftNavigationLayoutViewModel.cs:line 81
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 37
   at Avalonia.X11.X11PlatformThreading.CheckSignaled() in /_/src/Avalonia.X11/X11PlatformThreading.cs:line 164
   at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken) in /_/src/Avalonia.X11/X11PlatformThreading.cs:line 244
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 65
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
   at Discreet_GUI.Program.Main(String[] args) in /home/user/.cache/yay/discreet/src/discreet-gui/Discreet-GUI/Discreet-GUI/Program.cs:line 21
Aborted (core dumped)

I am almost certain that this is related to #83

@0pcom 0pcom changed the title Unhandled exception. System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing Attempt to log in after exit to home causes GUI to crash Jun 9, 2024
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