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

failed to get block at height #4489

Closed
dustinxie opened this issue Nov 14, 2024 · 0 comments · Fixed by #4488 · May be fixed by #4490
Closed

failed to get block at height #4489

dustinxie opened this issue Nov 14, 2024 · 0 comments · Fixed by #4488 · May be fixed by #4490
Assignees
Labels
bug Something isn't working

Comments

@dustinxie
Copy link
Member

dustinxie commented Nov 14, 2024

What version of iotex-core image (or code branch) are you using?

master

What operating system and processor architecture are you using?

masOS

What did you do? If possible, provide a recipe for reproducing the error.

query latest blocks from API

What did you expect to see?

success

What did you see instead?

{"level":"error","ts":"2024-11-14T01:25:51.074Z","msg":"failed to read block from dao","error":"failed to get block at height 33160559: key = 0000000000002732 doesn't exist: not exist in DB","errorVerbose":"not exist in DB\ngithub.com/iotexproject/iotex-core/db.init\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/db/builder.go:7\nruntime.doInit1\n\t/usr/local/go/src/runtime/proc.go:6740\nruntime.doInit\n\t/usr/local/go/src/runtime/proc.go:6707\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:249\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1650\nkey = 0000000000002732 doesn't exist\ngithub.com/iotexproject/iotex-core/db.(*BoltDB).Get.func1\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/db/db_bolt.go:136\ngo.etcd.io/bbolt.(*DB).View\n\t/go/pkg/mod/go.etcd.io/[email protected]/db.go:893\ngithub.com/iotexproject/iotex-core/db.(*BoltDB).Get\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/db/db_bolt.go:129\ngithub.com/iotexproject/iotex-core/db.(*countingIndex).Get\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/db/counting_index.go:151\ngithub.com/iotexproject/iotex-core/blockchain/filedao.(*fileDAOv2).getBlockStore\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/blockchain/filedao/filedao_v2_util.go:226\ngithub.com/iotexproject/iotex-core/blockchain/filedao.(*fileDAOv2).getBlock\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/blockchain/filedao/filedao_v2_util.go:190\ngithub.com/iotexproject/iotex-core/blockchain/filedao.(*fileDAOv2).GetBlockByHeight\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/blockchain/filedao/filedao_v2.go:188\ngithub.com/iotexproject/iotex-core/blockchain/filedao.(*fileDAO).GetBlockByHeight\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/blockchain/filedao/filedao.go:205\ngithub.com/iotexproject/iotex-analyser/kernel.GetBlockByHeightFromBlockDAO\n\t/app/kernel/block.go:30\ngithub.com/iotexproject/iotex-analyser/server.(*runner).Start.func3\n\t/app/server/runner.go:238\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1650\nfailed to get block at height 33160559\ngithub.com/iotexproject/iotex-core/blockchain/filedao.(*fileDAOv2).GetBlockByHeight\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/blockchain/filedao/filedao_v2.go:190\ngithub.com/iotexproject/iotex-core/blockchain/filedao.(*fileDAO).GetBlockByHeight\n\t/go/pkg/mod/github.com/iotexproject/[email protected]/blockchain/filedao/filedao.go:205\ngithub.com/iotexproject/iotex-analyser/kernel.GetBlockByHeightFromBlockDAO\n\t/app/kernel/block.go:30\ngithub.com/iotexproject/iotex-analyser/server.(*runner).Start.func3\n\t/app/server/runner.go:238\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1650","pluginName":"erc20_meta","height":33160559,"tipHeight":33160559}

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
None yet
1 participant