Hyperledger fabric Hyperledger多订购方HA在单个组织内
我们正在尝试部署高可用性订购服务,但遇到了错误 hyperledger结构的配置为: 第一个VM(192.168.1.5):Hyperledger fabric Hyperledger多订购方HA在单个组织内,hyperledger-fabric,hyperledger,Hyperledger Fabric,Hyperledger,我们正在尝试部署高可用性订购服务,但遇到了错误 hyperledger结构的配置为: 第一个VM(192.168.1.5): CA couchdb 订购者0 peer0(已连接到Order0) peer1(已连接到Order0) 卡夫卡 动物园管理员 第二个VM(192.168.1.6): couchdb 订购者1 peer2(连接到Order1) peer3(连接到Order1) 没有错误,在这两个虚拟机上使用composer Playerd,我们可以在第一个虚拟机上成功地创建新的参与
- CA
- couchdb
- 订购者0
- peer0(已连接到Order0)
- peer1(已连接到Order0)
- 卡夫卡
- 动物园管理员
- couchdb
- 订购者1
- peer2(连接到Order1)
- peer3(连接到Order1)
Error: Error trying invoke business network. Error: SERVICE_UNAVAILABLE
Order1日志(VM2):
编写器控制台输出(VM2):
正如我所想,如果所有Order实例都使用Kafka或我错了,那么它们都拥有彼此的所有数据
2018-10-30 13:32:34.427 UTC [couchdb] CreateDatabaseIfNotExist -> INFO 03d Created state database composerchannel_sp
2018-10-30 13:32:38.348 UTC [cceventmgmt] HandleStateUpdates -> INFO 03e Channel [composerchannel]: Handling LSCC state update for chaincode [sp]
2018-10-30 13:32:38.398 UTC [couchdb] CreateIndex -> INFO 03f Created CouchDB index [selectDocumentsByRepo] in state database [composerchannel_sp] using design document [_design/selectDocumentsByRepoDoc]
2018-10-30 13:32:38.405 UTC [kvledger] CommitWithPvtData -> INFO 040 Channel [composerchannel]: Committed block [1] with 1 transaction(s)
2018-10-30 13:32:38.458 UTC [common/deliver] deliverBlocks -> WARN 041 [channel: composerchannel] Error sending to 192.168.1.5:57178: rpc error: code = Unknown desc = the stream has been done
2018-10-30 13:32:59.971 UTC [kvledger] CommitWithPvtData -> INFO 042 Channel [composerchannel]: Committed block [2] with 1 transaction(s)
2018-10-30 13:32:59.991 UTC [common/deliver] deliverBlocks -> WARN 043 [channel: composerchannel] Error sending to 192.168.1.5:57198: rpc error: code = Unknown desc = the stream has been done
2018-10-30 13:35:43.340 UTC [kvledger] CommitWithPvtData -> INFO 044 Channel [composerchannel]: Committed block [3] with 1 transaction(s)
2018-10-30 13:35:43.386 UTC [common/deliver] deliverBlocks -> WARN 045 [channel: composerchannel] Error sending to 192.168.1.5:57458: rpc error: code = Unknown desc = the stream has been done
2018-10-30 13:35:43.386 UTC [common/deliver] deliverBlocks -> WARN 046 [channel: composerchannel] Error sending to 192.168.1.5:57430: rpc error: code = Unknown desc = the stream has been done
2018-10-30 13:35:43.386 UTC [common/deliver] deliverBlocks -> WARN 047 [channel: composerchannel] Error sending to 192.168.1.5:57448: rpc error: code = Unknown desc = the stream has been done
2018-10-30 13:35:56.150 UTC [kvledger] CommitWithPvtData -> INFO 048 Channel [composerchannel]: Committed block [4] with 1 transaction(s)
(node:20567) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:20567) UnhandledPromiseRejectionWarning: Error: Failed to receive commit notification from 192.168.1.5:8051 for transaction 'a6ea73f6cf24d8e4cca5ee7ab273d417b6dfd9abfd2f027afeda5dd60538c4ce' within the timeout period