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

Testnet sync is stay connecting #382

Open
silySuper opened this issue Apr 12, 2024 · 5 comments
Open

Testnet sync is stay connecting #382

silySuper opened this issue Apr 12, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@silySuper
Copy link

silySuper commented Apr 12, 2024

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?

@silySuper silySuper added the bug Something isn't working label Apr 12, 2024
@Danie0918 Danie0918 assigned devchenyan and yanguoyu and unassigned Danie0918 Apr 12, 2024
@yanguoyu
Copy link

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
Copy link
Author

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
Copy link
Author

silySuper commented Apr 17, 2024

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
Copy link
Contributor

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

@yanguoyu
Copy link

yanguoyu commented May 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants