Failed constructing descriptor for chaincode chaincodes:<name:"mycc" > ,: cannot satisfy any principal combination


Siddharth Jain
 

Hello,

Does anyone know what this error is about? we get this error when trying to submit a transaction using the fabric-network:2.1.0 library

const result = await contract.submitTransaction('foo', 'bar');

2020-06-11T19:07:50.180Z - error: [DiscoveryService]: send[mycc] - Channel:tracktrace received discovery error:failed constructing descriptor for chaincodes:<name:"mycc" >
Error processing transaction. Error: DiscoveryService: mycc error: failed constructing descriptor for chaincodes:<name:"mycc" >
Error: DiscoveryService: mycc error: failed constructing descriptor for chaincodes:<name:"mycc" >

peer log:

Failed constructing descriptor for chaincode chaincodes:<name:"mycc" > ,: cannot satisfy any principal combination

our connection profile is like this:

---
name: any-name
version: 1.0.0
client:
  organization: Org1
  connection:
    timeout:
      peer:
        endorser: '300'
organizations:
  Biotor:
    mspid: Org1MSP
    peers:
    - peer0.Org1.com
peers:
  peer0.orgBiotor.example.com:
    url: grpc://localhost:8051
   
the peer is running on localhost:8051. we are not using any docker or TLS.

Sid

Join fabric@lists.hyperledger.org to automatically receive all group messages.