Closed building39 closed 5 years ago
I might add that this peer is running on a virtual machine, not in a docker container.
I would suggest you to update Iroha to rc2 first. Beta 5 is a pretty old now.
We are moving issues to Jira at the moment. If Konstantin's solution does not work, please contact us in chat - we will find a way: https://chat.hyperledger.org/channel/iroha
I have managed to successfully build (I think) the 1.0.0_beta_5 branch, but the examples in the
Getting started
doc don't seem to work. My config file looks like:[2019-01-13 14:50:27.337290874][th:2965][info] IROHAD [Init] => storage [2019-01-13 14:50:27.347855459][th:2965][info] StorageImpl drop wsv records from db tables [2019-01-13 14:50:27.367309330][th:2965][info] StorageImpl drop blocks from disk [2019-01-13 14:50:27.367753906][th:2965][info] StorageImpl create mutable storage [2019-01-13 14:50:27.367856657][th:2965][info] FlatFile get(0) file not found [2019-01-13 14:50:27.368764854][th:2965][info] MutableStorage Applying block: height 1, hash b328009b869a5c8809f2ffeeb362a34526b8c1fad626fedf156698b5554c1e75 [2019-01-13 14:50:27.382140435][th:2965][info] StorageImpl insert blocks finished [2019-01-13 14:50:27.382317167][th:2965][info] IROHAD [Init] => crypto provider [2019-01-13 14:50:27.382347611][th:2965][info] IROHAD [Init] => transaction batch parser [2019-01-13 14:50:27.382516114][th:2965][info] IROHAD [Init] => validators [2019-01-13 14:50:27.383731985][th:2965][info] IROHAD [Init] => factories [2019-01-13 14:50:27.385042751][th:2965][info] OrderingInit Ordering gate is at 0.0.0.0:10001 [2019-01-13 14:50:27.386499887][th:2965][info] StorageImpl create ordering service persistent state [2019-01-13 14:50:27.390678218][th:2965][info] OrderingInit Creating Ordering Gate with initial height 1 [2019-01-13 14:50:27.390868027][th:2965][info] AsyncGrpcClient Subscribe [2019-01-13 14:50:27.391022586][th:2965][info] IROHAD [Init] => init ordering gate - [true] [2019-01-13 14:50:27.391375498][th:2965][info] IROHAD [Init] => init simulator [2019-01-13 14:50:27.391503587][th:2965][info] IROHAD [Init] => init consensus block cache [2019-01-13 14:50:27.391718429][th:2965][info] IROHAD [Init] => block loader [2019-01-13 14:50:27.393107779][th:2965][info] IROHAD [Init] => consensus gate [2019-01-13 14:50:27.393470250][th:2965][info] IROHAD [Init] => synchronizer [2019-01-13 14:50:27.393792753][th:2965][info] OrderingGate setPcs [2019-01-13 14:50:27.394568533][th:2965][info] IROHAD [Init] => pcs [2019-01-13 14:50:27.394882208][th:2965][info] IROHAD [Init] => Tx status bus [2019-01-13 14:50:27.395377308][th:2965][info] IROHAD [Init] => MST processor [2019-01-13 14:50:27.395681019][th:2965][info] IROHAD [Init] => pending transactions storage [2019-01-13 14:50:27.396354222][th:2965][info] IROHAD [Init] => command service [2019-01-13 14:50:27.396716934][th:2965][info] IROHAD [Init] => query service [2019-01-13 14:50:27.396882438][th:2965][info] MAIN Running iroha [2019-01-13 14:50:27.398442313][th:2965][info] IROHAD Torii server bound on port 50051 [2019-01-13 14:50:27.398908860][th:2965][info] IROHAD Internal server bound on port 10001 [2019-01-13 14:50:27.399072925][th:2965][info] IROHAD ===> iroha initialized [2019-01-13 14:53:56.702340329][th:2992][info] TxProcessor handle batch [2019-01-13 14:53:56.702466508][th:2992][info] TxProcessor propagating batch to PCS [2019-01-13 14:53:56.702780017][th:2992][info] PCS propagate batch [2019-01-13 14:53:56.702826341][th:2992][info] OrderingGate propagate batch, account_id: admin@test [2019-01-13 14:53:56.702875588][th:2992][info] AsyncGrpcClient Propagate transaction batch (on transport) [2019-01-13 14:53:56.704800291][th:2984][info] AsyncGrpcClient OrderingServiceTransportGrpc::onBatch [2019-01-13 14:53:56.705043228][th:2984][info] OrderingServiceImpl Queue size is 1 [2019-01-13 14:53:57.386236623][th:2979][info] OrderingServiceImpl Start proposal generation [2019-01-13 14:53:57.388167786][th:2979][info] StorageImpl create ordering service persistent state [2019-01-13 14:53:57.388261442][th:2979][info] PostgresOrderingServicePersistentState Save proposal_height in ordering_service_state 4 [2019-01-13 14:53:57.392543019][th:2979][info] AsyncGrpcClient OrderingServiceTransportGrpc::publishProposal [2019-01-13 14:53:57.395254346][th:3006][info] AsyncGrpcClient receive proposal [2019-01-13 14:53:57.396786393][th:3006][info] AsyncGrpcClient transactions in proposal: 1 [2019-01-13 14:53:57.396824017][th:3006][info] OrderingGate Received new proposal, height: 3```
The failure loop noted above does not recur. However, entering the query as instructed in the
Getting Started
guide does not give the expected results:What might I be doing wrong?