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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠