-
Notifications
You must be signed in to change notification settings - Fork 44
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
xud crashed on openchannel
command
#1405
Comments
Running it again after a while - just worked:
PS can we catch arg errors a bit nicer? @sangaman
|
Just had this again on xud1.testnet:
|
And again, after unlocking xud post-crash, waiting for reconnect it just worked:
|
sangaman
added a commit
that referenced
this issue
Apr 9, 2020
This removes the hard timeout placed on each attempt to connect to a peer's lnd node when attempting to open a channel with that peer. This timeout was causing xud to crash because it threw an error that was not being handled in the encapsulating catch block, which did not catch the error because it was thrown from a callback. Rather than attempt to correct the asynchronous exception handling, this lifts the timeout limit set within xud and instead will wait on each connect attempt until it succeeds, times out, or fails according to the logic within lnd. Fixes #1405.
sangaman
added a commit
that referenced
this issue
Apr 9, 2020
This removes the hard timeout placed on each attempt to connect to a peer's lnd node when attempting to open a channel with that peer. This timeout was causing xud to crash because it threw an error that was not being handled in the encapsulating catch block, which did not catch the error because it was thrown from a callback. Rather than attempt to correct the asynchronous exception handling, this lifts the timeout limit set within xud and instead will wait on each connect attempt until it succeeds, times out, or fails according to the logic within lnd. Fixes #1405.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
testnet > openchannel 037a74737630bb5a9979762b2163ef9f95c81e00caf347bacc17f16991cdbb61f7 btc 0.01
Error: 2 UNKNOWN: Stream removed
testnet > getbalance
xud is locked, run 'xucli unlock', 'xucli create', or 'xucli restore' then try again
xud logs don't show anything about the crash:
lnd.log
Your environment
xud
:1.0.0-beta-c65f376
uname -a
on *Nix): xud-docker amd64btcd
,bitcoind
,ltcd
,litecoind
,geth
,parity
,raiden
,lnd
or other chain backend:Steps to reproduce
Launch testnet, deposit some testnet bitcoin and run
openchannel 037a74737630bb5a9979762b2163ef9f95c81e00caf347bacc17f16991cdbb61f7 btc 0.01
Expected behaviour
channel is opened
Actual behaviour
xud crashes
The text was updated successfully, but these errors were encountered: