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

Sync Failed check network #3034

Closed
Gxdzilla87 opened this issue Feb 5, 2024 · 19 comments
Closed

Sync Failed check network #3034

Gxdzilla87 opened this issue Feb 5, 2024 · 19 comments

Comments

@Gxdzilla87
Copy link

Hello

I had to turn off my power supply to my ckb miner for 2 days and once I had turned it back on the neuron wallet failed to sync. It says "sync failed, check network". I tried following the guide but nothing has worked.

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 6, 2024

Hi, @Gxdzilla87 Debug information of the native wallet would help us check what happened, it can be exported by Menu => Help => Export debug information.

@Gxdzilla87
Copy link
Author

Hi, @Gxdzilla87 Debug information of the native wallet would help us check what happened, it can be exported by Menu => Help => Export debug information.

Sounds good.
Under the (bundled ckb) folder it says: The "path" argument must be of type string. Received undefined
Under (main) shows: saved sync block with the #
under (renderer) it shows: stop sync block queue
[neuron_debug_1707175932164.zip]

(https://github.com/nervosnetwork/neuron/files/14173765/neuron_debug_1707175932164.zip)

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 6, 2024

Hi, @Gxdzilla87 Debug information of the native wallet would help us check what happened, it can be exported by Menu => Help => Export debug information.

Sounds good. Under the (bundled ckb) folder it says: The "path" argument must be of type string. Received undefined Under (main) shows: saved sync block with the # under (renderer) it shows: stop sync block queue [neuron_debug_1707175932164.zip]

(https://github.com/nervosnetwork/neuron/files/14173765/neuron_debug_1707175932164.zip)

I got that, For some reason, the network configuration is not the same as before. Could you try to switch to the Internal Node?
Go to the settings page, and switch to the Internal Node. The internal node means Neuron will start an internal ckb node.

If we select a node that is not internal, we need to start an external ckb node.

image

@Gxdzilla87
Copy link
Author

Okay. I'm trying that right now. How log should it usually take to connect? It's been about 10 minutes so far. Still says "connecting"

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 6, 2024

Okay. I'm trying that right now. How log should it usually take to connect? It's been about 10 minutes so far. Still says "connecting"

It may caused by another problem. Could you download and upload the Debug Information again?

@Gxdzilla87
Copy link
Author

yes no problem
neuron_debug_1707186438541.zip

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 6, 2024

yes no problem neuron_debug_1707186438541.zip

Hi, from the log the Neuron should pop up a migrate dialog to migrate the old ckb data. But I don't know whether the migrate dialog shows.

If the migrate dialog shows, click ok to migrate the old ckb data. If the migrate dialog is not shown, maybe you need to migrate the old ckb data manually.
#2868 (comment) will help you how to migrate the old ckb data manually.

@Gxdzilla87
Copy link
Author

Okay, it does show. I selected migrate

@Gxdzilla87
Copy link
Author

yes no problem neuron_debug_1707186438541.zip

Hi, from the log the Neuron should pop up a migrate dialog to migrate the old ckb data. But I don't know whether the migrate dialog shows.

If the migrate dialog shows, click ok to migrate the old ckb data. If the migrate dialog is not shown, maybe you need to migrate the old ckb data manually. #2868 (comment) will help you how to migrate the old ckb data manually.

do you want me to send the debug info again? It still just says migrating

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 6, 2024

yes no problem neuron_debug_1707186438541.zip

Hi, from the log the Neuron should pop up a migrate dialog to migrate the old ckb data. But I don't know whether the migrate dialog shows.
If the migrate dialog shows, click ok to migrate the old ckb data. If the migrate dialog is not shown, maybe you need to migrate the old ckb data manually. #2868 (comment) will help you how to migrate the old ckb data manually.

do you want me to send the debug info again? It still just says migrating

Hi, after the migrating end, it will start sync again. Usually, the migration process will cost about 20~30 minutes.
If Neuron is stuck at migrating for a long time, it's better to send the debug info again.

@Gxdzilla87
Copy link
Author

okay, it's almost done. Around 95% I can now see my wallet amount but the deposit is from November. I'll wait until it's 100% to see if all of the deposits have been updated

@Gxdzilla87
Copy link
Author

the sync seems to be stuck around 99% and most of my deposits have been updated but i'm still missing some for jan and feb this year. Should i try switching back to the default mainnet node? I'll attach the debug info
neuron_debug_1707359448930.zip

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 8, 2024

the sync seems to be stuck around 99% and most of my deposits have been updated but i'm still missing some for jan and feb this year. Should i try switching back to the default mainnet node? I'll attach the debug info neuron_debug_1707359448930.zip

2024-02-08 02:30:54.609 +00:00 GlobalRt-9 INFO ckb_indexer::service  append 11991319, Byte32(0xdc1be3a266e2b94854a620739c5c40afb72c15a625abf7bb528495b449d2b0bf)
2024-02-08 02:30:55.068 +00:00 GlobalRt-9 INFO ckb_indexer::service  append 11991320, Byte32(0xabe24aee914bc3c3e2e153c34fef69cc8eb52f2f9a655a39eb036e578ed56744)

Hi, from the log, the ckb node reached 11991320 at 2024-02-08 02:30:55.068 +00:00, and I haven't found any unexpected logs. Maybe you'd better wait for a while.

@Gxdzilla87
Copy link
Author

the mainnet internal node is now 100% synced and the balances are up to date. Should I switch back to the mainnet default node?

@yanguoyu
Copy link
Collaborator

yanguoyu commented Feb 9, 2024

the mainnet internal node is now 100% synced and the balances are up to date. Should I switch back to the mainnet default node?

If you will not start an external ckb node by yourself, it's better to select the Internal Node. The Internal Node is the mainnet with the Neuron internal ckb node. Light Client is a light client node in Neuron.

@Keith-CY
Copy link
Collaborator

Keith-CY commented Feb 9, 2024

Addition to #3034 (comment)

You can keep using the internal node because it was previously the default node.

It's been renamed since [email protected](https://github.com/nervosnetwork/neuron/releases/tag/v0.110.3)

default node has been renamed to Internal Node for clarity.

The default node option was expected to be removed but in your case it wasn't, for a known reason we've fixed.

@Gxdzilla87
Copy link
Author

okay thank you very much!

Copy link
Contributor

github-actions bot commented Apr 9, 2024

Mark this issue stale because no activity for 60 days

@github-actions github-actions bot added the stale label Apr 9, 2024
Copy link
Contributor

Close this issue because it's inactive since marked stale

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

No branches or pull requests

3 participants