I have opened a ln channel between my private node and ACINQ public node (03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f). I've expected that it will give me a payment route into my phoenix wallet. But lnd tells me "unable to find path to destination". What is wrong with my assumption? Where should I create a channel? What am I missing?
Did you have pheonix open? The app needs to be open to receive the payment
reply
Yes, this may sometimes be wrong when I switch apps on phone. But I do my best to have it open.
reply
  1. Phoenix must be online when you receive the payment, as Ben said.
  2. Even if you have a channel with Acinq it doesn"t mean the payment will take the path directly between your node and Acinq. Usually, depending how the wallet app that send the payment is configured/designed, will use at least 3-4 hops and will try to take the cheapest route. That means that when you pay from your node will get out from the cheapest channel you have then find the shortest and cheapest route until Acinq. Then Acinq will forward it to your Phoenix.
Be happy that the payment is taking 3-4 hops, that means more privacy
reply
I did the same and it worked perfectly, as expected (I could send from my node to my Phoenix wallet) and of course with a direct route. It was the same node that you mention.
Maybe provide more details so that other people can help you.
reply
If your channel with ACINQ is new, it might be that all the funds are on your side of the channel, meaning ACINQ doesn't have any funds to route back to you. The channel might not be fully established yet. LN channels go through several states (proposed, pending, open) before they can be used. Check the status of your channel to ensure it's in 'open' state and fully operational.
reply
My lnd gives me:
CHANNEL_DISABLED @ 1st hop FAILED, reason: FAILURE_REASON_NO_ROUTE
But it seems like it has found the path. My channel at lnd side should have enough funds. At the phoenix side there should be enough capacity for receiving. Maybe some fee limit? I really dont understand those settings.
I am playing with channels in recent days to learn and get deeper inside in to practical stuff around lightening. It's tough. Even after I open channels with quite big public nodes, the routing is not something I'd be happy with... And there still sooo much more to learn.
reply
Does this mean that the route was found but there is some other reason why the payment fails?
/ $ lncli payinvoice lnbc<REDACTED> Payment hash: <REDACTED> Description: Amount (in satoshis): 50000 Fee limit (in satoshis): 2500 Destination: 02<REDACTED> Confirm payment (yes/no): yes +----------------------------+--------------+--------------+--------------+-----+----------+--------------------+---------------+ | HTLC_STATE | ATTEMPT_TIME | RESOLVE_TIME | RECEIVER_AMT | FEE | TIMELOCK | CHAN_OUT | ROUTE | +----------------------------+--------------+--------------+--------------+-----+----------+--------------------+---------------+ | CHANNEL_DISABLED @ 1st hop | 0.054 | 22.916 | 50000 | 6 | 817797 | <REDACTED> | ACINQ->02XXXX | | CHANNEL_DISABLED @ 1st hop | 22.950 | 50.794 | 50000 | 6 | 817797 | <REDACTED> | ACINQ->02XXXX | +----------------------------+--------------+--------------+--------------+-----+----------+--------------------+---------------+ Amount + fee: 0 + 0 sat Payment hash: <REDACTED> Payment status: FAILED, reason: FAILURE_REASON_NO_ROUTE [lncli] FAILED
reply