Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing problem on new version #155

Open
versionCollector opened this issue Jul 31, 2021 · 1 comment
Open

Syncing problem on new version #155

versionCollector opened this issue Jul 31, 2021 · 1 comment

Comments

@versionCollector
Copy link

I have run the node version 3.1.0, and after the snapshot is uploaded, the node cannot find the peers on the network. there was no such problem in the previous version 3.0.0.

Log:

[2021-07-31 11:55:36]  INFO [snapshot] Snapshot loaded successfully.
[2021-07-31 11:55:36] DEBUG [ledger] Reseting state to height 11365195, hash 0x7e7eec533c1e3ff4c994fe498591ac13f507aabb4577489a6c8529c3d7779b25

[2021-07-31 11:55:36]  INFO [p2p] Connecting to seed and persisted peers...
[2021-07-31 11:55:36]  WARN [p2p] Failed to retrieve previously persisted peers
[2021-07-31 11:55:36] DEBUG [consensus] Enter epoch 11446880
[2021-07-31 11:55:36]  INFO [p2p] InboundPeerListener listen routine started, seedPeerOnly set to false
[2021-07-31 11:55:36] DEBUG [request] refreshCounter: 0
[2021-07-31 11:55:36] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:55:36] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:55:36] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:55:43] DEBUG [request] refreshCounter: 1
[2021-07-31 11:55:43] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:55:43] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:55:43] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:55:50] DEBUG [request] refreshCounter: 2
[2021-07-31 11:55:50] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:55:50] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:55:50] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:55:56] DEBUG [request] refreshCounter: 3
[2021-07-31 11:55:56] DEBUG [request] Reset refreshCounter
[2021-07-31 11:55:56] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:55:56] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:55:56] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:55:56] DEBUG [consensus] Epoch timeout. Repeating epoch e.epoch=11446880
[2021-07-31 11:55:56] DEBUG [consensus] Enter epoch 11446880
[2021-07-31 11:56:03] DEBUG [request] refreshCounter: 0
[2021-07-31 11:56:03] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:03] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:03] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:06]  INFO [p2p] Connecting to seed and persisted peers...
[2021-07-31 11:56:06]  WARN [p2p] Failed to retrieve previously persisted peers
[2021-07-31 11:56:06] DEBUG Memory usage: Alloc = 1519.013 MiB	TotalAlloc = 67421.635 MiB	Sys = 2418.816 MiB	NumGC = 104	StackInuse = 0.938 MiB	StackSys = 0.938 MiB	HeapInuse = 1596.766 MiB	HeapSys = 2303.062 MiB

[2021-07-31 11:56:09]  INFO [p2p] Connecting with inbound peer: 147.182.176.63:32766...
[2021-07-31 11:56:09] DEBUG [p2p] Create connection, local: 172.21.0.2:50001, remote: 147.182.176.63:32766
[2021-07-31 11:56:09]  INFO [p2p] Handshaking with 147.182.176.63:32766...
[2021-07-31 11:56:10] DEBUG [request] refreshCounter: 1
[2021-07-31 11:56:10] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:10] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:10] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:16] DEBUG [consensus] Epoch timeout. Repeating epoch e.epoch=11446880
[2021-07-31 11:56:16] DEBUG [consensus] Enter epoch 11446880
[2021-07-31 11:56:17] DEBUG [request] refreshCounter: 2
[2021-07-31 11:56:17] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:17] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:17] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:19]  WARN [p2p] Error during handshake/recv: read tcp 172.21.0.2:50001->147.182.176.63:32766: i/o timeout
[2021-07-31 11:56:19]  WARN [p2p] Failed to handshake with peer, error: read tcp 172.21.0.2:50001->147.182.176.63:32766: i/o timeout
[2021-07-31 11:56:19]  WARN [p2p] Inbound peer listener error: read tcp 172.21.0.2:50001->147.182.176.63:32766: i/o timeout
[2021-07-31 11:56:23] DEBUG [request] refreshCounter: 3
[2021-07-31 11:56:23] DEBUG [request] Reset refreshCounter
[2021-07-31 11:56:23] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:23] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:23] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:30] DEBUG [request] refreshCounter: 0
[2021-07-31 11:56:30] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:30] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:30] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:36] DEBUG [request] refreshCounter: 1
[2021-07-31 11:56:36] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:36] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:36] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:36] DEBUG Memory usage: Alloc = 805.298 MiB	TotalAlloc = 67423.037 MiB	Sys = 2418.816 MiB	NumGC = 105	StackInuse = 0.906 MiB	StackSys = 0.906 MiB	HeapInuse = 984.344 MiB	HeapSys = 2303.094 MiB

[2021-07-31 11:56:36]  INFO [p2p] Connecting to seed and persisted peers...
[2021-07-31 11:56:36]  WARN [p2p] Failed to retrieve previously persisted peers
[2021-07-31 11:56:36] DEBUG [consensus] Epoch timeout. Repeating epoch e.epoch=11446880
[2021-07-31 11:56:36] DEBUG [consensus] Enter epoch 11446880
[2021-07-31 11:56:43] DEBUG [request] refreshCounter: 2
[2021-07-31 11:56:43] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:43] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:43] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:49] DEBUG [request] refreshCounter: 3
[2021-07-31 11:56:49] DEBUG [request] Reset refreshCounter
[2021-07-31 11:56:49] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:49] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:49] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:56] DEBUG [request] refreshCounter: 0
[2021-07-31 11:56:56] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:56:56] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:56:56] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:56:56] DEBUG [consensus] Epoch timeout. Repeating epoch e.epoch=11446880
[2021-07-31 11:56:56] DEBUG [consensus] Enter epoch 11446880
[2021-07-31 11:57:03] DEBUG [request] refreshCounter: 1
[2021-07-31 11:57:03] DEBUG [request] Resampled peers to send requests: []
[2021-07-31 11:57:03] DEBUG [request] Sending inventory request channelID=3 end= peers=[] starts=[0x6ea59e567cc99c21c0fce5d3846945b94c3a1ec98181adfe6d0a526f66e9cdd2]
[2021-07-31 11:57:03] DEBUG [p2p] Broadcasting message to 0 neighbors on channel 3, skipEdgeNode: true
[2021-07-31 11:57:06] DEBUG Memory usage: Alloc = 805.330 MiB	TotalAlloc = 67424.491 MiB	Sys = 2418.816 MiB	NumGC = 106	StackInuse = 0.812 MiB	StackSys = 0.812 MiB	HeapInuse = 984.117 MiB	HeapSys = 2303.188 MiB

@1doce8
Copy link

1doce8 commented Jul 31, 2021

I have the similar problem, but I just updated from 3.0.0 to 3.1.0 and node doesn't sync w/ the same log

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

No branches or pull requests

4 participants
@1doce8 @versionCollector and others