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

Crash when funder trying to pay in NOnion-based LN channel #181

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

Crash when funder trying to pay in NOnion-based LN channel #181

knocte opened this issue Nov 7, 2022 · 0 comments

Comments

@knocte
Copy link
Member

knocte commented Nov 7, 2022

System.Exception: TorServiceClient: can't download descriptor, all requests failed.
  at <StartupCode$NOnion>[email protected] (Microsoft.FSharp.Core.Unit unitVar) [0x00065] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult] (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt, TResult result1, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] part2) [0x00005] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:398 
  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 
System.Exception: TorServiceClient: can't download descriptor, all requests failed.
  at <StartupCode$NOnion>[email protected] (Microsoft.FSharp.Core.Unit unitVar) [0x00065] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult] (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt, TResult result1, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] part2) [0x00005] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:398 
  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:/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/mscorlib.dll type:Exception member:(null)

[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: TorServiceClient: can't download descriptor, all requests failed.
  at <StartupCode$NOnion>[email protected] (Microsoft.FSharp.Core.Unit unitVar) [0x00065] in <0fe70686c583a2207475c1fd3a5faac6>:0 
  at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult] (Microsoft.FSharp.Control.AsyncActivation`1[T] ctxt, TResult result1, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] part2) [0x00005] in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:398 
  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 8, 2022
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 8, 2022
parhamsaremi added a commit to parhamsaremi/NOnion that referenced this issue Nov 9, 2022
Previously returned exception with failwith which returned
System.Exception. Now it returns NOnionExceptoin.

Fixes nblockchain/geewallet#181
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/NOnion that referenced this issue Nov 9, 2022
Previously returned exception with failwith which returned
System.Exception. Now it returns NOnionExceptoin. This work
is necessary for fixing [1], but it dosn't fix it. The fix
for that problem should be continued on GWallet.

[1] nblockchain/geewallet#181
parhamsaremi added a commit to parhamsaremi/NOnion that referenced this issue Nov 9, 2022
Previously returned exception with failwith which returned
System.Exception. Now it returns NOnionExceptoin. This work
is necessary for fixing [1].

[1] nblockchain/geewallet#181
knocte added a commit to nblockchain/NOnion that referenced this issue Nov 10, 2022
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 11, 2022
Change 0.12.0--date20221007-1209.git-b58d305
to 0.12.0--date20221110-0551.git-59a6127.
This update throws NOnionException instead of
SystemException when download in TorGurad is
failed.

Fixes nblockchain#181
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 14, 2022
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 15, 2022
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
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 15, 2022
We have to use new for instanciating TorServiceHost since in the new
version of NOnion this type is IDisposable.

Fixes nblockchain#181
Fixes nblockchain#184
Fixes nblockchain#186
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 15, 2022
We have to use new for instanciating TorServiceHost
since in the new version of NOnion this type is
IDisposable.

Fixes nblockchain#181
Fixes nblockchain#184
Fixes nblockchain#186
parhamsaremi added a commit to parhamsaremi/geewallet that referenced this issue Nov 15, 2022
We have to use new for instanciating TorServiceHost since in
the new version of NOnion this type is IDisposable.

Fixes nblockchain#181
Fixes nblockchain#184
Fixes nblockchain#186
knocte pushed a commit that referenced this issue Nov 16, 2022
We have to use new for instanciating TorServiceHost since in
the new version of NOnion this type is IDisposable.

Fixes #181
Fixes #184
Fixes #186
knocte pushed a commit that referenced this issue Nov 22, 2022
We have to use new for instanciating TorServiceHost since in
the new version of NOnion this type is IDisposable.

Fixes #181
Fixes #184
Fixes #186
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