搭建fabric kafka集群,3个order、3个zookeeper、4个kafka、2个peer。
peer0创建channel,安装并初始化chaincode成功,但是在peer1上执行下面命令:
peer chaincode invoke --tls --cafile $ORDERER_CA -C mychannel -n mycc -c '{"Args":["invoke","a","b","20"]}'
报错如下:
Error: endorsement failure during invoke. response: status:500 message:"make sure the chaincode mycc has been successfully instantiated and try again: chaincode mycc not found"
在peer0上执行是没有问题的。
尝试在peer1上创建channel,报错如下:
Error: timeout waiting for channel creation
请问该如何解决呢?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…