You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rebalance-lnd crashes on closed channel ids.
I'm running several cronjobs of rebalance-lnd. Lately I closed a channel but forgot it was excluded in several rebalance-lnd cronjobs. Reading syslog it showed that rebalance-lnd was crashing.
*/5 * * * * /usr/bin/python3 /home/user/rebalance-lnd/rebalance.py -f -1 -t -1 --exclude <channel id of closed channel>
Your Environment:
lnd-0.14.1-beta
rebalance-lnd latest
Steps to reproduce:
Run rebalance-lnd excluding a channel id that has been closed previously
Watch traceback
Expected behaviour:
Ignoring closed channel exclusion or warning message without traceback (?)
Actual behaviour:
rebalance-lnd is throwing error "Unable to find channel edge " and traceback
Unable to find channel edge xxx
Traceback (most recent call last):
File "/home/user/rebalance-lnd/rebalance.py", line 540, in <module>
success = main()
File "/home/user/rebalance-lnd/rebalance.py", line 326, in main
return Rebalance(arguments).start()
File "/home/user/rebalance-lnd/rebalance.py", line 258, in start
return Logic(
File "/home/user/rebalance-lnd/logic.py", line 82, in rebalance
self.initialize_ignored_channels(routes, fee_limit_msat, min_fee_last_hop)
File "/home/user/rebalance-lnd/logic.py", line 380, in initialize_ignored_channels
routes.ignore_channel(chan_id)
File "/home/user/rebalance-lnd/routes.py", line 132, in ignore_channel
edge = self.lnd.get_edge(chan_id)
File "/home/user/rebalance-lnd/lnd.py", line 142, in get_edge
return self.stub.GetChanInfo(ln.ChanInfoRequest(chan_id=channel_id))
File "/home/user/.local/lib/python3.9/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/user/.local/lib/python3.9/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "edge not found"
debug_error_string = "{"created":"@1642088005.995604515","description":"Error received from peer ipv4:127.0.0.1:10009","file":"src/core/lib/surface/call.cc","file_line":1063,"grpc_message":"edge not found","grpc_status":2}"
>
The text was updated successfully, but these errors were encountered:
Background:
Rebalance-lnd crashes on closed channel ids.
I'm running several cronjobs of rebalance-lnd. Lately I closed a channel but forgot it was excluded in several rebalance-lnd cronjobs. Reading syslog it showed that rebalance-lnd was crashing.
Your Environment:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
The text was updated successfully, but these errors were encountered: