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.
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.
OS and Environment
Windows 11, Docker with WSL integration.
GIT commit hash
61790ae
Minimum working example / Steps to reproduce
localhost
, the transaction is getting committed successfullyRPC 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
```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: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.