Can't Create Channel in AWS Managed Blockchain

1

Hi,

I've encountered an error while following this step in the AMB docs: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/get-started-create-channel.html#get-started-create-channel-create-channel

When I execute the command for creating a channel: docker exec cli peer channel create -c mychannel
-f /opt/home/mychannel.pb -o $ORDERER
--cafile /opt/home/managedblockchain-tls-chain.pem --tls

I got this error message: Error: failed to create deliver client for orderer: orderer client failed to connect to orderer.n-2xq2mxyg2vhf5cmce4ystjjgda.managedblockchain.ap-southeast-1.amazonaws.com:30001: failed to create new connection: context deadline exceeded

Please tell me if the error message means something. Thanks.

  • Is this error persistent or have you beed able to create this channel yet?

  • I've just opened access to port 30001 on SG. Right now, the error message is: 2022-08-01 12:56:40.482 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating ReadSet: proposed update requires that key [Group] /Channel/Application be at version 0, but it is currently at version 1

  • It sounds like the channel is created already. Can you try

    docker exec cli peer channel list
    
Richard
asked 4 months ago69 views
1 Answer
1

It sounds like the channel is created already. Can you try to join peer to the channel?

answered 4 months ago
  • docker exec cli peer channel list

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions