hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
434 stars 277 forks source link

[BUG] 10001 Deadline Exceeded on the asset creation transaction transaction #3320

Open 6r1d opened 1 year ago

6r1d commented 1 year ago

OS and Environment

Windows 11, Docker with WSL integration.

GIT commit hash

61790ae

Minimum working example / Steps to reproduce

Actual result

The error log is provided below.

Expected result

A transaction is committed successfully.

Logs in JSON format

Log contents ```text [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: :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=: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=: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: :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.

baziorek commented 1 year ago

@6r1d I need more information to investigate:

  1. Config files for both peers
  2. Genesis block
  3. Block with transaction to add peer.
  4. Block list on both peers
  5. IP addressed of peers