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

Tron nile stopped syncing at block 43284760 #122

Open
andkom opened this issue Jun 7, 2024 · 5 comments
Open

Tron nile stopped syncing at block 43284760 #122

andkom opened this issue Jun 7, 2024 · 5 comments

Comments

@andkom
Copy link

andkom commented Jun 7, 2024

Tron (nile) stopped syncing at block #43284760

Actions performed:

  1. Updated test_net_config.conf and pulled fresh java-tron image -> didn't help
  2. Emptied output-director and restarted java-tron -> syncing stuck at block #160
@andkom
Copy link
Author

andkom commented Jun 7, 2024

Config: https://github.com/tronprotocol/tron-deployment/blob/master/test_net_config.conf

After tron restart nodes count drops to 0:

============ Peer stats: all 2, active 2, passive 0

Peer /65.108.122.240:18888
connect time: 28s [3ms]
last know block num: 0
needSyncFromPeer:true
needSyncFromUs:false
syncToFetchSize:4000
syncToFetchSizePeekNum:43284761
syncBlockRequestedSize:0
remainNum:4222873
syncChainRequested:0
blockInProcess:2000

Peer /65.109.22.249:18888
connect time: 28s [4ms]
last know block num: 0
needSyncFromPeer:true
needSyncFromUs:false
syncToFetchSize:4000
syncToFetchSizePeekNum:43284761
syncBlockRequestedSize:0
remainNum:4222873
syncChainRequested:0
blockInProcess:1999


11:54:30.758 WARN  [peer-status-check] [net](PeerStatusCheck.java:51) Peer /65.108.122.240 not sync for a long time
11:54:30.758 INFO  [peer-status-check] [net](PeerConnection.java:175) Send peer /65.108.122.240:18888 message type: P2P_DISCONNECT
reason: TIME_OUT
11:54:30.758 WARN  [peer-status-check] [net](PeerStatusCheck.java:51) Peer /65.109.22.249 not sync for a long time
11:54:30.758 INFO  [peer-status-check] [net](PeerConnection.java:175) Send peer /65.109.22.249:18888 message type: P2P_DISCONNECT
reason: TIME_OUT
11:54:30.758 INFO  [peerClient-25] [net](P2pChannelInitializer.java:45) Close channel:/65.109.22.249:18888
11:54:30.758 INFO  [peerClient-27] [net](P2pChannelInitializer.java:45) Close channel:/65.108.122.240:18888
11:54:30.758 INFO  [peerClient-25] [net](ConnPoolService.java:261) Peer stats: channels 1, activePeers 1, active 1, passive 0
11:54:30.758 INFO  [peerClient-27] [net](ConnPoolService.java:261) Peer stats: channels 0, activePeers 0, active 0, passive 0
11:54:37.754 INFO  [peer-manager] [net](PeerManager.java:152)

============ Peer stats: all 0, active 0, passive 0


11:54:47.752 INFO  [NodePersistTask] [net](NodePersistService.java:82) Write nodes to store: 27/27 nodes
11:54:47.754 INFO  [peer-manager] [net](PeerManager.java:152)

@fyyhtx
Copy link

fyyhtx commented Jun 18, 2024

@andkom The configuration file of the Nile testnet can be obtained from here: https://nileex.io/join/getJoinPage.
Make sure the proposal configuration is consistent with the nile testnet template:

block = {
needSyncCheck = false
maintenanceTimeInterval = 600000
proposalExpireTime = 600000 //
}

What is the version of the service currently running? Make sure to use the latest nile branch to run the program: https://nileex.io/

In addition, considering that the database may be dirty, you can use a new snapshot to start the node, which can be downloaded from here: https://nile-snapshots.s3-accelerate.amazonaws.com/backup20240616/FullNode_output-directory.tgz

@andkom
Copy link
Author

andkom commented Jun 18, 2024

I use, default testnet config from https://github.com/tronprotocol/tron-deployment/blob/master/test_net_config.conf

2 weeks ago I replaced output-directory with fresh snapshot and it fixed issue,
today I noticed that node is stuck again at block #47785755, I replaced with fresh snapshot and it fixed again.

Config from https://nileex.io/join/getJoinPage confuses me that the it is very different from fresh config.

Will try your changes.

@andkom
Copy link
Author

andkom commented Jun 18, 2024

version 4.7.5

@fyyhtx
Copy link

fyyhtx commented Jun 19, 2024

Looking forward to the results of your try!

@Elenore23 Elenore23 mentioned this issue Sep 8, 2024
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

2 participants