ethereum / aleth

Aleth – Ethereum C++ client, tools and libraries
GNU General Public License v3.0
3.97k stars 2.17k forks source link

Download snapshot exception: BadCast #4827

Open chfast opened 6 years ago

chfast commented 6 years ago
3 latest hash #214151c4… snapshot hash #a8631e00… snapshot number 4350000
⧎ ℹ  19:10:33.141|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:33.141|p2p  Hello: Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1 V[ 4 ] ##eb97b0a1… (par,1) 30303
⧎ ◌  19:10:33.141|p2p|eb97b0a1…|Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1  Closing peer session :-(
⧎ ℹ  19:10:33.246|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:33.246|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:33.246|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ℹ  19:10:33.401|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:33.401|p2p  Hello: Parity/v1.8.7-stable-e322fd8-20180124/x86_64-linux-gnu/rustc1.23.0 V[ 4 ] ##017805ce… (par,1) 30303
⧎ ◌  19:10:33.401|p2p|017805ce…|Parity/v1.8.7-stable-e322fd8-20180124/x86_64-linux-gnu/rustc1.23.0  Closing peer session :-(
⧎ ℹ  19:10:33.580|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:33.580|p2p  Hello: Geth/v1.8.0-unstable-02aeb3d7/linux-amd64/go1.9.2 V[ 5 ] ##645324a3…  0
⧎ ◌  19:10:33.581|p2p|645324a3…|Geth/v1.8.0-unstable-02aeb3d7/linux-amd64/go1.9.2  Closing peer session :-(
⧎ ℹ  19:10:33.918|p2p  p2p.connect.egress recvd hello header
⧎ ℹ  19:10:34.029|p2p  p2p.connect.ingress recvd hello header
⧎ ℹ  19:10:34.101|p2p  p2p.host.nodeTable.events.nodeEntryAdded ##2d81c796…
⧎ ℹ  19:10:34.101|p2p  p2p.host.peers.events.peerAdded ##2d81c796… 174.97.12.1583030330303
⧎ ℹ  19:10:34.164|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:34.164|p2p  Hello: Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1 V[ 4 ] ##eb97b0a1… (par,1) 30303
⧎ ◌  19:10:34.164|p2p|eb97b0a1…|Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1  Closing peer session :-(
⧎ ℹ  19:10:34.353|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:34.353|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:34.353|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ℹ  19:10:35.027|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:35.027|p2p  Hello: Parity/v1.8.7-stable-e3d32a4-20180123/x86_64-macos/rustc1.23.0 V[ 4 ] ##cbc8781f… (par,1) 30303
⧎ ◌  19:10:35.028|p2p|cbc8781f…|Parity/v1.8.7-stable-e3d32a4-20180123/x86_64-macos/rustc1.23.0  Closing peer session :-(
⧎ ℹ  19:10:35.150|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:35.150|p2p  Hello: Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1 V[ 4 ] ##eb97b0a1… (par,1) 30303
⧎ ◌  19:10:35.150|p2p|eb97b0a1…|Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1  Closing peer session :-(
⧎ ℹ  19:10:35.315|p2p  p2p.host.nodeTable.events.nodeEntryAdded ##0fef8c75…
⧎ ℹ  19:10:35.315|p2p  p2p.host.peers.events.peerAdded ##0fef8c75… 39.107.84.803030330303
⧎ ℹ  19:10:35.695|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:35.695|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:35.696|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ℹ  19:10:36.484|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:36.484|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:36.484|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ℹ  19:10:36.792|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:36.792|p2p  Hello: Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9 V[ 5 ] ##a03fc523…  0
⧎ ◌  19:10:36.792|p2p|a03fc523…|Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9  Closing peer session :-(
⧎ ℹ  19:10:37.034|p2p  p2p.host.nodeTable.events.nodeEntryAdded ##49f57d7b…
⧎ ℹ  19:10:37.034|p2p  p2p.host.peers.events.peerAdded ##49f57d7b… 172.11.72.1435837730303
⧎ ℹ  19:10:37.110|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:37.110|p2p  Hello: Parity/v1.9.0-beta-53ec1141c-20180125/x86_64-windows-msvc/rustc1.23.0 V[ 5 ] ##3f705766… (par,1) 30303
⧎ ◌  19:10:37.111|p2p|3f705766…|Parity/v1.9.0-beta-53ec1141c-20180125/x86_64-windows-msvc/rustc1.23.0  Closing peer session :-(
⧎ ℹ  19:10:37.243|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:37.243|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:37.243|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ℹ  19:10:37.375|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:37.375|p2p  Hello: Geth/v1.7.2-stable-1db4ecdc/windows-amd64/go1.9 V[ 5 ] ##867e6899…  0
⧎ ◌  19:10:37.375|p2p|867e6899…|Geth/v1.7.2-stable-1db4ecdc/windows-amd64/go1.9  Closing peer session :-(
⧎ ℹ  19:10:37.502|p2p  p2p.connect.egress recvd hello header
⧎ ℹ  19:10:37.641|p2p  p2p.host.nodeTable.events.nodeEntryAdded ##288b9726…
⧎ ℹ  19:10:37.879|p2p  p2p.connect.egress recvd hello header
⧎ ℹ  19:10:38.089|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:38.090|p2p  Hello: Parity/v1.7.8-stable-d5fcf3b-20171025/x86_64-windows-msvc/rustc1.20.0 V[ 4 ] ##b65748df… (par,1) 30303
⧎ ◌  19:10:38.090|p2p|b65748df…|Parity/v1.7.8-stable-d5fcf3b-20171025/x86_64-windows-msvc/rustc1.20.0  Closing peer session :-(
⧎ ℹ  19:10:38.287|p2p  p2p.connect.egress recvd hello header
⧎ ℹ  19:10:38.303|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:38.303|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:38.303|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ℹ  19:10:38.410|p2p  p2p.connect.egress recvd hello header
⧎ ℹ  19:10:38.941|p2p  p2p.connect.egress recvd hello header
⧎ ℹ  19:10:38.945|p2p  p2p.connect.ingress recvd hello header
⧎ ℹ  19:10:38.956|p2p  p2p.host.nodeTable.events.nodeEntryAdded ##94ea28b1…
⧎ ℹ  19:10:38.956|p2p  p2p.host.peers.events.peerAdded ##94ea28b1… 36.48.17.1561329130399
⧎ ℹ  19:10:39.246|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:39.246|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:39.246|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ℹ  19:10:39.542|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:39.542|p2p  Hello: Parity/v1.8.7-stable-e322fd8-20180124/x86_64-linux-gnu/rustc1.23.0 V[ 4 ] ##017805ce… (par,1) 30303
⧎ ◌  19:10:39.543|p2p|017805ce…|Parity/v1.8.7-stable-e322fd8-20180124/x86_64-linux-gnu/rustc1.23.0  Closing peer session :-(
⧎ ◌  19:10:39.762|p2p|393ea55d…|Parity/v1.7.8-stable-d5fcf3b-20171025/x86_64-linux-gnu/rustc1.21.0  Closing peer session :-(
⧎ ℹ  19:10:40.095|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:40.095|p2p  Hello: Geth/v1.5.0-unstable-70fff48b/linux/go1.6.2 V[ 4 ] ##579f786d…  0
⧎ ◌  19:10:40.095|p2p|579f786d…|Geth/v1.5.0-unstable-70fff48b/linux/go1.6.2  Closing peer session :-(
⧎ ℹ  19:10:40.165|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:40.165|p2p  Hello: Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1 V[ 4 ] ##eb97b0a1… (par,1) 30303
⧎ ℹ  19:10:40.165|p2p  p2p.host.peer.register ##eb97b0a1…
⧎ ℹ  19:10:40.269|p2p  p2p.connect.ingress recvd hello header
⧎ ◌  19:10:40.269|p2p  Hello: Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0 V[ 4 ] ##57933b29… (par,1) 30303
⧎ ◌  19:10:40.269|p2p|57933b29…|Parity/v1.6.7-beta-e128418-20170518/x86_64-windows-msvc/rustc1.17.0  Closing peer session :-(
⧎ ◌  19:10:40.294|p2p|eb97b0a1…|Parity/v1.6.3-beta-ccc5732-20170314/x86_64-windows-msvc/rustc1.15.1  Status: protocol version 1 networkId 1 genesis hash #d4e56740… total difficulty 1196771363982836532246 latest hash #8a3fb8b4… snapshot hash #38d452b6… snapshot number 3360000
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<dev::BadCast>'
  what():  BadCast
[1]    5018 abort (core dumped)  eth/eth --download-snapshot /media/blockchains/snapshots/ -v 9
trungtt198x commented 6 years ago

I have recently encountered the same problem "Closing peer session". I start a geth as p2p networking enabler: geth --light

Then, I use the enode ID of this geth light as the argument for the option "--peerset required" for the "eth" node. The addPeer process looks promising but ended with the error "closing peer session" from the "geth"

⧎ ℹ 04:48:24 AM.060|p2p p2p.connect.egress recvd hello header ⧎ ◌ 04:48:24 AM.060|p2p Hello: Geth/v1.8.0-unstable-1c2378b9/linux-amd64/go1.9.2 V[ 5 ] ##8a2df0ba… 0 ⧎ ◌ 04:48:24 AM.060|p2p|8a2df0ba…|Geth/v1.8.0-unstable-1c2378b9/linux-amd64/go1.9.2 Closing peer session :-(