接入Hyperledger Fabric 1.4部署出错怎么解决

weixin_45817383 weixin_45817383 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

部署时这样报错怎么解决呢

WeCrossProxy has not been deployed to: [Org1, Org2]
path: classpath:chains/fabric/chaincode/WeCrossProxy/
Install WeCrossProxy:1653972675 to Org1 ...
WARNING: asyncCustomCommand install: Install chaincode query to endorser exception: java.lang.Exception: org.hyperledger.fabric.sdk.exception.TransactionException: org.hyperledger.fabric.sdk.exception.ProposalException: getConfigBlock for channel mychannel failed with peer peer1.  Status FAILURE, details: Channel Channel{id: 12, name: mychannel} Sending proposal with transaction: 95d0ee0b5ac7ec5a7698be49f619e2dda6fa588debbbb0844c71d6c96a1c8eea to Peer{ id: 10, name: peer1, channelName: mychannel, url: grpcs://localhost:9051} failed because of: gRPC failure=Status{code=UNKNOWN, description=access denied: channel [mychannel] creator org [Org1MSP], cause=null}
path: classpath:chains/fabric/chaincode/WeCrossProxy/
Install WeCrossProxy:1653972675 to Org2 ...
WARNING: asyncCustomCommand install: Install chaincode query to endorser exception: java.lang.Exception: org.hyperledger.fabric.sdk.exception.TransactionException: org.hyperledger.fabric.sdk.exception.ProposalException: getConfigBlock for channel mychannel failed with peer peer1.  Status FAILURE, details: Channel Channel{id: 12, name: mychannel} Sending proposal with transaction: 4b415e8acaf712aa6138882c2cdf841113acfa9e0498ffcf9e6a45b4c2ae65f3 to Peer{ id: 10, name: peer1, channelName: mychannel, url: grpcs://localhost:9051} failed because of: gRPC failure=Status{code=UNKNOWN, description=access denied: channel [mychannel] creator org [Org1MSP], cause=null}
Instantiating WeCrossProxy:1653972675 to [Org1, Org2] ...
java.lang.Exception: ERROR: asyncCustomCommand instantiate error: Install chaincode query to endorser exception: java.lang.Exception: org.hyperledger.fabric.sdk.exception.TransactionException: org.hyperledger.fabric.sdk.exception.ProposalException: getConfigBlock for channel mychannel failed with peer peer1.  Status FAILURE, details: Channel Channel{id: 12, name: mychannel} Sending proposal with transaction: feb4e581c92c8c5bb3820e03b8ea6015237459ef5233245deb1ab11febfeb56d to Peer{ id: 10, name: peer1, channelName: mychannel, url: grpcs://localhost:9051} failed because of: gRPC failure=Status{code=UNKNOWN, description=access denied: channel [mychannel] creator org [Org1MSP], cause=null}
 

...全文
评论 1
收藏 已收藏
分享
返回顶部