Hyperledger fabric: Error: got unexpected status: FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies

+1 vote

When i run 

./byfn.sh -m up

I get this error:

Error: got unexpected status: FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies, required 1 remaining : permission denied
Nov 5, 2018 in Blockchain by slayer
• 29,170 points
2,197 views
Solved? facing same issue.

Did you try 

./byfn.sh -m down
./byfn.sh -m up

as mentioned in the answer?

That solved the problem for me!

ok tried but not solve by it, but I have replaced the crypto-config with old one which solved the problem for me
Hello @Ati, can you share what error you were getting before replacing the crypto-config file?
I was getting the exact same error "FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies, required 1 remaining: permission denied"

Tried to create new crypto-config and config files with another name, but I think I did something wrong when changing the values. So I will try it again.
Hey. Did you try? Did it work?

2 answers to this question.

+1 vote
Best answer

Try 

./byfn.sh -m down

and then

./byfn.sh -m up
answered Nov 5, 2018 by Omkar
• 67,660 points

selected Apr 24 by Omkar
+1 vote
Failed to reach implicit threshold of 1 sub-policies, required 1 remaining : permission denied

While creating channel I have faced the same issue So there may be two resolution for that : 

1] Either your previous network volume is not purged or deleted so just run the command docker volume prune and delete all the data in crypto-config and channel-artifacts folder.Follow the Hyperledger Fabric docs either create artifacts manually and start network or use byfn.sh.

This will resolve the issue if not then follow the second approach

2]  Repository is not accessible(rd/wt permissions) so just give the access "sudo chmod 777 dir"

answered Jan 19 by Tarun Kumar
Does turning the network down and then up purge the previous volume?
Yes you first needs to down the network

Then you needs to remove all running docker containers :

docker rm -f $(docker ps -aq)

docker volume prune

Then start your network
It worked. Thanks you so much

Related Questions In Blockchain

+1 vote
4 answers

Hyperledger Fabric: Failed to enroll admin: Error: Failed to enroll admin.

As your .hfc-key-store directory is in chaindev, Try running the following ...READ MORE

answered Nov 5, 2018 in Blockchain by Omkar
• 67,660 points
1,151 views
0 votes
1 answer

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

answered Nov 14, 2018 in Blockchain by Omkar
• 67,660 points
300 views
+2 votes
4 answers

"failed to create new connection context deadline exceeded." error in Hyperledger Fabric

Try remove previous docker containers(have mentioned the ...READ MORE

answered Apr 23 in Blockchain by Kiran
3,417 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,550 points
83 views
+1 vote
1 answer
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

answered Nov 13, 2018 in Blockchain by Omkar
• 67,660 points
985 views
+1 vote
3 answers