Hyperledger Fabric: “ error validating ReadSet: readset expected key [Group] /Channel/Application at...












2















Im facing a problem here, I created a channel with one organization ORG1 (using orderer orderer1), then I added ORG2 and then ORG3 by updating the channel config block using the cli command:



peer channel update -f nada_update_in_envelope.pb -c $CHANNEL_NAME -o orderer.example.com:7050 --tls --cafile $ORDERER_CA


The next thing I want to do is to add one anchor peer for each organization.
By running for each organization's anchor peer:



peer channel update -o orderer1.example.com:7050 -c mainchannel -f channel-artifacts/org1/channels/mainchannel/mainchannel/ORG1MSPanchors.tx --tls --cafile <path>


The error I'm getting from the orderer's logs is:




2019-01-01 13:50:19.095 UTC [orderer.common.broadcast] ProcessMessage
-> WARN 076 [channel: mainchannel] Rejecting broadcast of config message from 172.25.0.23:39260 because of error: error authorizing
update: error validating ReadSet: readset expected key [Group]
/Channel/Application at version 1, but got version 3




Any idea what can I change to set the correct configuration version in the ORG1MSPanchors.tx file that I created before stating the network and creating the channel???



P.S:
The ORG1MSPanchors.tx file was generated from the configtx.yaml file by running:



../bin/configtxgen -profile OneOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/ORG1MSPanchors.tx -channelID mainchannel -asOrg ORG1MSP









share|improve this question





























    2















    Im facing a problem here, I created a channel with one organization ORG1 (using orderer orderer1), then I added ORG2 and then ORG3 by updating the channel config block using the cli command:



    peer channel update -f nada_update_in_envelope.pb -c $CHANNEL_NAME -o orderer.example.com:7050 --tls --cafile $ORDERER_CA


    The next thing I want to do is to add one anchor peer for each organization.
    By running for each organization's anchor peer:



    peer channel update -o orderer1.example.com:7050 -c mainchannel -f channel-artifacts/org1/channels/mainchannel/mainchannel/ORG1MSPanchors.tx --tls --cafile <path>


    The error I'm getting from the orderer's logs is:




    2019-01-01 13:50:19.095 UTC [orderer.common.broadcast] ProcessMessage
    -> WARN 076 [channel: mainchannel] Rejecting broadcast of config message from 172.25.0.23:39260 because of error: error authorizing
    update: error validating ReadSet: readset expected key [Group]
    /Channel/Application at version 1, but got version 3




    Any idea what can I change to set the correct configuration version in the ORG1MSPanchors.tx file that I created before stating the network and creating the channel???



    P.S:
    The ORG1MSPanchors.tx file was generated from the configtx.yaml file by running:



    ../bin/configtxgen -profile OneOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/ORG1MSPanchors.tx -channelID mainchannel -asOrg ORG1MSP









    share|improve this question



























      2












      2








      2


      1






      Im facing a problem here, I created a channel with one organization ORG1 (using orderer orderer1), then I added ORG2 and then ORG3 by updating the channel config block using the cli command:



      peer channel update -f nada_update_in_envelope.pb -c $CHANNEL_NAME -o orderer.example.com:7050 --tls --cafile $ORDERER_CA


      The next thing I want to do is to add one anchor peer for each organization.
      By running for each organization's anchor peer:



      peer channel update -o orderer1.example.com:7050 -c mainchannel -f channel-artifacts/org1/channels/mainchannel/mainchannel/ORG1MSPanchors.tx --tls --cafile <path>


      The error I'm getting from the orderer's logs is:




      2019-01-01 13:50:19.095 UTC [orderer.common.broadcast] ProcessMessage
      -> WARN 076 [channel: mainchannel] Rejecting broadcast of config message from 172.25.0.23:39260 because of error: error authorizing
      update: error validating ReadSet: readset expected key [Group]
      /Channel/Application at version 1, but got version 3




      Any idea what can I change to set the correct configuration version in the ORG1MSPanchors.tx file that I created before stating the network and creating the channel???



      P.S:
      The ORG1MSPanchors.tx file was generated from the configtx.yaml file by running:



      ../bin/configtxgen -profile OneOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/ORG1MSPanchors.tx -channelID mainchannel -asOrg ORG1MSP









      share|improve this question
















      Im facing a problem here, I created a channel with one organization ORG1 (using orderer orderer1), then I added ORG2 and then ORG3 by updating the channel config block using the cli command:



      peer channel update -f nada_update_in_envelope.pb -c $CHANNEL_NAME -o orderer.example.com:7050 --tls --cafile $ORDERER_CA


      The next thing I want to do is to add one anchor peer for each organization.
      By running for each organization's anchor peer:



      peer channel update -o orderer1.example.com:7050 -c mainchannel -f channel-artifacts/org1/channels/mainchannel/mainchannel/ORG1MSPanchors.tx --tls --cafile <path>


      The error I'm getting from the orderer's logs is:




      2019-01-01 13:50:19.095 UTC [orderer.common.broadcast] ProcessMessage
      -> WARN 076 [channel: mainchannel] Rejecting broadcast of config message from 172.25.0.23:39260 because of error: error authorizing
      update: error validating ReadSet: readset expected key [Group]
      /Channel/Application at version 1, but got version 3




      Any idea what can I change to set the correct configuration version in the ORG1MSPanchors.tx file that I created before stating the network and creating the channel???



      P.S:
      The ORG1MSPanchors.tx file was generated from the configtx.yaml file by running:



      ../bin/configtxgen -profile OneOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/ORG1MSPanchors.tx -channelID mainchannel -asOrg ORG1MSP






      hyperledger-fabric






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 2 at 0:55









      halfelf

      6,671103248




      6,671103248










      asked Jan 1 at 21:20









      jeka_gompajeka_gompa

      113




      113
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53999025%2fhyperledger-fabric-error-validating-readset-readset-expected-key-group-ch%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53999025%2fhyperledger-fabric-error-validating-readset-readset-expected-key-group-ch%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Monofisismo

          Angular Downloading a file using contenturl with Basic Authentication

          Olmecas