Giter Site home page Giter Site logo

[channel: mychannel1] Rejecting broadcast of config message from 172.26.0.11:35706 because of error: error validating channel creation transaction for new channel 'mychannel1', could not succesfully apply update to template configuration: error authorizing update: error validating ReadSet: existing config does not contain element for [Group] /Channel/Application/Org2MSP but was in the read set about docker-compose-files HOT 4 CLOSED

 avatar commented on August 10, 2024
[channel: mychannel1] Rejecting broadcast of config message from 172.26.0.11:35706 because of error: error validating channel creation transaction for new channel 'mychannel1', could not succesfully apply update to template configuration: error authorizing update: error validating ReadSet: existing config does not contain element for [Group] /Channel/Application/Org2MSP but was in the read set

from docker-compose-files.

Comments (4)

yeasy avatar yeasy commented on August 10, 2024

@vineethmsrcosmos fabric 2.0 is not released yet.
But from your logs, guess you were using wrong config.

from docker-compose-files.

 avatar commented on August 10, 2024

In the hyperledger fabric offical docementation they give fabric 2.0 samples.
can u told where i did mistake in which config file??

from docker-compose-files.

 avatar commented on August 10, 2024

Organizations:

  • Name: OrdererOrg
    ID: OrdererMSP
    MSPDir: crypto-config/ordererOrganizations/example.com/msp
    Policies:
    Readers:
    Type: Signature
    Rule: OR('OrdererMSP.member')
    Writers:
    Type: Signature
    Rule: OR('OrdererMSP.member')
    Admins:
    Type: Signature
    Rule: OR('OrdererMSP.admin')
  • Name: Org1MSP
    ID: Org1MSP
    MSPDir: crypto-config/peerOrganizations/org1.example.com/msp
    Policies:
    Readers:
    Type: Signature
    Rule: OR('Org1MSP.admin', 'Org1MSP.peer', 'Org1MSP.client')
    Writers:
    Type: Signature
    Rule: OR('Org1MSP.admin', 'Org1MSP.client')
    Admins:
    Type: Signature
    Rule: OR('Org1MSP.admin')
    Endorsement:
    Type: Signature
    Rule: OR('Org1MSP.peer')
    AnchorPeers:
    • Host: peer0.org1.example.com
      Port: 7051
  • Name: Org2MSP
    ID: Org2MSP
    MSPDir: crypto-config/peerOrganizations/org2.example.com/msp
    Policies:
    Readers:
    Type: Signature
    Rule: OR('Org2MSP.admin', 'Org2MSP.peer', 'Org2MSP.client')
    Writers:
    Type: Signature
    Rule: OR('Org2MSP.admin', 'Org2MSP.client')
    Admins:
    Type: Signature
    Rule: OR('Org2MSP.admin')
    Endorsement:
    Type: Signature
    Rule: OR('Org2MSP.peer')
    AnchorPeers:
    • Host: peer0.org2.example.com
      Port: 9051
      Capabilities:
      Channel:
      V2_0: true
      Orderer:
      V2_0: true
      Application:
      V2_0: true
      Application:
      Organizations:
      Policies:
      Readers:
      Type: ImplicitMeta
      Rule: ANY Readers
      Writers:
      Type: ImplicitMeta
      Rule: ANY Writers
      Admins:
      Type: ImplicitMeta
      Rule: MAJORITY Admins
      LifecycleEndorsement:
      Type: ImplicitMeta
      Rule: MAJORITY Endorsement
      Endorsement:
      Type: ImplicitMeta
      Rule: MAJORITY Endorsement
      Capabilities:
      V2_0: true
      Orderer:
      OrdererType: etcdraft
      EtcdRaft:
      Consenters:
      • Host: orderer.example.com
        Port: 7050
        ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
      • Host: orderer2.example.com
        Port: 8050
        ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
      • Host: orderer3.example.com
        Port: 9050
        ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
      • Host: orderer4.example.com
        Port: 10050
        ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
      • Host: orderer5.example.com
        Port: 11050
        ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt
        Addresses:
    • orderer.example.com:7050
    • orderer2.example.com:8050
    • orderer3.example.com:9050
    • orderer4.example.com:10050
    • orderer5.example.com:11050
      BatchTimeout: 2s
      BatchSize:
      MaxMessageCount: 10
      AbsoluteMaxBytes: 99 MB
      PreferredMaxBytes: 512 KB
      Organizations:
      Policies:
      Readers:
      Type: ImplicitMeta
      Rule: ANY Readers
      Writers:
      Type: ImplicitMeta
      Rule: ANY Writers
      Admins:
      Type: ImplicitMeta
      Rule: MAJORITY Admins
      BlockValidation:
      Type: ImplicitMeta
      Rule: ANY Writers
      Channel:
      Policies:
      Readers:
      Type: ImplicitMeta
      Rule: ANY Readers
      Writers:
      Type: ImplicitMeta
      Rule: ANY Writers
      Admins:
      Type: ImplicitMeta
      Rule: MAJORITY Admins
      Capabilities:
      V2_0: true
      Profiles:
      TwoOrgsChannel:
      Consortium: SampleConsortium
      Policies:
      Readers:
      Type: ImplicitMeta
      Rule: ANY Readers
      Writers:
      Type: ImplicitMeta
      Rule: ANY Writers
      Admins:
      Type: ImplicitMeta
      Rule: MAJORITY Admins
      Capabilities:
      V2_0: true
      Application:
      Organizations:
      • Name: Org1MSP
        ID: Org1MSP
        MSPDir: crypto-config/peerOrganizations/org1.example.com/msp
        Policies:
        Readers:
        Type: Signature
        Rule: OR('Org1MSP.admin', 'Org1MSP.peer', 'Org1MSP.client')
        Writers:
        Type: Signature
        Rule: OR('Org1MSP.admin', 'Org1MSP.client')
        Admins:
        Type: Signature
        Rule: OR('Org1MSP.admin')
        Endorsement:
        Type: Signature
        Rule: OR('Org1MSP.peer')
        AnchorPeers:
        • Host: peer0.org1.example.com
          Port: 7051
      • Name: Org2MSP
        ID: Org2MSP
        MSPDir: crypto-config/peerOrganizations/org2.example.com/msp
        Policies:
        Readers:
        Type: Signature
        Rule: OR('Org2MSP.admin', 'Org2MSP.peer', 'Org2MSP.client')
        Writers:
        Type: Signature
        Rule: OR('Org2MSP.admin', 'Org2MSP.client')
        Admins:
        Type: Signature
        Rule: OR('Org2MSP.admin')
        Endorsement:
        Type: Signature
        Rule: OR('Org2MSP.peer')
        AnchorPeers:
        • Host: peer0.org2.example.com
          Port: 9051
          Policies:
          Readers:
          Type: ImplicitMeta
          Rule: ANY Readers
          Writers:
          Type: ImplicitMeta
          Rule: ANY Writers
          Admins:
          Type: ImplicitMeta
          Rule: MAJORITY Admins
          LifecycleEndorsement:
          Type: ImplicitMeta
          Rule: MAJORITY Endorsement
          Endorsement:
          Type: ImplicitMeta
          Rule: MAJORITY Endorsement
          Capabilities:
          V2_0: true
          SampleMultiNodeEtcdRaft:
          Policies:
          Readers:
          Type: ImplicitMeta
          Rule: ANY Readers
          Writers:
          Type: ImplicitMeta
          Rule: ANY Writers
          Admins:
          Type: ImplicitMeta
          Rule: MAJORITY Admins
          Capabilities:
          V2_0: true
          Orderer:
          OrdererType: etcdraft
          EtcdRaft:
          Consenters:
        • Host: orderer.example.com
          Port: 7050
          ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
          ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
        • Host: orderer2.example.com
          Port: 8050
          ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
          ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/server.crt
        • Host: orderer3.example.com
          Port: 9050
          ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
          ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
        • Host: orderer4.example.com
          Port: 10050
          ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
          ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
        • Host: orderer5.example.com
          Port: 11050
          ClientTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt
          ServerTLSCert: crypto-config/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt
          Addresses:
      • orderer.example.com:7050
      • orderer2.example.com:8050
      • orderer3.example.com:9050
      • orderer4.example.com:10050
      • orderer5.example.com:11050
        BatchTimeout: 2s
        BatchSize:
        MaxMessageCount: 10
        AbsoluteMaxBytes: 99 MB
        PreferredMaxBytes: 512 KB
        Organizations:
      • Name: OrdererOrg
        ID: OrdererMSP
        MSPDir: crypto-config/ordererOrganizations/example.com/msp
        Policies:
        Readers:
        Type: Signature
        Rule: OR('OrdererMSP.member')
        Writers:
        Type: Signature
        Rule: OR('OrdererMSP.member')
        Admins:
        Type: Signature
        Rule: OR('OrdererMSP.admin')
        Policies:
        Readers:
        Type: ImplicitMeta
        Rule: ANY Readers
        Writers:
        Type: ImplicitMeta
        Rule: ANY Writers
        Admins:
        Type: ImplicitMeta
        Rule: MAJORITY Admins
        BlockValidation:
        Type: ImplicitMeta
        Rule: ANY Writers
        Capabilities:
        V2_0: true
        Application:
        Organizations:
      • Name: OrdererOrg
        ID: OrdererMSP
        MSPDir: crypto-config/ordererOrganizations/example.com/msp
        Policies:
        Readers:
        Type: Signature
        Rule: OR('OrdererMSP.member')
        Writers:
        Type: Signature
        Rule: OR('OrdererMSP.member')
        Admins:
        Type: Signature
        Rule: OR('OrdererMSP.admin')
        Policies:
        Readers:
        Type: ImplicitMeta
        Rule: ANY Readers
        Writers:
        Type: ImplicitMeta
        Rule: ANY Writers
        Admins:
        Type: ImplicitMeta
        Rule: MAJORITY Admins
        LifecycleEndorsement:
        Type: ImplicitMeta
        Rule: MAJORITY Endorsement
        Endorsement:
        Type: ImplicitMeta
        Rule: MAJORITY Endorsement
        Capabilities:
        V2_0: true
        Consortiums:
        SampleConsortium:
        Organizations:
        • Name: Org1MSP
          ID: Org1MSP
          MSPDir: crypto-config/peerOrganizations/org1.example.com/msp
          Policies:
          Readers:
          Type: Signature
          Rule: OR('Org1MSP.admin', 'Org1MSP.peer', 'Org1MSP.client')
          Writers:
          Type: Signature
          Rule: OR('Org1MSP.admin', 'Org1MSP.client')
          Admins:
          Type: Signature
          Rule: OR('Org1MSP.admin')
          Endorsement:
          Type: Signature
          Rule: OR('Org1MSP.peer')
          AnchorPeers:
          • Host: peer0.org1.example.com
            Port: 7051
        • Name: Org2MSP
          ID: Org2MSP
          MSPDir: crypto-config/peerOrganizations/org2.example.com/msp
          Policies:
          Readers:
          Type: Signature
          Rule: OR('Org2MSP.admin', 'Org2MSP.peer', 'Org2MSP.client')
          Writers:
          Type: Signature
          Rule: OR('Org2MSP.admin', 'Org2MSP.client')
          Admins:
          Type: Signature
          Rule: OR('Org2MSP.admin')
          Endorsement:
          Type: Signature
          Rule: OR('Org2MSP.peer')
          AnchorPeers:
          • Host: peer0.org2.example.com
            Port: 9051

from docker-compose-files.

 avatar commented on August 10, 2024

above one is my configtx file pls check it once

from docker-compose-files.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.