Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Unable to pay invoice to channel partner (0 hops) "invalid onion version" / "Unable to decode forwarding instructions" #1310

Open
pinheadmz opened this issue Sep 23, 2019 · 0 comments

Comments

@pinheadmz
Copy link

iOS Lightning app version 0.2.4(18)
lnd compiled from source lightningnetwork/lnd@20a5ee2 (339 commits since v0.7.1) connected to bitcoind full node

To reproduce:

  • establish channel from iOS app to lnd "full node"
  • create invoice on lnd "full node", send to iPhone
  • paste invoice into app payment screen

Results:
Payment failed.

iOS app logs:

2019-09-23 12:49:09.822 [ERR] CRTR: Attempt to send payment 793544608e562f3369a19e86a3b85727980c6b37680ba08b48fa9d145d39c4a3 failed: InvalidOnionVersion(onion_sha=78e52a0c129991c9b087979a2ef05427aacac67cb051f20fc285cf7d5c47eae7)
2019-09-23 12:49:09.843 [WRN] RPCS: Unable to send payment: InvalidOnionVersion(onion_sha=78e52a0c129991c9b087979a2ef05427aacac67cb051f20fc285cf7d5c47eae7)

Relevant logs from lnd "full node":

2019-09-23 08:44:11.201 [DBG] PEER: Received UpdateAddHTLC(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, id=6, amt=1000000 mSAT, expiry=596260, hash=793544608e562f3369a19e86a3b85727980c6b37680ba08b48fa9d145d39c4a3) from 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.321 [DBG] PEER: Received CommitSig(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, num_htlcs=0) from 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.344 [DBG] PEER: Sending RevokeAndAck(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, rev=c37fecadc20f9a60736bf891c11d7d8d779556969d545ea1aa960a649d913624, next_point=03c8fe7479bfb8864701c72df5e0291ee9f9235c8665c80af44c9f39f7c30e1304) to 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.376 [DBG] PEER: Sending CommitSig(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, num_htlcs=0) to 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.452 [DBG] PEER: Received RevokeAndAck(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, rev=8652dd39b9cc971b1a1691428919595b4cca9cb5951238dc8d4b8f79f2ae5b51, next_point=02e9b2b510932df146afa7df23127ceae853c667922710b40a2c2241007efc9302) from 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.496 [ERR] HSWC: Unable to decode forwarding instructions: onion payload for final hop included record with type 6
2019-09-23 08:44:11.496 [DBG] PEER: Sending UpdateFailHTLC(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, id=6, reason=2405c5aba86479d0029791f95b69c81a80a1e371cc4f2dab585f1796d9a791dc314c8c7a05579e53e04d47df9dfde63dda197132d4e9df5975fbefb5e1a962919ebf9b7759c0f568fce969a56a31a1ecaf0361060f91208ac8e9b60c3d58b0fc6a2da91c7794bb191c09b0b771984993db335088e4d7f53f10c7a9cbcaf6145ea658ec39121181b8e50b48426bc653bedbde388ff40a6df36469cd45dd25a05314ad7713be878d5718048a10ff2813a04add0f7d8bc0d9d8bc86a6bb1e0cae85bdf064369b41c1e894c7d7fd9f3563d89121194702e531836f9079ae8e1913ce8dc396be0c326894843e8aba9535764cf671fb2cba56f0e95b47fd100d40216b7e92aab6fa21cf029d6221f8f5c1258d650d76169c33b2d0bbe43455af19fbd9a6802e12) to 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.536 [DBG] PEER: Sending CommitSig(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, num_htlcs=0) to 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.572 [DBG] PEER: Received RevokeAndAck(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, rev=b4310fc887830c2a5912c6209614ee6794e12b74ea7c70ad5bf801e04e86ab3d, next_point=0215a8f3e24aa18a5ebebf434153f915fdc3f260f7d2b2a9e02a93d8171ecfe9df) from 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.618 [DBG] PEER: Received CommitSig(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, num_htlcs=0) from 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709
2019-09-23 08:44:11.641 [DBG] PEER: Sending RevokeAndAck(chan_id=6ca45051a9cb6f6c0f058baf97414b4035f70bc5b49fa3a55389179882ba2f5d, rev=648253e65b3fa72eacd398ddb93600238e2782d44983d41107260fbc3f620768, next_point=03b98edb58887215cdf94619171499bd7a8c2eebdad7b159b47693caa603d1f082) to 026cfd335ebb9d80b4e0390cd067c98e0996ce1ed0beed684b694080c70f5d61c7@5.181.234.228:49709

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant