我正在创建一个有5个对等点的fabric网络。
在机器1上运行的2个对等方、CA和订购方,
机器2上的1个对等和沙发实例,
机器3上的1个对等和沙发实例,
他们都在同一频道。我可以将.bna安装到网络中。但是当我尝试使用composer工具启动应用程序时,使用以下命令
“作曲家网络启动-c PeerAdmin@hlfv1-n blockv6-V 0.0.1-A admin-S adminpw”
正在启动业务网络定义。这可能需要一分钟。。。
错误:尝试启动业务网络时出错。错误:没有来自任何对等方的有效响应。
尝试的对等通信的响应是错误:错误:2未知:链码错误(状态:500,消息:不是有效的认可系统链码)
尝试的对等通信的响应是错误:错误:2未知:链码错误(状态:500,消息:未知链码类型:节点)
尝试的对等通信的响应是错误:错误:2未知:链码错误(状态:500,消息:未知链码类型:节点)
命令失败
{
"name": "hlfv1",
"x-type": "hlfv1",
"x-commitTimeout": 300,
"version": "1.0.0",
"client": {
"organization": "Org1",
"connection": {
"timeout": {
"peer": {
"endorser": "300",
"eventHub": "300",
"eventReg": "300"
},
"orderer": "300"
}
}
},
"channels": {
"composerchannel": {
"orderers": [
"orderer.example.com"
],
"peers": {
"peer0.org1.example.com": {},
"peer1.org1.example.com": {},
"peer2.org1.example.com": {},
"peer3.org1.example.com": {},
"peer4.org1.example.com": {}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com",
"peer1.org1.example.com",
"peer2.org1.example.com",
"peer3.org1.example.com",
"peer4.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
}
},
"orderers": {
"orderer.example.com": {
"url": "grpc://${HOST}:7050"
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpc://${HOST}:7051",
"eventUrl": "grpc://${HOST}:7053"
},
"peer1.org1.example.com": {
"url": "grpc://${HOST}:8051",
"eventUrl": "grpc://${HOST}:8053"
},
"peer2.org1.example.com": {
"url": "grpc://<machineIP>:9051"
},
"peer3.org1.example.com": {
"url": "grpc://<machineIP>:9051"
},
"peer4.org1.example.com": {
"url": "grpc://<machineIP>:9051"
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "http://${HOST}:7054",
"caName": "ca.org1.example.com"
}
}
}