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
gefragt vor 2 Jahren511 Aufrufe
1 Antwort
1

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

AWS
Suhan
beantwortet vor 2 Jahren
  • docker exec cli peer channel list

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen