hyperledger / fabric-samples

Samples for Hyperledger Fabric
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
2.75k stars 3.34k forks source link

Error: proposal failed (err: bad proposal response 500: cannot create ledger from genesis block: ledger [mychannel] already exists with state [ACTIVE]) After 5 attempts, peer0.1 has failed to join channel 'mychannel' #1097

Open Piyushmethi09 opened 9 months ago

Piyushmethi09 commented 9 months ago

Error: proposal failed (err: bad proposal response 500: cannot create ledger from genesis block: ledger [mychannel] already exists with state [ACTIVE]) After 5 attempts, peer0.1 has failed to join channel 'mychannel'

eveporras23 commented 6 months ago

@Piyushmethi09 Did you find a fix for this issue? I have the same.

bestbeforetoday commented 5 months ago

I hit this error recently and the problem - for me at least - seemed to be Docker volumes hanging around from a previous time the Fabric network was created. This was resolved by running:

  1. ./network.sh down
  2. docker system prune --volumes
ConstantRohmer commented 3 months ago

I have the same error as you, but only while trying to add a second peer to the channel : image

I don't understand why it attempts to recreate a channel, when I only want to add another peer to it.

If someone has a clue...

lvxinnian commented 1 day ago

I have the same error as you, but only while trying to add a second peer to the channel : image

I don't understand why it attempts to recreate a channel, when I only want to add another peer to it.

If someone has a clue...

Hello, have you solved this problem? I'm running into this issue now as well