Magickbase / neuron-public-issues

Neuron Issues
6 stars 3 forks source link

Testnet sync is stay connecting #382

Open silySuper opened 6 months ago

silySuper commented 6 months ago

I have start a testnet node locally,but sync progress is stay connecting.

截屏2024-04-12 10 35 02 截屏2024-04-12 10 35 32 截屏2024-04-12 10 35 13 截屏2024-04-12 10 35 22

main.log

Is it that the port related to this problem?

yanguoyu commented 6 months ago

Hi, @silySuper Here is the log.

[2024-04-12T02:12:04.553Z] [warn]  API Controller:  channel handling error: TypeError: fetch failed TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11372:11)
    at async FullCKBRPC.localNodeInfo (~/Downloads/Neuron 2.app/Contents/Resources/app/node_modules/@ckb-lumos/rpc/lib/method.js:57:19)
    at async CommonUtils.retry (~/Downloads/Neuron 2.app/Contents/Resources/app/dist/utils/common.js:17:16)
    at async NodeService.verifyExternalCkbNode (~/Downloads/Neuron 2.app/Contents/Resources/app/dist/services/node.js:181:35)
    at async ~/Downloads/Neuron 2.app/Contents/Resources/app/dist/controllers/api.js:201:29
    at async ~/Downloads/Neuron 2.app/Contents/Resources/app/dist/controllers/api.js:620:33
    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:86716)

Could you try to call the RPC localNodeInfo and ensure that rpc returns normal?

silySuper commented 6 months ago

Hi, @silySuper Here is the log.

[2024-04-12T02:12:04.553Z] [warn]  API Controller:    channel handling error: TypeError: fetch failed TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11372:11)
    at async FullCKBRPC.localNodeInfo (~/Downloads/Neuron 2.app/Contents/Resources/app/node_modules/@ckb-lumos/rpc/lib/method.js:57:19)
    at async CommonUtils.retry (~/Downloads/Neuron 2.app/Contents/Resources/app/dist/utils/common.js:17:16)
    at async NodeService.verifyExternalCkbNode (~/Downloads/Neuron 2.app/Contents/Resources/app/dist/services/node.js:181:35)
    at async ~/Downloads/Neuron 2.app/Contents/Resources/app/dist/controllers/api.js:201:29
    at async ~/Downloads/Neuron 2.app/Contents/Resources/app/dist/controllers/api.js:620:33
    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:86716)

Could you try to call the RPC localNodeInfo and ensure that rpc returns normal?

截屏2024-04-12 16 04 36
silySuper commented 6 months ago

I hav tried situations: 1.start v0.113 in local ,and run new data,sync successfully✅ 2.start v0.113 in local ,and run v108 old data(which testnet data file is in portable hard disk),node start fail.Because ❌

Image

3.start v0.114(which node file is in portable hard disk) in local, and run new data,sync successfully,✅ 4.start v0.114 in local,and run new data,sync successfully,✅ 5.start v0.114(which node file is in portable hard disk) in local, and run v108 old data(which testnet data file is in portable hard disk) ,sync fail .❌

Image 6.start v0.114(which node file is in portable hard disk),and run local 113 data.sync fail❌

截屏2024-05-07 15 57 57

main.log

Danie0918 commented 6 months ago

Still troubleshooting the cause, please comment with any updates. @yanguoyu @silySuper

yanguoyu commented 6 months ago

https://github.com/nervosnetwork/neuron/pull/3143