EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

"unlinkable_block_exception: Unlinkable block" #4986

Closed spartucus closed 6 years ago

spartucus commented 6 years ago

It appears that my node forked on height 8974060 with output message below:

image

And restart didn't solve the problem, still with error:

2018-08-02T03:55:52.235 thread-0   producer_plugin.cpp:310       on_incoming_block    ] 3030001 unlinkable_block_exception: Unlinkable block
unlinkable block
    {"id":"0088f5616587f3554acc4c770b5be354f74f0d93cd837ab9d3f5e7abf5f61015","previous":"0088f560a402c3fe654984914abf5bf7b5e8ce31fe9f8467c90c2e335aa6da30"}
    thread-0  fork_database.cpp:151 add
rethrow
    {}
    thread-0  controller.cpp:924 push_block
2018-08-02T03:55:52.235 thread-0   controller.cpp:924            push_block           ] 3030001 unlinkable_block_exception: Unlinkable block
unlinkable block
    {"id":"0088f562f2c451b389e9f78ad163a5a7e0fead80c02a2f9b5f9548debafb5e44","previous":"0088f5616587f3554acc4c770b5be354f74f0d93cd837ab9d3f5e7abf5f61015"}
    thread-0  fork_database.cpp:151 add
2018-08-02T03:55:52.235 thread-0   producer_plugin.cpp:310       on_incoming_block    ] 3030001 unlinkable_block_exception: Unlinkable block
unlinkable block
    {"id":"0088f562f2c451b389e9f78ad163a5a7e0fead80c02a2f9b5f9548debafb5e44","previous":"0088f5616587f3554acc4c770b5be354f74f0d93cd837ab9d3f5e7abf5f61015"}
    thread-0  fork_database.cpp:151 add
rethrow
    {}
    thread-0  controller.cpp:924 push_block
2018-08-02T03:55:52.235 thread-0   controller.cpp:924            push_block           ] 3030001 unlinkable_block_exception: Unlinkable block
unlinkable block
    {"id":"0088f563fe0bbc6235c619aa6574e32932a4d9f48968e5e07784801794e3205c","previous":"0088f562f2c451b389e9f78ad163a5a7e0fead80c02a2f9b5f9548debafb5e44"}
    thread-0  fork_database.cpp:151 add

And here is my config.ini:

agent-name = AgentName

chain-state-db-size-mb = 30720
chain-state-db-guard-size-md = 10
reversible-blocks-db-size-mb = 500
contracts-console = false

http-server-address = 0.0.0.0:8888
p2p-listen-endpoint = 0.0.0.0:9876

http-validate-host = false
verbose-http-errors = true
abi-serializer-max-time-ms = 2000

access-control-allow-origin = *

allowed-connection = any

log-level-net-plugin = info
max-clients = 150
connection-cleanup-period = 30
network-version-match = 1
sync-fetch-span = 2000
enable-stale-production = false

max-implicit-request = 1500
pause-on-startup = false
max-transaction-time = 30
max-irreversible-block-age = -1
txn-reference-block-lag = 0
unlock-timeout = 90000

plugin = eosio::chain_api_plugin
plugin = eosio::history_plugin
plugin = eosio::history_api_plugin
plugin = eosio::chain_plugin
plugin = eosio::bnet_plugin
plugin = eosio::net_api_plugin

p2p-peer-address = pub1.eostheworld.io:9876
p2p-peer-address = eos-mainnet-p2p.activeeos.com:9876
p2p-peer-address = peer.main.alohaeos.com:9876
p2p-peer-address = p2p.eosargentina.io:5222
p2p-peer-address = eosbp-0.atticlab.net:9876
p2p-peer-address = p2p.genereos.io:9876
p2p-peer-address = eos-bp.bitfinex.com:9876
p2p-peer-address = p2p.eos.bitspace.no:9876   
spartucus commented 6 years ago

And on which situation this happens?

vskity commented 6 years ago

my node got the same error.

arhag commented 6 years ago

Resolved by PR #5001.

lcg635 commented 6 years ago

Got the same error, and then the node exit with unclean shutdown. The version of nodeos is 1.1.4

@arhag

ghost commented 6 years ago

@arhag Got the same error yesterdaty. The version is 1.1.4 too.

2018-08-11T15:42:27.908 thread-0   net_plugin.cpp:1935           connect              ] host: p2p.proxy1a.sheos.org port: 5556
2018-08-11T15:42:27.908 thread-0   net_plugin.cpp:1935           connect              ] host: eos.staked.us port: 9870
2018-08-11T15:42:27.908 thread-0   net_plugin.cpp:1935           connect              ] host: peer.eosgeneva.io port: 9876
2018-08-11T15:42:27.908 thread-0   net_plugin.cpp:1935           connect              ] host: api.tokenika.io port: 9876
2018-08-11T15:42:28.020 thread-0   controller.cpp:958            push_block           ] 3030001 unlinkable_block_exception: Unlinkable block
unlinkable block
    {"id":"00a162bbe889b87db48e23f9bbd917ef9166d7b0eee3474417e8d4f84fa920a3","previous":"00a162ba0c7175cd741871913cc42bdc48771b301b20b4ee278d294a4cb982b4"}
    thread-0  fork_database.cpp:151 add
2018-08-11T15:42:28.021 thread-0   producer_plugin.cpp:309       on_incoming_block    ] 3030001 unlinkable_block_exception: Unlinkable block
unlinkable block
    {"id":"00a162bbe889b87db48e23f9bbd917ef9166d7b0eee3474417e8d4f84fa920a3","previous":"00a162ba0c7175cd741871913cc42bdc48771b301b20b4ee278d294a4cb982b4"}
    thread-0  fork_database.cpp:151 add
rethrow
    {}
    thread-0  controller.cpp:958 push_block
ChrisRut commented 6 years ago

Is there a way to recover from this situation (without patching or running master), or do we need to wait until 1.1.5 is released?

ghost commented 6 years ago

@ChrisRut There are 3 ways I have tried: 1.Restart, maybe OK. 2.Restart with --replay-blockchain or --hard-replay-blockchain.Sometimes needs to replay, but to replay may takes several hours. if to hardreplay, it needs more time. 3.Using the latest backup data,this is the best way sometimes.

sivachaitanya commented 6 years ago

@spartucus How did you resolve this ?

spartucus commented 6 years ago

@sivachaitanya I updated to the last version.

rameshb444 commented 5 years ago

Is this issue resolved?

I am using v1.4.1, I am getting the same error.

Logs :

warn 2018-11-20T06:22:30.728 thread-0 controller.cpp:1251 push_block ] 3030001 unlinkable_block_exception: Unlinkable block unlinkable block

{"id":"0034188318114e84a5682913e8776b6b224af635885ee3ccc275762b25911965","previous":"00341882315cfb6f565aaed395e0e3259d4cd61a51158d868f27f41c42fcce11"} thread-0 fork_database.cpp:151 add error 2018-11-20T06:22:30.728 thread-0 producer_plugin.cpp:316 on_incoming_block ] 3030001 unlinkable_block_exception: Unlinkable block unlinkable block {"id":"0034188318114e84a5682913e8776b6b224af635885ee3ccc275762b25911965","previous":"00341882315cfb6f565aaed395e0e3259d4cd61a51158d868f27f41c42fcce11"} thread-0 fork_database.cpp:151 add rethrow {} thread-0 controller.cpp:1251 push_block

sivachaitanya commented 5 years ago

@rameshb444 This happens on its own and all you can do is either rectify on its own or restart the network or update to latest client version