Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while adding multiple orgs and peers #24

Open
nithinkashyapn opened this issue Aug 20, 2018 · 7 comments
Open

Error while adding multiple orgs and peers #24

nithinkashyapn opened this issue Aug 20, 2018 · 7 comments
Assignees
Labels

Comments

@nithinkashyapn
Copy link

nithinkashyapn commented Aug 20, 2018

Hey,

When i am trying to include more peers and organizations it's throwing out this error

Unable to initialize the Fabric SDK: failed to save channel: create channel failed: SendEnvelope failed: calling orderer 'localhost:7050' failed: Orderer Server Status Code: (400) BAD_REQUEST. Description: error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining

Upon seeing the orderer logs i got the below error

2018-08-20 13:04:35.134 UTC [orderer/common/server] Start -> INFO 007 Beginning to serve requests
2018-08-20 13:04:39.049 UTC [cauthdsl] deduplicate -> ERRO 008 Principal deserialization failure (MSP org1.example.com is unknown) for identity 0a106f7267312e6578616d706c652e636f6d1292062d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949434744434341622b674177494241674951616f78706a364a394b32685443586e674c38392b4f54414b42676771686b6a4f50515144416a427a4d5173770a435159445651514745774a56557a45544d4245474131554543424d4b5132467361575a76636d3570595445574d4251474131554542784d4e5532467549455a790a5957356a61584e6a627a455a4d4263474131554543684d5162334a6e4d53356c654746746347786c4c6d4e76625445634d426f474131554541784d54593245750a62334a6e4d53356c654746746347786c4c6d4e7662544165467730784f4441344d6a41784d5441794d444e61467730794f4441344d5463784d5441794d444e610a4d467378437a414a42674e5642415954416c56544d524d77455159445651514945777044595778705a6d3979626d6c684d5259774641594456515148457731540a59573467526e4a68626d4e7063324e764d523877485159445651514444425a425a473170626b4276636d63784c6d56345957317762475575593239744d466b770a457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414555437568595a3639346167394567775057634b78705a505a5975726d714e556e0a57586c6846482b454574626e53453067664e2b6b4548734a5459463949665965497576576c65434f704d4d73336e552b6a4e5a544f364e4e4d457377446759440a565230504151482f42415144416765414d41774741315564457745422f7751434d4141774b7759445652306a42435177496f41674e634e6563366b4d50327a2b0a4e73684536787154434e736836624a6c475a47577353626778507944364b6f77436759494b6f5a497a6a3045417749445277417752414967415244634f5861540a4f7676525a4d53514a74643272506a353479572b774f635a74554b4a6652323657536343494358522f7950657551756975495674512b5a664b433435706e6a640a482f7175684d6139354d69616f7867500a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a
2018-08-20 13:04:39.049 UTC [cauthdsl] deduplicate -> ERRO 009 Principal deserialization failure (MSP org1.example.com is unknown) for identity 0a106f7267312e6578616d706c652e636f6d1292062d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949434744434341622b674177494241674951616f78706a364a394b32685443586e674c38392b4f54414b42676771686b6a4f50515144416a427a4d5173770a435159445651514745774a56557a45544d4245474131554543424d4b5132467361575a76636d3570595445574d4251474131554542784d4e5532467549455a790a5957356a61584e6a627a455a4d4263474131554543684d5162334a6e4d53356c654746746347786c4c6d4e76625445634d426f474131554541784d54593245750a62334a6e4d53356c654746746347786c4c6d4e7662544165467730784f4441344d6a41784d5441794d444e61467730794f4441344d5463784d5441794d444e610a4d467378437a414a42674e5642415954416c56544d524d77455159445651514945777044595778705a6d3979626d6c684d5259774641594456515148457731540a59573467526e4a68626d4e7063324e764d523877485159445651514444425a425a473170626b4276636d63784c6d56345957317762475575593239744d466b770a457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414555437568595a3639346167394567775057634b78705a505a5975726d714e556e0a57586c6846482b454574626e53453067664e2b6b4548734a5459463949665965497576576c65434f704d4d73336e552b6a4e5a544f364e4e4d457377446759440a565230504151482f42415144416765414d41774741315564457745422f7751434d4141774b7759445652306a42435177496f41674e634e6563366b4d50327a2b0a4e73684536787154434e736836624a6c475a47577353626778507944364b6f77436759494b6f5a497a6a3045417749445277417752414967415244634f5861540a4f7676525a4d53514a74643272506a353479572b774f635a74554b4a6652323657536343494358522f7950657551756975495674512b5a664b433435706e6a640a482f7175684d6139354d69616f7867500a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0a
2018-08-20 13:04:39.050 UTC [orderer/common/broadcast] Handle -> WARN 00a [channel: channelone] Rejecting broadcast of config message from 192.168.16.1:41574 because of error: error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining

What am i doing wrong?

The code is hosted at https://github.com/nithinkashyapn/goledger

The multiple orgs and peers follows same approach.

Thanks for this great tutorial.

@nithinkashyapn
Copy link
Author

Hey @antitoine

Any updates as to what i'm doing wrong?

Will be attaching my network files with this. Do have a look when free.

Thanks.

hyperledger.zip

@antitoine antitoine self-assigned this Aug 30, 2018
@sshmaxime
Copy link
Contributor

Hey @nithinkashyapn did you find solution to your problem ?

@nithinkashyapn
Copy link
Author

Hey @MaximeAubanel,

Yep i did. There was a configuration error.

Thanks.

@teddycode
Copy link

I have encountered the same problem. How did you solve it?

@nithinkashyapn
Copy link
Author

Hey @teddycode,

Sorry was out of town.

It's been a while and i exactly can't remember what i did but it had something to do with channel creation. I was instantiating it in one place while i totally forgot it needed to be done somewhere else as well.

Will try checking the code to see if i remember anything.

- Nithin

@gavin-shakespeare
Copy link

I also have encountered the same question, who can share the solution? thanks a lot in advance.

@kushankavinda
Copy link

check your go path correct or not .. this is woring for me..but i am tring to config to a couch databsse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants