skalenetwork / skale-consensus

Running the very core of SKL network, SKALE BFT consensus is universal, modern, modular, high-performance, asynchronous, provably-secure, agent-based Proof-of-Stake blockchain consensus engine in C++ 17. Includes provably secure embedded Oracle. Used by SKALE elastic blockchains. Easy and flexible enough to implement your own blockchain or smart contract platform. BLS signatures and Binary Asynchronous Consensus are main building blocks.
https://docs.skale.network/technology/consensus-spec
GNU Affero General Public License v3.0
77 stars 31 forks source link

"NetworkMessage:unknown Schain" error printed every 0.1 second in logs #735

Open oleksandrSydorenkoJ opened 1 year ago

oleksandrSydorenkoJ commented 1 year ago

Version: skalenetwork/schain:3.16.0-beta.9

Preconditions: skale chain 2nd genereation

Steps to reproduce

  1. Change sChainId in schain config
  2. check logs from skaled container

Expected behavior: Repeatable error should be printed in 1 minute

Actual state: "NetworkMessage:unknown Schain" error printed every 0.1 second in logs

Logs:

[2023-02-14 14:16:51.076] [4:main] [error] 26291: !Caused by: NetworkMessage:unknown Schain id535219706
[2023-02-14 14:16:51.087] [4:main] [error] 26291:!Exception: NetworkMessage:Could not create message of type:B
[2023-02-14 14:16:51.088] [4:main] [error] 26291: !Caused by: NetworkMessage:unknown Schain id535219706
[2023-02-14 14:16:51.089] [4:main] [error] 26291:!Exception: NetworkMessage:Could not create message of type:B
[2023-02-14 14:16:51.089] [4:main] [error] 26291: !Caused by: NetworkMessage:unknown Schain id535219706
[2023-02-14 14:16:51.096] [4:main] [error] 26291:!Exception: NetworkMessage:Could not create message of type:B
[2023-02-14 14:16:51.096] [4:main] [error] 26291: !Caused by: NetworkMessage:unknown Schain id535219706
[2023-02-14 14:16:51.108] [4:proposal] [error] 26291:Incorrect schain 535219706
[2023-02-14 14:16:51.108] [4:proposal] [error] 26291:Incorrect schain 535219706
[2023-02-14 14:16:51.108] [4:proposal] [error] 26291:Incorrect schain 535219706
[2023-02-14 14:16:51.108] [4:proposal] [error] 26291:Incorrect schain 535219706
[2023-02-14 14:16:51.113] [4:main] [error] 26291:!Exception: BlockProposalServerAgent:Couldnt create DAProof response header
[2023-02-14 14:16:51.113] [4:main] [error] 26291: !Caused by: BlockProposalServerAgent:Incorrect schain 535219706
[2023-02-14 14:16:51.113] [4:main] [error] 26291:!Exception: BlockProposalServerAgent:Couldnt create DAProof response header
[2023-02-14 14:16:51.113] [4:main] [error] 26291: !Caused by: BlockProposalServerAgent:Incorrect schain 535219706
kladkogex commented 7 months ago

Moving to 2.5 as we do not have time for it in 2.4