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

weixin_45817383 2022-05-31 13:00:58

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

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}
 

...全文
301 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
CSDN-Ada助手 2023-01-13
  • 打赏
  • 举报
回复
您可以前往 CSDN问答-Java 发布问题, 以便更快地解决您的疑问

791

社区成员

发帖
与我相关
我的任务
社区描述
区块链技术专区
区块链 技术论坛(原bbs)
社区管理员
  • 区块链技术
  • ccc908
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧