Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when trying to rebalance

See original GitHub issue


I’m trying to use the latest rebalance-lnd on master, with lnd lnd version 0.7.0-beta commit=v0.7.0-beta-rc1-9-gd6d87e12feeb197f599a329c079ecef17a4f2b4a.

I keep getting the following error about

~/scripts/rebalance-lnd (master ✘)✭ ᐅ ./ -t 2 -a 10000
Sending 10,000 satoshis to rebalance to channel with ID 628199371496423424

Trying route #1
<id1> -> <id2> -> <id3> -> <id4>
Traceback (most recent call last):
  File "./", line 227, in <module>
  File "./", line 63, in main
    Logic(lnd, first_hop_channel_id, last_hop_channel, amount, channel_ratio, excluded, max_fee_factor).rebalance()
  File "/home/admin/scripts/rebalance-lnd/", line 55, in rebalance
    response = self.lnd.send_payment(payment_request, route)
  File "/home/admin/scripts/rebalance-lnd/", line 111, in send_payment
    return self.router_stub.SendToRoute(request)
  File "/home/admin/.local/lib/python2.7/site-packages/grpc/", line 565, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/home/admin/.local/lib/python2.7/site-packages/grpc/", line 467, in _end_unary_response_blocking
    raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
	status = StatusCode.UNIMPLEMENTED
	details = "unknown service routerrpc.Router"
	debug_error_string = "{"created":"@1560903041.474343437","description":"Error received from peer ipv4:","file":"src/core/lib/surface/","file_line":1046,"grpc_message":"unknown service routerrpc.Router","grpc_status":12}"

Could you let me know what I’m doing wrong? Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

C-Ottocommented, Jun 19, 2019

That’s a good next step, but I prefer to document the requirement (and what to do about it) 😃

mariodiancommented, Aug 26, 2019

@C-Otto actually, google says I’m wrong. However, make install tags didn’t work for me but I may have done something wrong. I’m not sure so now I run both make tags and make install tags.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Unknown" error when trying to rebalance through ThunderHub
Literally an unknown error.. so I don't know what to do. I have no indication what to look for. Any idea?
Read more >
Solving My Weird Kafka Rebalancing Problems & Explaining ...
What Triggers a Rebalancing? · exceeded — polled records not processed in time · exceeded — no heartbeats ...
Read more >
After Linux restart, Kafka throwing "no brokers found when ...
So, returned the message "no brokers found when trying to rebalance". When i restart the kafka server, the error disappeared.
Read more >
Circular Rebalance shows as failed on every rebalancing ...
When I attempt to rebalance my channels, I get "Payment failed" error message. ... Steps to reproduce the behavior: Navigate to "Peers/Channels" ...
Read more >
Rebalancing error as a measure of risk - FactSet Insight
Any spikes (high rebalancing error periods) indicate a stronger need for frequent rebalancing. Any dips or areas where the lines converge ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found