how to solve running sync problem?

โš“ Neptune    ๐Ÿ“… 2024-12-10    ๐Ÿ‘ค wuxiu    ๐Ÿ‘๏ธ 83      

wuxiu

Hi all,

I just launched the Neptune-core for the first time, and it shows the following msgs, Iโ€™m not sure whether it is normal or error?

Established outgoing TCP connection with 151.115.78.81:9798 Outgoing connection accepted by 51.15.139.238:9798 Entering synchronization mode due to peer 51.15.139.238:9798 indicating tip height 2808; pow family: ProofOfWork([1763900518, 197, 0, 0, 0, 0]) Running sync Creating new sync request Sending block batch request to 151.115.78.81:9798 requesting blocks descending from 08216218079960280509,12846237429271989926,03698217512493722044,05661204014965294855,17508843091365388130

the following msgs repeated for long time ,almost 1 hours till now: Running sync Waiting for last sync to complete.

also with the following msgs sometimes: Connecting to peer [2606:c700:4020:25:b62e:99ff:fef8:af3e]:9798 with distance 2 2024-12-10T03:20:35.605626109Z WARN ThreadId(01) neptune_cash: executed run()::select::peer_discovery_timer in 0.001815681 secs. exceeds slow fn threshold of 0.001 secs. location: /home/pan/neptune/neptune-core/src/main_loop.rs:1415:21 2024-12-10T03:20:35.605726851Z WARN ThreadId(21) neptune_cash::connect_to_peers: Failed to establish connection: Network is unreachable (os error 101) 2024-12-10T03:20:35.605792563Z INFO ThreadId(21) neptune_cash::connect_to_peers: Connection closing

๐Ÿท๏ธ neptune block sync

wuxiu    2024-12-10 ๐Ÿ‘ ๐Ÿ‘Ž [op]

1.5 hrs later:

Sending block batch request to 151.115.78.81:9798 requesting blocks descending from 05880691359299069663,00446460982876261680,15449096072120169318,11818851215734193445,00001936149292628531 height 50 2024-12-10T03:41:01.123512961Z WARN ThreadId(01) neptune_cash: executed run()::select::block_sync_timer in 0.001809604 secs. exceeds slow fn threshold of 0.001 secs. location: /home/pan/neptune/neptune-core/src/main_loop.rs:1428:21 2024-12-10T03:41:01.12356651Z WARN ThreadId(21) neptune_cash::peer_loop: Punishing peer 151.115.78.81 for SynchronizationTimeout 2024-12-10T03:41:01.123626133Z WARN ThreadId(21) neptune_cash: executed handle_main_task_message()::MainToPeerTask::PeerSynchronizationTimeout in 0.001769568 secs. exceeds slow fn threshold of 0.001 secs. location: /home/pan/neptune/neptune-core/src/peer_loop.rs:1231:17

1

sword_smith    2024-12-10 ๐Ÿ‘ ๐Ÿ‘Ž

Can you try deleting your databases and blocks to resync? Try these commands:

On Linux, you can do:

# Delete blocks
rm -rf ~/.local/share/neptune/beta/blocks/

# Delete databases
rm -rf ~/.local/share/neptune/beta/databases/

As long as you do not delete your ~/.local/share/neptune/beta/wallet/ directory, any coins you may have received will be recovered.

2

sword_smith    2024-12-10 ๐Ÿ‘ ๐Ÿ‘Ž

Also: If you compiled the program yourself, from current master branch, youโ€™ll probably not be able to sync. Try compiling from the release branch instead โ€“ or download the binaries directly.

Reason being that current master has non-backwards compatible changes that will form the basis of the next version of betanet.

3