{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11037","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11037/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11037/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11037/events","html_url":"https://github.com/bitcoin/bitcoin/issues/11037","id":249838021,"number":11037,"title":"trying to sync new testnet node - failing due to \"stalling block download\"","user":{"login":"dooglus","id":573356,"avatar_url":"https://avatars3.githubusercontent.com/u/573356?v=4","gravatar_id":"","url":"https://api.github.com/users/dooglus","html_url":"https://github.com/dooglus","followers_url":"https://api.github.com/users/dooglus/followers","following_url":"https://api.github.com/users/dooglus/following{/other_user}","gists_url":"https://api.github.com/users/dooglus/gists{/gist_id}","starred_url":"https://api.github.com/users/dooglus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dooglus/subscriptions","organizations_url":"https://api.github.com/users/dooglus/orgs","repos_url":"https://api.github.com/users/dooglus/repos","events_url":"https://api.github.com/users/dooglus/events{/privacy}","received_events_url":"https://api.github.com/users/dooglus/received_events","type":"User","site_admin":false},"labels":[{"id":98298007,"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/P2P","name":"P2P","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-08-12T22:04:35Z","updated_at":"2017-08-13T01:22:42Z","closed_at":null,"body":"I've been trying to sync testnet for a few weeks now. It keeps getting stuck. The logs are full of messages about \"stalling block download\".\r\n\r\nHere's an example:\r\n\r\n    2017-08-12 21:59:29 Loaded 31249 addresses from peers.dat  144ms\r\n    2017-08-12 21:59:29 init message: Loading banlist...\r\n    2017-08-12 21:59:30 init message: Starting network threads...\r\n    2017-08-12 21:59:30 net thread start\r\n    2017-08-12 21:59:30 dnsseed thread start\r\n    2017-08-12 21:59:30 addcon thread start\r\n    2017-08-12 21:59:30 init message: Done loading\r\n    2017-08-12 21:59:30 msghand thread start\r\n    2017-08-12 21:59:30 opencon thread start\r\n    2017-08-12 21:59:30 GUI: Platform customization: \"other\"\r\n    2017-08-12 21:59:30 GUI: PaymentServer::LoadRootCAs: Loaded  170  root certificates\r\n    2017-08-12 21:59:30 receive version message: /Satoshi:0.13.2/: version 70015, blocks=1176613, us=<my-ip>:32239, peer=0\r\n    2017-08-12 21:59:31 receive version message: /Satoshi:0.13.2/: version 70015, blocks=1176613, us=<my-ip>:15189, peer=1\r\n    2017-08-12 21:59:32 ProcessMessages(version, 102 bytes) FAILED peer=2\r\n    2017-08-12 21:59:32 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:16892, peer=3\r\n    2017-08-12 21:59:33 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:29573, peer=4\r\n    2017-08-12 21:59:33 Peer=0 is stalling block download, disconnecting\r\n    2017-08-12 21:59:34 receive version message: /Satoshi:0.14.0/: version 70015, blocks=1176613, us=<my-ip>:29163, peer=5\r\n    2017-08-12 21:59:34 connect() to [2602:306:3718:2560:31c5:6402:4150:fe74]:18333 failed: Network is unreachable (101)\r\n    2017-08-12 21:59:35 connect() to [2001:0:9d38:6abd:3c72:2f62:f5ff:fffb]:18333 failed: Network is unreachable (101)\r\n    2017-08-12 21:59:35 Peer=1 is stalling block download, disconnecting\r\n    2017-08-12 21:59:35 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:13541, peer=6\r\n    2017-08-12 21:59:36 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:31431, peer=7\r\n    2017-08-12 21:59:37 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:16946, peer=8\r\n    2017-08-12 21:59:37 receive version message: /Satoshi:0.14.1(UASF-SegWit-BIP148)/: version 70015, blocks=1176613, us=<my-ip>:1524, peer=9\r\n    2017-08-12 21:59:38 Peer=3 is stalling block download, disconnecting\r\n    2017-08-12 21:59:40 Peer=4 is stalling block download, disconnecting\r\n    2017-08-12 21:59:41 P2P peers available. Skipped DNS seeding.\r\n    2017-08-12 21:59:41 dnsseed thread exit\r\n    2017-08-12 21:59:42 Peer=5 is stalling block download, disconnecting\r\n    2017-08-12 21:59:44 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:19638, peer=10\r\n    2017-08-12 21:59:44 Peer=6 is stalling block download, disconnecting\r\n    2017-08-12 21:59:46 Peer=7 is stalling block download, disconnecting\r\n    2017-08-12 21:59:48 Peer=8 is stalling block download, disconnecting\r\n    2017-08-12 21:59:50 receive version message: /Satoshi:0.14.1/: version 70015, blocks=1176613, us=<my-ip>:31236, peer=11\r\n    2017-08-12 21:59:50 Peer=9 is stalling block download, disconnecting\r\n    2017-08-12 21:59:52 Peer=10 is stalling block download, disconnecting\r\n    2017-08-12 21:59:56 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:1951, peer=12\r\n    2017-08-12 21:59:57 receive version message: /Satoshi:0.13.2/: version 70015, blocks=1176613, us=<my-ip>:17679, peer=13\r\n    2017-08-12 21:59:57 receive version message: /Satoshi:0.14.0/: version 70015, blocks=1176613, us=<my-ip>:12698, peer=14\r\n    2017-08-12 21:59:58 connect() to [2001:0:9d38:6ab8:2c22:7efc:46f0:c0b2]:18333 failed: Network is unreachable (101)\r\n    2017-08-12 21:59:59 Peer=11 is stalling block download, disconnecting\r\n    2017-08-12 21:59:59 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:14820, peer=15\r\n    2017-08-12 21:59:59 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176613, us=<my-ip>:22808, peer=16\r\n    2017-08-12 22:00:00 receive version message: /Satoshi:0.13.0/: version 70014, blocks=1176614, us=<my-ip>:18306, peer=17\r\n    2017-08-12 22:00:01 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176614, us=<my-ip>:13932, peer=18\r\n    2017-08-12 22:00:01 Peer=12 is stalling block download, disconnecting\r\n    2017-08-12 22:00:01 connect() to [2001:0:5ef5:79fd:2826:209:d9b2:d42f]:18333 failed: Network is unreachable (101)\r\n    2017-08-12 22:00:03 Peer=13 is stalling block download, disconnecting\r\n    2017-08-12 22:00:05 Peer=14 is stalling block download, disconnecting\r\n    2017-08-12 22:00:07 connect() to [2001:0:9d38:90d7:3060:a2:ace1:d935]:18333 failed: Network is unreachable (101)\r\n    2017-08-12 22:00:07 Peer=15 is stalling block download, disconnecting\r\n    2017-08-12 22:00:08 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176614, us=<my-ip>:6427, peer=19\r\n    2017-08-12 22:00:09 receive version message: /Satoshi:0.14.0/: version 70015, blocks=1176614, us=<my-ip>:4919, peer=20\r\n    2017-08-12 22:00:09 receive version message: /Satoshi:0.13.0/: version 70014, blocks=1096309, us=<my-ip>:15127, peer=21\r\n    2017-08-12 22:00:09 Peer=16 is stalling block download, disconnecting\r\n    2017-08-12 22:00:10 receive version message: /Satoshi:0.14.1/: version 70015, blocks=1176614, us=<my-ip>:28165, peer=22\r\n    2017-08-12 22:00:11 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176614, us=<my-ip>:17486, peer=23\r\n    2017-08-12 22:00:11 receive version message: /Satoshi:0.13.2/: version 70015, blocks=1176614, us=<my-ip>:25716, peer=24\r\n    2017-08-12 22:00:12 Peer=17 is stalling block download, disconnecting\r\n    2017-08-12 22:00:12 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176614, us=<my-ip>:22900, peer=25\r\n    2017-08-12 22:00:14 Peer=18 is stalling block download, disconnecting\r\n    2017-08-12 22:00:16 Peer=19 is stalling block download, disconnecting\r\n    2017-08-12 22:00:18 Peer=20 is stalling block download, disconnecting\r\n\r\nI built from source on Linux, against tag `v0.14.2`.\r\n\r\nThree minutes later I've still not made any progress:\r\n\r\n    2017-08-12 22:02:56 Peer=74 is stalling block download, disconnecting\r\n    2017-08-12 22:02:57 receive version message: /Satoshi:0.13.99/: version 70015, blocks=1176617, us=<my-ip>:18117, peer=77\r\n    2017-08-12 22:02:59 Peer=75 is stalling block download, disconnecting\r\n    2017-08-12 22:03:01 Peer=76 is stalling block download, disconnecting\r\n    2017-08-12 22:03:03 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176617, us=<my-ip>:22069, peer=78\r\n    2017-08-12 22:03:04 receive version message: /bcoin:v1.0.0-beta.12/: version 70015, blocks=1166749, us=<my-ip>:26790, peer=79\r\n    2017-08-12 22:03:05 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176617, us=<my-ip>:29893, peer=80\r\n    2017-08-12 22:03:05 Peer=77 is stalling block download, disconnecting\r\n    2017-08-12 22:03:05 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176617, us=<my-ip>:13425, peer=81\r\n    2017-08-12 22:03:06 connect() to [2003:78:ef5f:4c00:55ab:d1f0:9b1d:ca53]:18333 failed: Network is unreachable (101)\r\n    2017-08-12 22:03:07 Peer=78 is stalling block download, disconnecting\r\n    2017-08-12 22:03:07 receive version message: /Satoshi:0.14.2/: version 70015, blocks=1176617, us=<my-ip>:29658, peer=82\r\n    2017-08-12 22:03:09 Peer=80 is stalling block download, disconnecting\r\n    2017-08-12 22:03:12 Peer=81 is stalling block download, disconnecting\r\n    2017-08-12 22:03:14 Peer=79 is stalling block download, disconnecting\r\n\r\nIs this a problem with testnet? With having segregated witness activated? With my Internet being a bit laggy?"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/322015721","html_url":"https://github.com/bitcoin/bitcoin/issues/11037#issuecomment-322015721","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11037","id":322015721,"user":{"login":"dooglus","id":573356,"avatar_url":"https://avatars3.githubusercontent.com/u/573356?v=4","gravatar_id":"","url":"https://api.github.com/users/dooglus","html_url":"https://github.com/dooglus","followers_url":"https://api.github.com/users/dooglus/followers","following_url":"https://api.github.com/users/dooglus/following{/other_user}","gists_url":"https://api.github.com/users/dooglus/gists{/gist_id}","starred_url":"https://api.github.com/users/dooglus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dooglus/subscriptions","organizations_url":"https://api.github.com/users/dooglus/orgs","repos_url":"https://api.github.com/users/dooglus/repos","events_url":"https://api.github.com/users/dooglus/events{/privacy}","received_events_url":"https://api.github.com/users/dooglus/received_events","type":"User","site_admin":false},"created_at":"2017-08-13T01:22:42Z","updated_at":"2017-08-13T01:22:42Z","body":"It's stuck again.\r\n\r\nIt was flying through the blocks for a while:\r\n\r\n    2017-08-13 00:56:50 Requesting block 000000000000133efbf0144e33d03644bf720b007a0e58e0048a5dcf9ed4a050 (989889) peer=18\r\n    2017-08-13 00:56:50 sending getdata (37 bytes) peer=18\r\n    2017-08-13 00:56:50 received: block (303 bytes) peer=18\r\n    2017-08-13 00:56:50 received block 0000000000001e5801465663185499adf2074a833d386148d31d1d15479ad50b peer=18\r\n    2017-08-13 00:56:50 Requesting block 00000000001d318997a1216ddae8caf3da859bb3fcd7fa17618e0179fbb01244 (989890) peer=18\r\n    2017-08-13 00:56:50 sending getdata (37 bytes) peer=18\r\n    2017-08-13 00:56:50 received: block (558 bytes) peer=18\r\n    2017-08-13 00:56:50 received block 00000000000043cdecf1e12f4d7fe1db50bd6ca36dc2ca6bad60a2c5124f0b20 peer=18\r\n    2017-08-13 00:56:50 Requesting block 000000000000041c51f52c0a13495f295e8ba2ad601f616de811c5818747b2d5 (989891) peer=18\r\n    2017-08-13 00:56:50 sending getdata (37 bytes) peer=18\r\n    2017-08-13 00:56:50 received: block (262 bytes) peer=18\r\n    2017-08-13 00:56:50 received block 0000000000263e011679473c679df8d858e88af39850c54b7d5e0966d8bb9984 peer=18\r\n    2017-08-13 00:56:50 Requesting block 0000000000916886038c0c870189e48fccfdcba3425f9b9c4f6b6baede19b5cb (989892) peer=18\r\n    2017-08-13 00:56:50 sending getdata (37 bytes) peer=18\r\n    2017-08-13 00:56:50 received: block (2443 bytes) peer=17\r\n    2017-08-13 00:56:50 received block 0000000000003cfed13fb8853027747cae5382eb564528c896011146bd7f9fc2 peer=17\r\n    2017-08-13 00:56:50 UpdateTip: new best=0000000000003cfed13fb8853027747cae5382eb564528c896011146bd7f9fc2 height=989546 version=0x30000000 log2_work=68.573774 tx=11491999 date='2016-10-14 09:52:12' progress=0.732413 cache=31.2MiB(115688tx)\r\n    2017-08-13 00:56:50 Requesting block 0000000000000d3c5de06862c513cecfd7e6b574a5d5374857dcf6c85a969289 (989893) peer=17\r\n    2017-08-13 00:56:50 sending getdata (37 bytes) peer=17\r\n    2017-08-13 00:56:50 received: block (262 bytes) peer=17\r\n    [...]\r\n    2017-08-13 00:56:50 UpdateTip: new best=0000000000005f02e665830a8e69d43cf647a2b0771a22d4155e24b64df11540 height=989643 version=0x30000000 log2_work=68.573866 tx=11492575 date='2016-10-14 12:37:22' progress=0.732449 cache=31.3MiB(116063tx)\r\n    2017-08-13 00:56:50 UpdateTip: new best=0000000000b56cd3cdf8c0c347058b78b43e3cb81a7ece84951368ad17efd59b height=989644 version=0x20000000 log2_work=68.573866 tx=11492576 date='2016-10-14 12:57:40' progress=0.732450 cache=31.3MiB(116064tx)\r\n    2017-08-13 00:56:50 UpdateTip: new best=00000000000017001be1ac75122597caa007efa542c9d893fb14a3b35145c0c9 height=989645 version=0x20000000 log2_work=68.573868 tx=11492577 date='2016-10-14 12:56:55' progress=0.732450 cache=31.3MiB(116065tx)\r\n    2017-08-13 00:56:50 UpdateTip: new best=00000000000057f07ed156884ed02f83d7c7e64c4e2f54368b4c415779b09533 height=989646 version=0x30000000 log2_work=68.57387 tx=11492590 date='2016-10-14 12:56:55' progress=0.732450 cache=31.3MiB(116073tx)\r\n    2017-08-13 00:56:50 UpdateTip: new best=000000000000201fbb4594a80410f7fb05d23acf48c1176efffa31c2d363af9c height=989647 version=0x30000000 log2_work=68.573872 tx=11492592 date='2016-10-14 12:56:56' progress=0.732451 cache=31.3MiB(116075tx)\r\n    2017-08-13 00:56:50 UpdateTip: new best=0000000000004aff4f90a9dcb44b32e7f64948050cc050eeb544941b846f0c13 height=989648 version=0x30000000 log2_work=68.573874 tx=11492605 date='2016-10-14 12:56:56' progress=0.732451 cache=31.3MiB(116089tx)\r\n\r\nbut then it slowed way down again when it hit a big block:\r\n\r\n    2017-08-13 00:57:23 received: block (1917019 bytes) peer=19\r\n    2017-08-13 00:57:23 received block 0000000000004d18983eb16fb40d01feb7d0d68d8c7910ff87a28112aeca6fd3 peer=19\r\n    2017-08-13 00:57:24 UpdateTip: new best=0000000000004d18983eb16fb40d01feb7d0d68d8c7910ff87a28112aeca6fd3 height=989649 version=0x20000000 log2_work=68.573875 tx=11493258 date='2016-10-14 12:56:57' progress=0.732493 cache=35.5MiB(124897tx)\r\n\r\nand then it started with the 'stalling' messages:\r\n\r\n    2017-08-13 00:57:44 Stall started peer=19\r\n    2017-08-13 00:57:46 Peer=19 is stalling block download, disconnecting\r\n    2017-08-13 00:57:46 Stall started peer=18\r\n    2017-08-13 00:57:48 Peer=18 is stalling block download, disconnecting\r\n    2017-08-13 00:57:48 Stall started peer=20\r\n    2017-08-13 00:57:50 Peer=20 is stalling block download, disconnecting\r\n\r\nIt's been over 20 minutes and I've not seen any more blocks. It's still disconnecting peers one at a time:\r\n\r\n    2017-08-13 01:21:14 Stall started peer=321\r\n    2017-08-13 01:21:16 Peer=321 is stalling block download, disconnecting\r\n\r\nI guess I'll switch back to maxconnections=1 and let the sync complete, unless there's some diagnostic use in keeping my node unsynced for now."}}
{"actor":{"display_login":"dooglus"}}