ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.85k stars 901 forks source link

Unable to connect to eclair nodes #6530

Closed yo-mr-white closed 1 year ago

yo-mr-white commented 1 year ago

Issue and Steps to Reproduce

It looks like that I am not able to open a channel to eclair nodes from my CLN. I tried few LND/CLN nodes and everything was fine.

However when I tried connect for example to ACINQ, I am getting this error:

lightning-cli connect 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f@3.33.236.230:9735
{
   "code": 401,
   "message": "All addresses failed: 3.33.236.230:9735: Exchanging init messages: Operation now in progress. of7husrflx7sforh3fw6yqlpwstee3wg5imvvmkp4bz6rbjxtg5nljad.onion:9735: need a proxy. "
}

The same issue with 023631624e30ef7bcb2887e600da8e59608a093718bc40d35b7a57145a0f3db9af@52.27.151.162:9735 (also eclair).

Logs:

2023-08-07T20:22:25.242Z DEBUG   gossipd: REPLY WIRE_GOSSIPD_GET_ADDRS_REPLY with 0 fds
2023-08-07T20:22:25.244Z DEBUG   03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-connectd: Connected out, starting crypto
2023-08-07T20:22:25.382Z DEBUG   0349697734dbd497aa3139fe099bd5dca259f464751d3daf6cf72e3c7c7faf68e5-hsmd: Got WIRE_HSMD_ECDH_REQ
2023-08-07T20:22:25.383Z DEBUG   hsmd: Client: Received message 1 from client
2023-08-07T20:22:25.383Z DEBUG   03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-connectd: Connect OUT
2023-08-07T20:22:25.383Z DEBUG   03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-connectd: peer_out WIRE_INIT
2023-08-07T20:22:25.465Z DEBUG   03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-connectd: peer_in WIRE_INIT
2023-08-07T20:22:25.465Z UNUSUAL 03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-connectd: Feature 28 requires feature 20
2023-08-07T20:22:25.466Z DEBUG   03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-connectd: Failed connected out: All addresses failed: 3.33.236.230:9735: Exchanging init messages: Operation now in progress. of7husrflx7sforh3fw6yqlpwstee3wg5imvvmkp4bz6rbjxtg5nljad.onion:9735: need a proxy.
2023-08-07T20:22:25.466Z DEBUG   03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-lightningd: Not reconnecting: no channels
2023-08-07T20:22:25.467Z UNUSUAL plugin-plugin.js: {\"type\":\"lightning\",\"message\":\"All addresses failed: 3.33.236.230:9735: Exchanging init messages: Operation now in progress. of7husrflx7sforh3fw6yqlpwstee3wg5imvvmkp4bz6rbjxtg5nljad.onion:9735: need a proxy. \",\"name\":\"LightningError\",\"code\":401,\"fullType\":\"lightning\"}

The node is running quite old version (v0.12.1) but the upgrade is scheduled.

Is this related to old version or there is some incompatibility between CLN and eclair right now?

Thank you

wtogami commented 1 year ago

Please use v23.05.2 and report back.

yo-mr-white commented 1 year ago

Upgraded to v23.05.2 and it's working, thanks!