planetarium / libplanet

Blockchain in C#/.NET for on-chain, decentralized gaming
https://docs.libplanet.io/
GNU Lesser General Public License v2.1
506 stars 142 forks source link

System.Collections.Generic.KeyNotFoundException: No such transaction Error #1214

Closed area363 closed 1 year ago

area363 commented 3 years ago

The following ERR message sometimes appears when running headless.

[08:28:11 DBG] Received a BlockHeader #1027099 f202a5c6ef231e0050ddc8d070240a9379f58d142f74621a18f98204625c43d0.
[08:28:11 DBG] No blocks are required (current: 1027099, demand: 1027099, received: 1027099); BlockHeaderMessage is ignored.
[08:28:11 DBG] A message has parsed: Libplanet.Net.Messages.GetTxs, from 0xc6f26d16f3B4dce86E67472f5683228D05A42C02.Unspecified/3.139.88.164:56581.73.211.200.225
[08:28:11 ERR] Something went wrong during message parsing: System.Collections.Generic.KeyNotFoundException: No such transaction: bd752900dcad98601ee13d59d9176dd35d4a688438f1afa7a967639d67c2ce0c
   at Libplanet.Blockchain.BlockChain`1.GetTransaction(TxId txId) in /app/Lib9c/.Libplanet/Libplanet/Blockchain/BlockChain.cs:line 470
   at Libplanet.Net.Swarm`1.TransferTxs(GetTxs getTxs) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 170
   at Libplanet.Net.Swarm`1.ProcessMessageHandler(Object target, Message message) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 88
   at Libplanet.Net.NetMQTransport.ReceiveMessage(Object sender, NetMQSocketEventArgs e) in /app/Lib9c/.Libplanet/Libplanet/Net/NetMQTransport.cs:line 545
System.Collections.Generic.KeyNotFoundException: No such transaction: bd752900dcad98601ee13d59d9176dd35d4a688438f1afa7a967639d67c2ce0c
   at Libplanet.Blockchain.BlockChain`1.GetTransaction(TxId txId) in /app/Lib9c/.Libplanet/Libplanet/Blockchain/BlockChain.cs:line 470
   at Libplanet.Net.Swarm`1.TransferTxs(GetTxs getTxs) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 170
   at Libplanet.Net.Swarm`1.ProcessMessageHandler(Object target, Message message) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 88
   at Libplanet.Net.NetMQTransport.ReceiveMessage(Object sender, NetMQSocketEventArgs e) in /app/Lib9c/.Libplanet/Libplanet/Net/NetMQTransport.cs:line 545
[08:28:11 ERR] An unexpected exception occurred during ReceiveMessage(): System.Collections.Generic.KeyNotFoundException: No such transaction: bd752900dcad98601ee13d59d9176dd35d4a688438f1afa7a967639d67c2ce0c
   at Libplanet.Blockchain.BlockChain`1.GetTransaction(TxId txId) in /app/Lib9c/.Libplanet/Libplanet/Blockchain/BlockChain.cs:line 470
   at Libplanet.Net.Swarm`1.TransferTxs(GetTxs getTxs) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 170
   at Libplanet.Net.Swarm`1.ProcessMessageHandler(Object target, Message message) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 88
   at Libplanet.Net.NetMQTransport.ReceiveMessage(Object sender, NetMQSocketEventArgs e) in /app/Lib9c/.Libplanet/Libplanet/Net/NetMQTransport.cs:line 545
System.Collections.Generic.KeyNotFoundException: No such transaction: bd752900dcad98601ee13d59d9176dd35d4a688438f1afa7a967639d67c2ce0c
   at Libplanet.Blockchain.BlockChain`1.GetTransaction(TxId txId) in /app/Lib9c/.Libplanet/Libplanet/Blockchain/BlockChain.cs:line 470
   at Libplanet.Net.Swarm`1.TransferTxs(GetTxs getTxs) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 170
   at Libplanet.Net.Swarm`1.ProcessMessageHandler(Object target, Message message) in /app/Lib9c/.Libplanet/Libplanet/Net/Swarm.MessageHandlers.cs:line 88
   at Libplanet.Net.NetMQTransport.ReceiveMessage(Object sender, NetMQSocketEventArgs e) in /app/Lib9c/.Libplanet/Libplanet/Net/NetMQTransport.cs:line 545
[08:28:11 DBG] A message has parsed: Libplanet.Net.Messages.BlockHeaderMessage, from 0x1Eb0e678FE417221f74D5c721BD68388cEd8BE4a.Unspecified/3.139.88.164:52757.3.137.189.15
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.