791
社区成员
部署时这样报错怎么解决呢
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}