WalletWasabi
WalletWasabi copied to clipboard
crash at startup: connection reset by peer
General Description
I got this crash after dotnet run
How To Reproduce?
haven't been able to repro yet feel free to close the issue
Operating System
deb12
Logs
2024-01-31 08:55:10.622 [6] INFO Global.DisposeAsync (486) TorStatusChecker is stopped.
2024-01-31 08:55:10.623 [6] WARNING Global.DisposeAsync (535) System.Net.Sockets.SocketException (104): Connection reset by peer
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ConnectAsync(Socket socket)
at System.Net.Sockets.Socket.ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken)
at System.Net.Sockets.TcpClient.ConnectAsync(IPEndPoint remoteEP, CancellationToken cancellationToken)
at WalletWasabi.Tor.TcpClientConnector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/TcpClientConnector.cs:line 28
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.TcpClientConnector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at WalletWasabi.Tor.Socks5.TcpClientSocks5Connector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TcpClientSocks5Connector.cs:line 20
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.Socks5.TcpClientSocks5Connector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at WalletWasabi.Tor.Socks5.TorTcpConnectionFactory.IsTorRunningAsync(CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TorTcpConnectionFactory.cs:line 111
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.Socks5.TorTcpConnectionFactory.IsTorRunningAsync(CancellationToken cancellationToken)
at WalletWasabi.Tor.TorProcessManager.RestartingLoopAsync(CancellationToken globalCancellationToken) in WalletWasabi/Tor/TorProcessManager.cs:line 122
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.TorProcessManager.RestartingLoopAsync(CancellationToken globalCancellationToken)
at WalletWasabi.Tor.TorProcessManager.StartAsync(Int32 attempts, CancellationToken cancellationToken) in WalletWasabi/Tor/TorProcessManager.cs:line 73
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.TorProcessManager.StartAsync(Int32 attempts, CancellationToken cancellationToken)
at WalletWasabi.Daemon.Global.StartTorProcessManagerAsync(CancellationToken cancellationToken) in WalletWasabi.Daemon/Global.cs:line 291
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Daemon.Global.StartTorProcessManagerAsync(CancellationToken cancellationToken)
at WalletWasabi.Daemon.Global.InitializeNoWalletAsync(TerminateService terminateService, CancellationToken cancellationToken) in WalletWasabi.Daemon/Global.cs:line 199
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Daemon.Global.InitializeNoWalletAsync(TerminateService terminateService, CancellationToken cancellationToken)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_1.<<RunAsGuiAsync>b__6>d.MoveNext() in WalletWasabi.Fluent.Desktop/Program.cs:line 174
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_1.<RunAsGuiAsync>b__6()
at WalletWasabi.Fluent.App.<OnFrameworkInitializationCompleted>b__6_1() in WalletWasabi.Fluent/App.axaml.cs:line 67
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.App.<OnFrameworkInitializationCompleted>b__6_1()
at System.Reactive.Concurrency.Scheduler.Invoke(Action action)
at System.Reactive.Concurrency.Scheduler.<>c.<Schedule>b__74_0(IScheduler _, Action a)
at Avalonia.ReactiveUI.AvaloniaScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)
at System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func`3 action)
at System.Reactive.Concurrency.Scheduler.Schedule(IScheduler scheduler, Action action)
at WalletWasabi.Fluent.App.OnFrameworkInitializationCompleted() in WalletWasabi.Fluent/App.axaml.cs:line 64
at Avalonia.AppBuilder.SetupUnsafe()
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_0.<RunAsGuiAsync>b__0() in WalletWasabi.Fluent.Desktop/Program.cs:line 190
at WalletWasabi.Daemon.WasabiApplication.RunAsync(Func`1 afterStarting) in WalletWasabi.Daemon/WasabiAppBuilder.cs:line 78
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Daemon.WasabiApplication.RunAsync(Func`1 afterStarting)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.RunAsGuiAsync(WasabiApplication app) in WalletWasabi.Fluent.Desktop/Program.cs:line 147
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.RunAsGuiAsync(WasabiApplication app)
at WalletWasabi.Fluent.Desktop.Program.Main(String[] args) in WalletWasabi.Fluent.Desktop/Program.cs:line 63
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.Desktop.Program.Main(String[] args)
at WalletWasabi.Fluent.Desktop.Program.<Main>(String[] args)
--- End of stack trace from previous location ---
at System.Net.Sockets.TcpClient.CompleteConnectAsync(ValueTask task)
at WalletWasabi.Tor.TcpClientConnector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/TcpClientConnector.cs:line 28
at WalletWasabi.Tor.Socks5.TcpClientSocks5Connector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TcpClientSocks5Connector.cs:line 20
at WalletWasabi.Tor.Socks5.TorTcpConnectionFactory.IsTorRunningAsync(CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TorTcpConnectionFactory.cs:line 111
at WalletWasabi.Tor.TorProcessManager.RestartingLoopAsync(CancellationToken globalCancellationToken) in WalletWasabi/Tor/TorProcessManager.cs:line 122
at WalletWasabi.Daemon.Global.DisposeAsync() in WalletWasabi.Daemon/Global.cs:line 492
2024-01-31 08:55:10.623 [1] INFO TerminateService.Terminate (172) Wasabi stopped gracefully (da2a11aa-ed40-4758-921c-77e5f8ef1e5d).
2024-01-31 08:55:10.634 [1] INFO WasabiAppBuilder.BeforeStopping (105) Wasabi GUI stopped gracefully (da2a11aa-ed40-4758-921c-77e5f8ef1e5d).
2024-01-31 08:55:10.653 [1] CRITICAL Program.Main (75) System.Net.Sockets.SocketException (104): Connection reset by peer
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ConnectAsync(Socket socket)
at System.Net.Sockets.Socket.ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken)
at System.Net.Sockets.TcpClient.ConnectAsync(IPEndPoint remoteEP, CancellationToken cancellationToken)
at WalletWasabi.Tor.TcpClientConnector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/TcpClientConnector.cs:line 28
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.TcpClientConnector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at WalletWasabi.Tor.Socks5.TcpClientSocks5Connector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TcpClientSocks5Connector.cs:line 20
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.Socks5.TcpClientSocks5Connector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at WalletWasabi.Tor.Socks5.TorTcpConnectionFactory.IsTorRunningAsync(CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TorTcpConnectionFactory.cs:line 111
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.Socks5.TorTcpConnectionFactory.IsTorRunningAsync(CancellationToken cancellationToken)
at WalletWasabi.Tor.TorProcessManager.RestartingLoopAsync(CancellationToken globalCancellationToken) in WalletWasabi/Tor/TorProcessManager.cs:line 122
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.TorProcessManager.RestartingLoopAsync(CancellationToken globalCancellationToken)
at WalletWasabi.Tor.TorProcessManager.StartAsync(Int32 attempts, CancellationToken cancellationToken) in WalletWasabi/Tor/TorProcessManager.cs:line 73
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Tor.TorProcessManager.StartAsync(Int32 attempts, CancellationToken cancellationToken)
at WalletWasabi.Daemon.Global.StartTorProcessManagerAsync(CancellationToken cancellationToken) in WalletWasabi.Daemon/Global.cs:line 291
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Daemon.Global.StartTorProcessManagerAsync(CancellationToken cancellationToken)
at WalletWasabi.Daemon.Global.InitializeNoWalletAsync(TerminateService terminateService, CancellationToken cancellationToken) in WalletWasabi.Daemon/Global.cs:line 199
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Daemon.Global.InitializeNoWalletAsync(TerminateService terminateService, CancellationToken cancellationToken)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_1.<<RunAsGuiAsync>b__6>d.MoveNext() in WalletWasabi.Fluent.Desktop/Program.cs:line 174
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_1.<RunAsGuiAsync>b__6()
at WalletWasabi.Fluent.App.<OnFrameworkInitializationCompleted>b__6_1() in WalletWasabi.Fluent/App.axaml.cs:line 67
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.App.<OnFrameworkInitializationCompleted>b__6_1()
at System.Reactive.Concurrency.Scheduler.Invoke(Action action)
at System.Reactive.Concurrency.Scheduler.<>c.<Schedule>b__74_0(IScheduler _, Action a)
at Avalonia.ReactiveUI.AvaloniaScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)
at System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func`3 action)
at System.Reactive.Concurrency.Scheduler.Schedule(IScheduler scheduler, Action action)
at WalletWasabi.Fluent.App.OnFrameworkInitializationCompleted() in WalletWasabi.Fluent/App.axaml.cs:line 64
at Avalonia.AppBuilder.SetupUnsafe()
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.<>c__DisplayClass0_0.<RunAsGuiAsync>b__0() in WalletWasabi.Fluent.Desktop/Program.cs:line 190
at WalletWasabi.Daemon.WasabiApplication.RunAsync(Func`1 afterStarting) in WalletWasabi.Daemon/WasabiAppBuilder.cs:line 78
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Daemon.WasabiApplication.RunAsync(Func`1 afterStarting)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.RunAsGuiAsync(WasabiApplication app) in WalletWasabi.Fluent.Desktop/Program.cs:line 147
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.RunAsGuiAsync(WasabiApplication app)
at WalletWasabi.Fluent.Desktop.Program.Main(String[] args) in WalletWasabi.Fluent.Desktop/Program.cs:line 63
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at WalletWasabi.Fluent.Desktop.Program.Main(String[] args)
at WalletWasabi.Fluent.Desktop.Program.<Main>(String[] args)
--- End of stack trace from previous location ---
at System.Net.Sockets.TcpClient.CompleteConnectAsync(ValueTask task)
at WalletWasabi.Tor.TcpClientConnector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/TcpClientConnector.cs:line 28
at WalletWasabi.Tor.Socks5.TcpClientSocks5Connector.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TcpClientSocks5Connector.cs:line 20
at WalletWasabi.Tor.Socks5.TorTcpConnectionFactory.IsTorRunningAsync(CancellationToken cancellationToken) in WalletWasabi/Tor/Socks5/TorTcpConnectionFactory.cs:line 111
at WalletWasabi.Tor.TorProcessManager.RestartingLoopAsync(CancellationToken globalCancellationToken) in WalletWasabi/Tor/TorProcessManager.cs:line 122
at WalletWasabi.Daemon.Global.DisposeAsync() in WalletWasabi.Daemon/Global.cs:line 492
at WalletWasabi.Fluent.Desktop.WasabiAppExtensions.RunAsGuiAsync(WasabiApplication app) in WalletWasabi.Fluent.Desktop/Program.cs:line 147
at WalletWasabi.Fluent.Desktop.Program.Main(String[] args) in WalletWasabi.Fluent.Desktop/Program.cs:line 63
Wasabi Version
testing a PR, 8a2efae2b46ccf310c39094a77913c9b285d43ec
just happened once more
it was trice after I specified a data dir, then didn't specify it after, then run normal -> crash doing dotnet run one more time after the crash gives no problems