#fabric #fabric-questions #fabric-questions #fabric
Miguel Rodriguez <mignic1991@...>
I have an error on creating an channel:
Error: got unexpected status: FORBIDDEN -- implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied: permission denied
The orderer says the following
WARN 025 [channel: testchannel] Rejecting broadcast of config message from 192.168.0.121:39954 because of error: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied: permission denied
I use this commands inside the peer container:
peer channel create -c testchannel -f testchannel.tx --outputBlock testchannel.block --tls --cafile /etc/hyperledger/crypto-config/peer/tls-msp/cacerts/192-168-0-114-7054.pem -o 192.168.0.124:7050
My policies for the channel are the following:
# Policies defines the set of policies at this level of the config tree
# For Channel policies, their canonical path is
# Who may invoke the 'Deliver' API
Rule: "ANY Readers"
# Who may invoke the 'Broadcast' API
Rule: "ANY Writers"
# By default, who may modify elements at this config level
Rule: "MAJORITY Admins"
# Capabilities describes the channel level capabilities, see the
# dedicated Capabilities section elsewhere in this file for a full
I am using etcdraft with 3 nodes and v 1.4.1