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
已提問 2 年前檢視次數 501 次
1 個回答
1

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

AWS
Suhan
已回答 2 年前
  • docker exec cli peer channel list

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南