{"action":"created","issue":{"url":"https://api.github.com/repos/ElementsProject/lightning/issues/1210","repository_url":"https://api.github.com/repos/ElementsProject/lightning","labels_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1210/labels{/name}","comments_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1210/comments","events_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1210/events","html_url":"https://github.com/ElementsProject/lightning/issues/1210","id":304850509,"number":1210,"title":"Cannot connect to node","user":{"login":"asocjal","id":13422408,"avatar_url":"https://avatars1.githubusercontent.com/u/13422408?v=4","gravatar_id":"","url":"https://api.github.com/users/asocjal","html_url":"https://github.com/asocjal","followers_url":"https://api.github.com/users/asocjal/followers","following_url":"https://api.github.com/users/asocjal/following{/other_user}","gists_url":"https://api.github.com/users/asocjal/gists{/gist_id}","starred_url":"https://api.github.com/users/asocjal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asocjal/subscriptions","organizations_url":"https://api.github.com/users/asocjal/orgs","repos_url":"https://api.github.com/users/asocjal/repos","events_url":"https://api.github.com/users/asocjal/events{/privacy}","received_events_url":"https://api.github.com/users/asocjal/received_events","type":"User","site_admin":false},"labels":[{"id":687479223,"url":"https://api.github.com/repos/ElementsProject/lightning/labels/needinfo","name":"needinfo","color":"bfdadc","default":false},{"id":854993780,"url":"https://api.github.com/repos/ElementsProject/lightning/labels/reconnect","name":"reconnect","color":"e57eaa","default":false}],"state":"open","locked":false,"assignee":{"login":"cdecker","id":120117,"avatar_url":"https://avatars2.githubusercontent.com/u/120117?v=4","gravatar_id":"","url":"https://api.github.com/users/cdecker","html_url":"https://github.com/cdecker","followers_url":"https://api.github.com/users/cdecker/followers","following_url":"https://api.github.com/users/cdecker/following{/other_user}","gists_url":"https://api.github.com/users/cdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/cdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdecker/subscriptions","organizations_url":"https://api.github.com/users/cdecker/orgs","repos_url":"https://api.github.com/users/cdecker/repos","events_url":"https://api.github.com/users/cdecker/events{/privacy}","received_events_url":"https://api.github.com/users/cdecker/received_events","type":"User","site_admin":false},"assignees":[{"login":"cdecker","id":120117,"avatar_url":"https://avatars2.githubusercontent.com/u/120117?v=4","gravatar_id":"","url":"https://api.github.com/users/cdecker","html_url":"https://github.com/cdecker","followers_url":"https://api.github.com/users/cdecker/followers","following_url":"https://api.github.com/users/cdecker/following{/other_user}","gists_url":"https://api.github.com/users/cdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/cdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdecker/subscriptions","organizations_url":"https://api.github.com/users/cdecker/orgs","repos_url":"https://api.github.com/users/cdecker/repos","events_url":"https://api.github.com/users/cdecker/events{/privacy}","received_events_url":"https://api.github.com/users/cdecker/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-03-13T16:56:35Z","updated_at":"2018-03-20T14:29:22Z","closed_at":null,"author_association":"NONE","body":"### Issue and Steps to Reproduce\r\nWhen created channel between both c-lightning version v0.5.2-2016-11-21-2269-g249464c channels worked fine. After some time I realized that nodes are nort connected (listpeers). When trying to connect from cli, I have error:\r\n\r\n```\r\n{ \"peers\" : \r\n        [ \r\n                { \"id\" : \"034fd0be2b82f609f30593d2c5b7f27eb33c5e84f660446e4bf1501c838ce052d4\", \"connected\" : false, \"channels\" : \r\n                        [ \r\n                                { \"state\" : \"ONCHAIN\", \"short_channel_id\" : \"513012:1879:0\", \"funding_txid\" : \"de62f6cae46f0545e46f4436ba645d697b17961d373b6d9743ecbbd50957a216\", \"msatoshi_to_us\" : 2225000, \"msatoshi_total\" : 100000000, \"dust_limit_satoshis\" : 546, \"max_htlc_value_in_flight_msat\" : 18446744073709551615, \"channel_reserve_satoshis\" : 0, \"htlc_minimum_msat\" : 0, \"to_self_delay\" : 144, \"max_accepted_htlcs\" : 483, \"status\" : \r\n                                        [ \"Loaded from database\" ] } ] } ] }\r\n```\r\n\r\n```\r\nroot@cln-02:~/cln/lightning/cli# ./lightning-cli connect 034fd0be2b82f609f30593d2c5b7f27eb33c5e84f660446e4bf1501c838ce052d4\r\n{ \"code\" : -1, \"message\" : \"Could not connect to 034fd0be2b82f609f30593d2c5b7f27eb33c5e84f660446e4bf1501c838ce052d4 after 45 seconds and 10 attempts\" }\r\n```\r\n\r\n### `getinfo` output\r\nnode1:\r\n`{ \"id\" : \"03f8245976b7cbcf8872e9c328abca86f0f42e503b0532430608f11ad73c6bd4a0\", \"port\" : 9735, \"address\" : \r\n        [ \r\n                { \"type\" : \"ipv4\", \"address\" : \"80.211.252.104\", \"port\" : 9735 } ], \"version\" : \"v0.5.2-2016-11-21-2269-g249464c\", \"blockheight\" : 513370, \"network\" : \"$itcoin\" }`\r\n\r\nnode2\r\n`{ \"id\" : \"034fd0be2b82f609f30593d2c5b7f27eb33c5e84f660446e4bf1501c838ce052d4\", \"port\" : 9735, \"address\" : \r\n        [ \r\n                { \"type\" : \"ipv4\", \"address\" : \"80.211.252.169\", \"port\" : 9735 } ], \"version\" : \"v0.5.2-2016-11-21-2269-g249464c\", \"blockheight\" : 513352, \"network\" : \"b\r\nitcoin\" }\r\n`\r\n\r\nPlease note, that getinfo node1 has \"network\" : \"$itcoin\" instead of \"bitcoin\". Logs are attached:\r\n[node1.log.txt](https://github.com/ElementsProject/lightning/files/1807881/node1.log.txt)\r\n[node2.log.txt](https://github.com/ElementsProject/lightning/files/1807882/node2.log.txt)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ElementsProject/lightning/issues/comments/374618162","html_url":"https://github.com/ElementsProject/lightning/issues/1210#issuecomment-374618162","issue_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1210","id":374618162,"user":{"login":"cdecker","id":120117,"avatar_url":"https://avatars2.githubusercontent.com/u/120117?v=4","gravatar_id":"","url":"https://api.github.com/users/cdecker","html_url":"https://github.com/cdecker","followers_url":"https://api.github.com/users/cdecker/followers","following_url":"https://api.github.com/users/cdecker/following{/other_user}","gists_url":"https://api.github.com/users/cdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/cdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdecker/subscriptions","organizations_url":"https://api.github.com/users/cdecker/orgs","repos_url":"https://api.github.com/users/cdecker/repos","events_url":"https://api.github.com/users/cdecker/events{/privacy}","received_events_url":"https://api.github.com/users/cdecker/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T14:29:22Z","updated_at":"2018-03-20T14:29:22Z","author_association":"MEMBER","body":"Duplicate of #1194 "}}
{"actor":{"display_login":"cdecker"}}