iroha
iroha copied to clipboard
[BUG] 10001 Deadline Exceeded on the asset creation transaction transaction
OS and Environment
Windows 11, Docker with WSL integration.
GIT commit hash
61790ae
Minimum working example / Steps to reproduce
- For a single peer on
localhost, the transaction is getting committed successfully - Iroha network is extended with a peer
- When a user makes a transaction, it passes the stateless validation.
- There is no change in the transaction status after that.
- The RPC error occurs during the consensus. Due to this, the voting still needs to be done, and the consensus attempts to request votes for the proposal in a loop.
- Ultimately, the transaction is not getting either comitted or rejected.
- The logs show this error:
RPC failed: <ip address>:10001 Deadline Exceeded.
Actual result
The error log is provided below.
Expected result
A transaction is committed successfully.
Logs in JSON format
Log contents
[2023-03-22 09:27:03.553816418][I][Irohad/Consensus/Network]: Send votes bundle[size=1] for Round: [block=2, reject=0] to Peer: [address=[10.0.12.161:10001](http://10.0.12.161:10001/), pubkey=313a07e6384776ed95447710d15e59148473ccfc052a681317a72a69f2a49910, tlsCertificate=0, IsSyncing=0]
2023-03-22 14:57:08 [2023-03-22 09:27:08.554473459][W][Irohad/Consensus/Network]: RPC failed: <ip address>:10001 Deadline Exceeded
2023-03-22 14:57:10 [2023-03-22 09:27:10.553677967][I][Irohad/Consensus/HashGate]: votingStep got vote: VoteMessage: [yac hash=YacHash: [round=Round: [block=2, reject=0], hashes=VoteHashes: [proposal=, block=]], signature=Signature: [publicKey=313a07e6384776ed95447710d15e59148473ccfc052a681317a72a69f2a49910, signedData=c58a853e858f446ccd3794ab78679ae9199192098f58f15514da80824366d317861b3751479e11af7219e9928eebefe6fc9a95dacad1a0569470ec9a87aae90b]], attempt 491
2023-03-22 14:57:10 [2023-03-22 09:27:10.553791585][I][Irohad/Consensus/HashGate]: Vote VoteMessage: [yac hash=YacHash: [round=Round: [block=2, reject=0], hashes=VoteHashes: [proposal=, block=]], signature=Signature: [publicKey=313a07e6384776ed95447710d15e59148473ccfc052a681317a72a69f2a49910, signedData=c58a853e858f446ccd3794ab78679ae9199192098f58f15514da80824366d317861b3751479e11af7219e9928eebefe6fc9a95dacad1a0569470ec9a87aae90b]] to peer Peer: [address=<ip address>:10001, pubkey=bddd58404d1315e0eb27902c5d7c8eb0602c16238f005773df406bc191308929, tlsCertificate=0, IsSyncing=0]
2023-03-22 14:57:10 [2023-03-22 09:27:10.554015327][I][Irohad/Consensus/Network]: Send votes bundle[size=1] for Round: [block=2, reject=0] to Peer: [address=<ip address>:10001, pubkey=bddd58404d1315e0eb27902c5d7c8eb0602c16238f005773df406bc191308929, tlsCertificate=0, IsSyncing=0]
2023-03-22 14:57:15 [2023-03-22 09:27:15.555365142][W][Irohad/Consensus/Network]: RPC failed: <ip address> :10001 Deadline Exceeded
2023-03-22 14:57:17 [2023-03-22 09:27:17.554067035][I][Irohad/Consensus/HashGate]: votingStep got vote: VoteMessage: [yac hash=YacHash: [round=Round: [block=2, reject=0], hashes=VoteHashes: [proposal=, block=]], signature=Signature: [publicKey=313a07e6384776ed95447710d15e59148473ccfc052a681317a72a69f2a49910, signedData=c58a853e858f446ccd3794ab78679ae9199192098f58f15514da80824366d317861b3751479e11af7219e9928eebefe6fc9a95dacad1a0569470ec9a87aae90b]], attempt 492
Who can help to reproduce?
@iceseer @baziorek
Notes
Reported today by Bhavana Vemuri.
Grzegorz wrote that in his experience when adding a peer, none of the new ones can appear on localhost and that copying the blocks and restarting was needed.
He also recommended Iroha documentation.
@6r1d I need more information to investigate:
- Config files for both peers
- Genesis block
- Block with transaction to add peer.
- Block list on both peers
- IP addressed of peers