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

NOnion.UnsuccessfulIntroductionException crash when funder trying to pay in NOnion-based LN channel #182

Open
knocte opened this issue Nov 7, 2022 · 0 comments

Comments

@knocte
Copy link
Member

knocte commented Nov 7, 2022

NOnion.UnsuccessfulIntroductionException: Unsuccessful introduction: Failure
  at <StartupCode$NOnion>[email protected] (NOnion.Cells.Relay.RelayIntroduceAck _arg25) [0x0001f] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b] (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] userCode, b result1) [0x00005] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:416 
  at NOnion.FSharpUtil+WithTimeout@59-4[R].Invoke (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt) [0x00000] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.Trampoline.Execute (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] firstAction) [0x00020] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:109 
--- End of stack trace from previous location where exception was thrown ---

  at Microsoft.FSharp.Control.AsyncResult`1[T].Commit () [0x00012] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:349 
  at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronouslyInCurrentThread[a] (System.Threading.CancellationToken cancellationToken, Microsoft.FSharp.Control.FSharpAsync`1[T] computation) [0x0001c] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:882 
  at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T] (System.Threading.CancellationToken cancellationToken, Microsoft.FSharp.Control.FSharpAsync`1[T] computation, Microsoft.FSharp.Core.FSharpOption`1[T] timeout) [0x00013] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:890 
  at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T] (Microsoft.FSharp.Control.FSharpAsync`1[T] computation, Microsoft.FSharp.Core.FSharpOption`1[T] timeout, Microsoft.FSharp.Core.FSharpOption`1[T] cancellationToken) [0x00061] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:1154 
  at Program.PerformOperation (System.Collections.Generic.IEnumerable`1[T] activeAccounts) [0x001cc] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/Program.fs:404 
  at Program.ProgramMainLoop[a] () [0x000cd] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/Program.fs:483 
  at Program.NormalStartWithNoParameters () [0x00007] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/Program.fs:494 
NOnion.UnsuccessfulIntroductionException: Unsuccessful introduction: Failure
  at <StartupCode$NOnion>[email protected] (NOnion.Cells.Relay.RelayIntroduceAck _arg25) [0x0001f] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b] (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] userCode, b result1) [0x00005] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:416 
  at NOnion.FSharpUtil+WithTimeout@59-4[R].Invoke (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt) [0x00000] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.Trampoline.Execute (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] firstAction) [0x00020] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:109 
--- End of stack trace from previous location where exception was thrown ---

  at GWallet.Backend.Infrastructure.Report (System.Exception ex, SharpRaven.Data.ErrorLevel _arg1) [0x00019] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:135 
  at GWallet.Backend.Infrastructure.LogOrReportCrash (System.Exception ex) [0x00000] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:152 
  at Program.NormalStartWithNoParameters () [0x00017] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/Program.fs:498 
  at Program.main (System.String[] argv) [0x0002b] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/Program.fs:516 
exception inside UnhandledException handler: (null) assembly:/Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/bin/Debug/NOnion.dll type:UnsuccessfulIntroductionException member:(null)

[ERROR] FATAL UNHANDLED EXCEPTION: NOnion.UnsuccessfulIntroductionException: Unsuccessful introduction: Failure
  at <StartupCode$NOnion>[email protected] (NOnion.Cells.Relay.RelayIntroduceAck _arg25) [0x0001f] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b] (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] userCode, b result1) [0x00005] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:416 
  at NOnion.FSharpUtil+WithTimeout@59-4[R].Invoke (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt) [0x00000] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.Trampoline.Execute (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] firstAction) [0x00020] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:109 
--- End of stack trace from previous location where exception was thrown ---

  at GWallet.Backend.Infrastructure.Report (System.Exception ex, SharpRaven.Data.ErrorLevel _arg1) [0x00019] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:135 
  at GWallet.Backend.Infrastructure.LogOrReportCrash (System.Exception ex) [0x00000] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:152 
  at Program.NormalStartWithNoParameters () [0x00017] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/Program.fs:498 
  at Program.main (System.String[] argv) [0x0002b] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Frontend.Console/Program.fs:516 
  at GWallet.Backend.Infrastructure.Report (System.Exception ex, SharpRaven.Data.ErrorLevel _arg1) [0x00019] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:135 
  at GWallet.Backend.Infrastructure.LogOrReportCrash (System.Exception ex) [0x00000] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:152 
  at GWallet.Backend.Infrastructure.OnUnhandledException (System.Object _arg1, System.UnhandledExceptionEventArgs args) [0x0000e] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:166 
  at [email protected] (System.Object delegateArg0, System.UnhandledExceptionEventArgs delegateArg1) [0x00000] in /Users/knocte/Documents/Code/geewalletLN/src/GWallet.Backend/Infrastructure.fs:183 
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 9, 2022
Catch the NOnionException after Retrys have finished and the
problem still exists. We catch the exception and return an
error.

Fixes: nblockchain#181
Fixes: nblockchain#182
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 9, 2022
Catch the NOnionException after Retrys have finished and the
problem still exists. We catch the exception and return an
error.

Fixes nblockchain#181
Fixes nblockchain#182
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 14, 2022
Catch the NOnionException after Retrys have finished and the
problem still exists. We catch the exception and return an
error.

Fixes nblockchain#181
Fixes nblockchain#182
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 15, 2022
Catch the NOnionException after Retrys have finished and the
problem still exists. We catch the exception and return an
error.

Fixes nblockchain#181
Fixes nblockchain#182
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 15, 2022
Catch the NOnionException after Retrys have finished and the
problem still exists. We catch the exception and return an
error.

Fixes nblockchain#182
knocte pushed a commit that referenced this issue Nov 16, 2022
Catch the NOnionException after Retrys have finished and the
problem still exists. We catch the exception and return an
error.

Fixes #182
knocte pushed a commit that referenced this issue Nov 22, 2022
Catch the NOnionException after Retrys have finished and the
problem still exists. We catch the exception and return an
error.

Fixes #182
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