-
Notifications
You must be signed in to change notification settings - Fork 24
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
Firehose dies with cannot link new blocks to chain after a reconnection #49
Comments
I am facing same issue |
Maybe upgrade to latest?
|
I'm having the same issue with firehose-eth In my case, running sync for some time, up to about 1M block, then it suddenly fails but unclear why.
Setup my firehose-eth on AWS using this documentation: https://github.com/streamingfast/firehose-docs/blob/master/firehose-setup/ethereum/local-deployment.md here are my versions:
not really sure what this error is and how to properly handle it. if I try simply restarting the process, it usually fails with same error but about 1/5 times it does not fail and is able to pickup where it left off and continue processing. but in these cases it fails with same error about 30min later any idea how I can address this issue ? |
Versions you are using for
Please retry with latest version and let us know how it goes. |
Ctrl-C during chain sync always corrupts (with "cannot link new blocks to chain after a reconnection" and "too many consecutive unlinkable blocks" on next run) and I have to purge and start over. Not expected because the docs say:
|
Why firehose process are you terminating? Only the reader? What is your config? |
|
@abourget for planning |
Network: BSC Test net
Firehose version: v1.3.1
Geth: bsc-v1.1.18-fh2.1-2
Steps to repeat: start syncing, sync some blocks and press ctrl-c or terminate process abruptly(I'm running merger, firehose, reader-node, relayer, combined-index-builder) all in one process.
Restart
./fireeth -c config.yaml start
(maybe several times) and watch it die withcannot link new blocks to chain after a reconnection
sometimes it also enters infinite loop spamming console with millions of
2023-01-18T09:41:07.186+0400 INFO (reader.sub.relayer) not pushing block to a closed subscription
I think firehose should be able to restart gracefully even after abrupt termination(and it fails to do so even when doing graceful shutdown via ctrl+c)
edit: on yet another restart with the same state it started to complain on this
2023-01-18T09:43:46.926+0400 WARN (bstream) too many consecutive unlinkable blocks {"block": "#136834 (06ce4bb2b6c54d9c)", "consecutive_unlinkable_blocks": 24300, "last_block_sent": "#112408 (444c547f0115596d)"}
in the result it seems that local state is corrupted and I cannot continue syncing data... is there any way to repair it?
config file
example log:https://pastebin.com/w3Rn2k8r
The text was updated successfully, but these errors were encountered: