FABRIC returns Error: Got unexpected status: BAD_REQUEST

前端 未结 8 1585
谎友^
谎友^ 2021-01-05 08:47

From fabric document create-join-channel, when I execute the command

peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/         


        
8条回答
  •  猫巷女王i
    2021-01-05 09:04

    The reason you're getting this is probably because the docker-compose-cli.yaml file is still running the script.sh script. Comment out the line that invokes the script and it will run fine. Example:

    # Comment out the line like the example below by adding a #
    # command: /bin/bash -c './scripts/script.sh ${CHANNEL_NAME} ${DELAY} ${LANG}; sleep $TIMEOUT'```
    

    I am suggesting a documentation change to fix this.

提交回复
热议问题