hyperledger / caliper

A blockchain benchmark framework to measure performance of multiple blockchain solutions https://wiki.hyperledger.org/display/caliper
https://hyperledger.github.io/caliper/
Apache License 2.0
650 stars 402 forks source link

Channel access denied #1439

Closed MekkiNassreddine closed 2 years ago

MekkiNassreddine commented 2 years ago

Which Caliper version are you using?

Hyperledger Fabric v 2.2

Which Node.JS version are you using?

v14

Which operating system are you using?

Ubuntu 20.04

Please provide some context for your error. For example, when did the error occur? What were you trying to achieve, and how?

I have added a new organization to my consortium network. Successfully able to join the channels from the new organization peers. Now I m trying to get information about my channel using the following command :

peer channel getinfo -c my-channel

What was the observed incorrect behavior?

I get this error as result Error: received bad response, status 500: access denied for [GetChainInfo][my-channel]: [Failed evaluating policy on signed data during check policy on channel [my-channel] with policy [/Channel/Application/Readers]: [implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Readers' sub-policies to be satisfied]]

Please provide the error logs and their surroundings.

I get also in peer logs this error

Peer Logs - 2021-10-20 07:18:45.057 UTC [policies] SignatureSetToValidIdentities -> WARN d1a93c invalid identity: certificate subject=CN=peer1,OU=peer,O=Hyperledger,ST=North Carolina,C=US serialnumber=41365438365218511579049 error="MSP Org3 is not defined on channel

Please provide your benchmark configuration file content, if possible.

No response

Please provide your network configuration file content, if possible.

No response

Please provide your workload module content, if possible.

No response

Please provide any additional information you deem relevant to the error.

No response

davidkel commented 2 years ago

This has nothing to do with hyperledger caliper, suggest you try the fabric channel on discord, closing