neuron icon indicating copy to clipboard operation
neuron copied to clipboard

[Synchronization] **Sync Get block always**

Open Mrschengen opened this issue 3 years ago • 28 comments

Detail of the issue

Hello team ! am asking if thers a solution to get out the funds from the DAO ! am not looking for more solution to keep minting the blocks ! if thers a solution to get out my funds i will appreciat it ! am really disapointed by Neuron wallet ! so if please can i get my funds out without waiting more the blocks to get syncing i will appreciat the help

bundled-ckb.log

No response

main.log

No response

status.log

No response

Mrschengen avatar Aug 04 '22 02:08 Mrschengen

Hi @Mrschengen

I thought the problem was solved because the issue was closed https://github.com/nervosnetwork/neuron/issues/2458#issuecomment-1200595791

As the last comment said, starting a ckb node manually could help, in fixing the problem of synchronization or getting a full log of the case

Keith-CY avatar Aug 04 '22 02:08 Keith-CY

The problem was not solved , and i didnt closed the issue ! Please now am asking if thers a solution to get out the funds from the dao ?

Mrschengen avatar Aug 04 '22 02:08 Mrschengen

The problem was not solved , and i didnt closed the issue ! Please now am asking if thers a solution to get out the funds from the dao ?

The log in #2458 showed the ckb node inside neuron didn't work properly but the underlying reason was not clear because log didn't unveil it.

So we thought running a ckb node outside neuron may help.

  1. If the ckb node outside neuron works properly, neuron should sync and you can get your fund out
  2. If the ckb node outside neuron doesn't work properly, the full log(without unrelated info) can be used to locate the error.

Steps to run a ckb node outside neuron was elaborated in #2458

Keith-CY avatar Aug 04 '22 02:08 Keith-CY

i did that in one point get blocked also i was watching on CMD ! i will repeat again All even i dont have more patient for this ! can you imagine losing time and energy since 10 May on this ? ! anyway , will repeat and start all from zero again then lets see .

  1. should i put CKB RUN and wait all the blocks or
  2. use that strategy >> ckb run --assume-valid-target 0x4e53fcf61c1250249bc201101bcc8c904b7fcd455f8db395bdb4bbe02502a499

Mrschengen avatar Aug 04 '22 03:08 Mrschengen

2. ckb run --assume-valid-target 0x4e53fcf61c1250249bc201101bcc8c904b7fcd455f8db395bdb4bbe02502a499

ckb run --assume-valid-target 0x4e53fcf61c1250249bc201101bcc8c904b7fcd455f8db395bdb4bbe02502a499 is speedy because it skips verifying blocks before https://explorer.nervos.org/block/0x4e53fcf61c1250249bc201101bcc8c904b7fcd455f8db395bdb4bbe02502a499

Keith-CY avatar Aug 04 '22 03:08 Keith-CY

am affraid that cant work, because i delet the cash yesterday when it get block again so i started all from zero but get block at 1,411,023/. so do you think if i " clear cash full rebuild" this speedy trick will work ? or should in this point just run the CKB and wait all blocks from zero as no data on mainet !

Mrschengen avatar Aug 04 '22 03:08 Mrschengen

am affraid that cant work, because i delet the cash yesterday when it get block again so i started all from zero but get block at 1,411,023/. so do you think if i " clear cash full rebuild" this speedy trick will work ? or should in this point just run the CKB and wait all blocks from zero as no data on mainet !

For now, just running the ckb node without running neuron is a good choice

Previously, neuron didn't work because ckb node inside it didn't work. Now we just run a ckb node outside it and to see if it can synchronize successfully.

If ckb node outside neuron reaches the latest block, then we can open neuron and clear cache. If ckb node outside neuron doesn't work too, we should find out the reason from the full log of ckb node

Keith-CY avatar Aug 04 '22 03:08 Keith-CY

ok i will test that again :(

Mrschengen avatar Aug 04 '22 03:08 Mrschengen

ckbversion i have checked the version in CMD and i dont get the same Version ( check image ) ! this can lead to the problem ? or no problem if i get result like that ?

Mrschengen avatar Aug 04 '22 03:08 Mrschengen

ckbversion i have checked the version in CMD and i dont get the same Version ( check image ) ! this can lead to the problem ? or no problem if i get result like that ?

My fault, the one inside neuron is https://github.com/nervosnetwork/ckb/releases/tag/v0.103.0

Keith-CY avatar Aug 04 '22 03:08 Keith-CY

But you can keep using 0.104.0 if just want to get fund out, ckb-cli 1.0.0 is ok anyway

Keith-CY avatar Aug 04 '22 03:08 Keith-CY

please another question , i left the ckb node outside neuron working from yesterday ! didnt finish yet but until now its working fine ! am on on block 4790000, My question is; if i stoped using Ctrl+C and run the node later, this can not drain the node or create a problem? in other mean if i restart my laptop this can creat a problem ? or it's necessary not stoping the node and keep the laptop working 24/24h

Mrschengen avatar Aug 04 '22 21:08 Mrschengen

please another question , i left the ckb node outside neuron working from yesterday ! didnt finish yet but until now its working fine ! am on on block 4790000, My question is; if i stoped using Ctrl+C and run the node later, this can not drain the node or create a problem? in other mean if i restart my laptop this can creat a problem ? or it's necessary not stoping the node and keep the laptop working 24/24h

In most cases, it continues to work. In some cases, it will be blocked by a LOCK file at data\db\LOCK, deleting it and then restarting node works In rare cases, data will be broken and have to start from 0, it happens in early stage but now I haven't seen it.

Keith-CY avatar Aug 05 '22 02:08 Keith-CY

Hello, Finnaly the syncin outside neuron reaches the latest block. -whats the next step now ? i need to open Neuron wallet now ? -should i stop now the node outside and start neuron ? or how it work after if i want to withdraw for exemple from the dao ? ckb node

Mrschengen avatar Aug 07 '22 18:08 Mrschengen

Hello, Finnaly the syncin outside neuron reaches the latest block. -whats the next step now ? i need to open Neuron wallet now ? -should i stop now the node outside and start neuron ? or how it work after if i want to withdraw for exemple from the dao ? ckb node

Neuron should be launched when the ckb node outside is running, then neuron will fetch data from the outside one instead of the inside one. (And since we didn't find the error of ckb node inside neuron, we have to run the outside one whenever we want to use neuron)

When neuron is open, it will connect to the ckb node outside and start synchronize with it. Once neuron reaches the latest block, you can switch to the nervos dao tab and follow this doc to withdraw assets.

Keith-CY avatar Aug 08 '22 02:08 Keith-CY

i lunched Neuron after syncing on node inside was completed ! and i get this error and the neuron keep blocked also , so if i close the neuron then the CKB node insid back to work as normal again !

ckb node inside

Mrschengen avatar Aug 08 '22 17:08 Mrschengen

Thats enough for me ! this get blocked again here as you see in the picture . for the last time i will ask this please no other why to acces to my funds ? its enough for me i dont have more patient to wait more and get always get stacked. Hope if thers other solution away from waiting blocks or doing anything related to this blockedagain

Mrschengen avatar Aug 11 '22 03:08 Mrschengen

Thats enough for me ! this get blocked again here as you see in the picture . for the last time i will ask this please no other why to acces to my funds ? its enough for me i dont have more patient to wait more and get always get stacked. Hope if thers other solution away from waiting blocks or doing anything related to this blockedagain

Sorry for that I missed the last comment 2 days ago

For this message

i lunched Neuron after syncing on node inside was completed ! and i get this error and the neuron keep blocked also , so if i close the neuron then the CKB node insid back to work as normal again !

Are you meaning after syncing on node outside was completed and the log is printed by the ckb node outside neuron

I didn't see this error message before and looked for help from the core team

Keith-CY avatar Aug 11 '22 03:08 Keith-CY

And please upload neuron's logs again so I can check why neuron hangs with the ckb node outside

Keith-CY avatar Aug 11 '22 03:08 Keith-CY

main.log

Mrschengen avatar Aug 11 '22 03:08 Mrschengen

But to be honest am not looking for the problem any more , its enough for me . please ask the team if thers other way to get the fund out, i start even thinking to left all even the fund if thers no way to acces to them ....

Mrschengen avatar Aug 11 '22 03:08 Mrschengen

Neuron's log shows that connection to ckb node was lost

[2022-08-11 04:03:51.660] [info] Database:	saved synced block #2174900
[2022-08-11 04:14:57.868] [warn] function call error: Error: connect ECONNREFUSED 127.0.0.1:8114, retry 2 ...
[2022-08-11 04:14:57.973] [warn] function call error: Error: connect ECONNREFUSED 127.0.0.1:8114, retry 3 ...

And we get a potential reason about why ckb node is not working. It's too technical to me so core team will reply in this issue

Keith-CY avatar Aug 11 '22 03:08 Keith-CY

i lunched Neuron after syncing on node inside was completed ! and i get this error and the neuron keep blocked also , so if i close the neuron then the CKB node insid back to work as normal again !

ckb node inside

This error appears to be caused by a hard drive read/write error, can you try checking with windows disk utility to see if there are any errors?

quake avatar Aug 11 '22 03:08 quake

ors?

this is already solved when i get it i just need to close all, and start all from zero, but the real problem is that always the Neuron get blocked and each time in different block .

Mrschengen avatar Aug 11 '22 03:08 Mrschengen

Neuron's log shows that connection to ckb node was lost

[2022-08-11 04:03:51.660] [info] Database:	saved synced block #2174900
[2022-08-11 04:14:57.868] [warn] function call error: Error: connect ECONNREFUSED 127.0.0.1:8114, retry 2 ...
[2022-08-11 04:14:57.973] [warn] function call error: Error: connect ECONNREFUSED 127.0.0.1:8114, retry 3 ...

And we get a potential reason about why ckb node is not working. It's too technical to me so core team will reply in this issue

if this always happen! we lost connection to ckb node ! we need to find away to get back the conection ! and please dont tell me we need to delet cash and do full rebuild ! because i dont have more patient to do that. please i need to get out my funds without this ! its enough for me

Mrschengen avatar Aug 11 '22 03:08 Mrschengen

ors?

this is already solved when i get it i just need to close all, and start all from zero, but the real problem is that always the Neuron get blocked and each time in different block .

So now the ckb node outside has synced fully but neuron doesn't catch up, am I right?

From logs of neuron, neuron did't connect to a ckb node outside. Please shut neuron down, lauch ckb node manually and reopen neuron.

If it still not works for about 10 mins, please join discord https://discord.gg/N9nZ3JE2Gg and paste the issue link, I'll create a private channel for instant communication

Keith-CY avatar Aug 11 '22 03:08 Keith-CY

https://discord.gg/N9nZ3JE2Gg

i did this already a lot of time ! am going to discord

Mrschengen avatar Aug 11 '22 03:08 Mrschengen

discord.gg/N9nZ3JE2Gg

i did this already a lot of time ! am going to discord

I've invited you into the private channel

Keith-CY avatar Aug 11 '22 03:08 Keith-CY

Thanks a lot for the Help, i used another laptop and i get neuron synced at the end. maybe thers an issue with my personal laptop

Mrschengen avatar Aug 21 '22 21:08 Mrschengen