Failed to evaluate transaction: Error: DiscoveryService: mychannel error: access denied
Below is the log of the org1 container (docker logs peer0.or1.example.com)
[discovery] processQuery -> WARN 0e2 got query for channel mychannel from 172.18.0.1:59762 but it isn't eligible: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied
The same error occurs with hyperledger fabric v2.5, and the same error occurs even if you change the Ubuntu version. I'm curious what causes this problem. I'm also curious about the solution to this problem. I am waiting for your reply. please help me
I succeeded in operating the test-network provided by hyperledger fabric v2.2 itself. 1) Chaincode installation complete
2) Setting environment variables
2) Chaincode (Invoke) InitLedger function execution
3) Execute chaincode (query) GetAllAssets function
Trying to access fabric-network using nodejs SDK 1) cd fabric-samples/test-network/docker
2) Execute command => COMPOSE_PROJECT_NAME=fabric-test docker-compose -f docker-compose-ca.yaml up -d
3) There are currently 9 containers in operation.
4) cd fabric-sample/fabcar/javascript
5) Execute command => node enrollAdmin.js, node registerUser.js
6) An error occurred when running node query.js (the error details are written below.)
The same error occurs with hyperledger fabric v2.5, and the same error occurs even if you change the Ubuntu version. I'm curious what causes this problem. I'm also curious about the solution to this problem. I am waiting for your reply. please help me