이 페이지는 영문에서 기계 번역되었으므로 오역이나 어색한 표현이 있을 수 있습니다. 따라서 정확한 정보는 영어 원문을 참조하시기 바랍니다. 또한 잦은 업데이트로 인해 일부 콘텐츠는 영문이 그대로 남아있을 수 있습니다. Crowdin에서 이 페이지의 번역을 개선하는 데 동참하여 도움을 주세요. (Crowdin translation page, Contributing guide)
Node Log
This page details some important or frequently asked logs from Kaia nodes. If the Kaia log is modified or newly added/deleted, please edit this page as well.
For more detailed information about log types, you can refer to log_modules.go
If you encounter any abnormal situation, please report it to the kaia team via github, Kaia Forum, or Discord.
Error Logs
Log Type | Node Type | Log Message | Description | Suggested Guide |
---|---|---|---|---|
Blockchain | CN/PN/EN | ########## BAD BLOCK #########Chain config: %v Number: %vHash: 0x%x%v Error: %v############################## | A bad block occurs when the received receipt and the execution result do not match. If a node stops with bad block log, it could be due to two reasons. - Case 1. The configuration of the node is wrong such, as the binary version. - Case 2. There’s a problem with the code. It is very likely that other nodes will also experience the same problem. | This error is critical, so if you see any bad block, please make an issue or report it to the Kaia GitHub repository. |
ConsensusIstanbulCore | CN/PN/EN | Drop an empty message from timeout channel | It means that the round change timer will expire. This error is printed if the timer closes accidentally. | The error may occur when the downloader is started. check next log is also printed: Block synchronisation started . |
NetworksP2P | CN/PN/EN | Protocol istanbul/64 failed id=04680a827fa1b240 conn=staticdial err="write tcp 10.117.2.105:34396->10.117.2.27:32323: use of closed etwork connection" Protocol istanbul/64 failed err="shutting down" | This log can be printed when the other node is disconnected. It is usually followed by Disconnected a P2P Peer log. | Check if the disconnected peer is reconnected again. If it is not reconnected, check the network status or peer connection admin_peers |
NodeCN | CN | fail to SendNewBlockHashes err="write tcp 10.117.2.124:24108->10.117.2.108:32323: use of closed network connection" fail to SendNewBlockHashes err="shutting down" | same as Protocol istanbul/64 failed | same as Protocol istanbul/64 failed |
NodeCN | CN | fail to SendNewBlock peer=d35220eccdb0de7b err="shutting down" | same as Protocol istanbul/64 failed | same as Protocol istanbul/64 failed |
NetworksRPC | EN (mostly) | FastWebsocketHandler fail to upgrade message error="websocket: version != 13" | Version issue of WebSocket connection | The header of the request should contain Sec-Websocket-Version field with the value set at 13. You may not have used kaia rpc client. |
Warn Logs
Log Type | Node Type | Log Message | Description | Suggested Guide |
---|---|---|---|---|
Blockchain | CN/PN/EN | Upgrade database version from=N/A to=3 | It is logged at the beginning of the node start-up | You don't need to handle this. |
ConsensusIstanbulCore | CN | [RC] round= | Round change log is started with [RC] tag. | If the round does not end in one or two rounds and continues to go up, then the network status or peer connection should be analyzed first. peer connection check api: admin_peers |
ConsensusIstanbulCore | CN | unexpected request address= state="Accept request" seq=312 err="old message" number=311 hash=d960ea…6df6de | A proposer mines a block, but it is turned out unexpected. In most cases, it is too old to be a new block. | You don't need to handle this. |
Node | CN/PN/EN | Failed doConnTypeHandshake addr=10.117.2.252:28516 conn=inbound conntype=-1 err="read tcp 10.117.2.78:32324->10.117.2.252:28516: i/o timeout | By dialing, the two P2P peers setup a connection. This log is printed if the setup fails. | Check if the disconnected peer is reconnected again. If not, check the network status or peer connection peer connection check api: admin_peers |
NodeCN | PN/EN | Failed to filter bodies peer=c02e4b4d471c56b9 lenTxs=1 | A node received the unwanted block header of body when fetching. - lenTxs: non-requested number of txs | You don't need to handle this. |
Work | CN | Transaction aborted due to time limit hash= | The block execution time when mining should not exceed 250ms, so the last transaction can be aborted due to this time limit. | Confirm that the transaction enters the block. |
Work | CN | Transaction failed, account skipped hash=b1b26c...6b220a err="insufficient balance for transfer" Error(before v1.6.2) Warn(after v1.6.2) | When a transaction cannot be executed during mining due to an insufficient balance in the from account (Theoretically, it occurs when the balance was sufficient at the time when the transaction was created and entered the txpool, but not at the actual execution time.) | Check if the from account is really out of balance. |