超级边缘结构的通道创建失败。主要反序列化失败

时间:2017-08-29 14:33:24

标签: kubernetes hyperledger-fabric

我在kubernetes下开始面料。

我使用以下方法生成了工件和加密配置:

byfn.sh -m generate

把它放在github上:

https://github.com/Oborysenko/Separete_nodes/tree/master/k8s/channel-artifacts https://github.com/Oborysenko/Separete_nodes/tree/master/crypto-config

之后我将此存储库安装在映像中并更改envs以使用这些文件而不是标准位置。

我用

创建了pod
  • fabric_k8s_cli_rc.yaml

  • fabric_k8s_orderer_rc.yaml

  • fabric_k8s_peer0_org1_rc.yaml

并且它们已经启动,但是当我要创建频道时,我遇到了这个错误: 从cli登录:

root@cli-009hv:/var/hyperledger/Separete_nodes/k8s# peer channel create -o orderer-example-com:7050 -c mychannel -f ./channel-artifacts/channel.tx
2017-08-29 14:08:38.106 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2017-08-29 14:08:38.106 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2017-08-29 14:08:38.108 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
2017-08-29 14:08:38.109 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP
2017-08-29 14:08:38.109 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity
2017-08-29 14:08:38.109 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP
2017-08-29 14:08:38.109 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity
2017-08-29 14:08:38.109 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0A8C060A074F7267324D53501280062D...53616D706C65436F6E736F727469756D
2017-08-29 14:08:38.109 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: 81C39B953EBF7FFB969B253BD7BE1889C9774ADFCF972665AEDECA1972E5984B
2017-08-29 14:08:38.109 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP
2017-08-29 14:08:38.109 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity
2017-08-29 14:08:38.109 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP
2017-08-29 14:08:38.109 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity
2017-08-29 14:08:38.109 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AC3060A1508021A0608E6EA95CD0522...114F35DE6474ADE090C55ED95293128E
2017-08-29 14:08:38.109 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 3C9B95C261F412FBE6B16D3188AC24A4B2FEF5CC2C74E625ED2F7A3507B57204
Error: Got unexpected status: BAD_REQUEST

以下是我在ORDERER日志中看到的内容:

2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 168 In commit adding relative sub-policy OrdererOrg/Admins to Orderer
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 169 Returning policy Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 16a Returning policy Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 16b Returning policy Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 16c Returning policy Readers for evaluation
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 16d Returning policy Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 16e In commit adding relative sub-policy Org1MSP/Writers to Application
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 16f Returning policy Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 170 In commit adding relative sub-policy Org1MSP/Admins to Application
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 171 Returning policy Readers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 172 In commit adding relative sub-policy Org1MSP/Readers to Application
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 173 Returning policy Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 174 In commit adding relative sub-policy Org2MSP/Writers to Application
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 175 Returning policy Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 176 In commit adding relative sub-policy Org2MSP/Admins to Application
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 177 Returning policy Readers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 178 In commit adding relative sub-policy Org2MSP/Readers to Application
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 179 Returning policy Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 17a Returning policy Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 17b Returning policy OrdererOrg/Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 17c In commit adding relative sub-policy Orderer/OrdererOrg/Admins to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 17d Returning policy Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 17e In commit adding relative sub-policy Orderer/Writers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 17f Returning policy Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 180 In commit adding relative sub-policy Orderer/Admins to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 181 Returning policy BlockValidation for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 182 In commit adding relative sub-policy Orderer/BlockValidation to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 183 Returning policy Readers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 184 In commit adding relative sub-policy Orderer/Readers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 185 Returning policy OrdererOrg/Readers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 186 In commit adding relative sub-policy Orderer/OrdererOrg/Readers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 187 Returning policy OrdererOrg/Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 188 In commit adding relative sub-policy Orderer/OrdererOrg/Writers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 189 Returning policy Org1MSP/Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 18a In commit adding relative sub-policy Application/Org1MSP/Admins to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 18b Returning policy Org1MSP/Readers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 18c In commit adding relative sub-policy Application/Org1MSP/Readers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 18d Returning policy Org2MSP/Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 18e In commit adding relative sub-policy Application/Org2MSP/Writers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 18f Returning policy Org2MSP/Admins for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 190 In commit adding relative sub-policy Application/Org2MSP/Admins to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 191 Returning policy Org2MSP/Readers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 192 In commit adding relative sub-policy Application/Org2MSP/Readers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 193 Returning policy ChannelCreationPolicy for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 194 In commit adding relative sub-policy Application/ChannelCreationPolicy to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 195 Returning policy Org1MSP/Writers for evaluation
2017-08-28 21:55:29.471 UTC [policies] CommitProposals -> DEBU 196 In commit adding relative sub-policy Application/Org1MSP/Writers to Channel
2017-08-28 21:55:29.471 UTC [policies] GetPolicy -> DEBU 197 Returning policy Readers for evaluation
2017-08-28 21:55:29.472 UTC [policies] GetPolicy -> DEBU 198 Returning dummy reject all policy because Readers could not be found in /Application/Readers
2017-08-28 21:55:29.472 UTC [policies] GetPolicy -> DEBU 199 Returning policy Writers for evaluation
2017-08-28 21:55:29.472 UTC [policies] GetPolicy -> DEBU 19a Returning dummy reject all policy because Writers could not be found in /Application/Writers
2017-08-28 21:55:29.472 UTC [policies] GetPolicy -> DEBU 19b Returning policy Admins for evaluation
2017-08-28 21:55:29.472 UTC [policies] GetPolicy -> DEBU 19c Returning dummy reject all policy because Admins could not be found in /Application/Admins
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 19d Adding to config map: [Groups] /Channel
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 19e Adding to config map: [Groups] /Channel/Application
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 19f Adding to config map: [Groups] /Channel/Application/Org1MSP
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a0 Adding to config map: [Groups] /Channel/Application/Org2MSP
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a1 Adding to config map: [Values] /Channel/Consortium
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a2 Adding to config map: [Groups] /Channel
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a3 Adding to config map: [Groups] /Channel/Application
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a4 Adding to config map: [Groups] /Channel/Application/Org1MSP
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a5 Adding to config map: [Groups] /Channel/Application/Org2MSP
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a6 Adding to config map: [Policy] /Channel/Application/Admins
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a7 Adding to config map: [Policy] /Channel/Application/Writers
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a8 Adding to config map: [Policy] /Channel/Application/Readers
2017-08-28 21:55:29.472 UTC [common/configtx] addToMap -> DEBU 1a9 Adding to config map: [Values] /Channel/Consortium
2017-08-28 21:55:29.472 UTC [policies] GetPolicy -> DEBU 1aa Returning policy ChannelCreationPolicy for evaluation
2017-08-28 21:55:29.472 UTC [cauthdsl] func1 -> DEBU 1ab 0xc420112a20 gate 1503957329472652555 evaluation starts
2017-08-28 21:55:29.472 UTC [cauthdsl] func2 -> DEBU 1ac 0xc420112a20 signed by 0 principal evaluation starts (used [false])
2017-08-28 21:55:29.472 UTC [cauthdsl] func2 -> DEBU 1ad 0xc420112a20 processing identity 0 with bytes of 0a074f7267314d53501280062d2d2d2d2d424547494e202d2d2d2d2d0a4d49494347544343416343674177494241674952414d446545736834344451744749315967787336734f7377436759494b6f5a497a6a304541774977637a454c0a4d416b474131554542684d4356564d78457a415242674e5642416754436b4e6862476c6d62334a7561574578466a415542674e564241635444564e68626942470a636d467559326c7a593238784754415842674e5642416f54454739795a7a45745a586868625842735a53316a623230784844416142674e5642414d5445324e680a4c6d39795a7a45745a586868625842735a53316a623230774868634e4d5463774f4449344d6a45314d54497a5768634e4d6a63774f4449324d6a45314d54497a0a576a42624d517377435159445651514745774a56557a45544d4245474131554543424d4b5132467361575a76636d3570595445574d4251474131554542784d4e0a5532467549455a795957356a61584e6a627a45664d4230474131554541777757515752746157354162334a6e4d53316c654746746347786c4c574e766254425a0a4d424d4742797147534d34394167454743437147534d34394177454841304941424750447158383747416734767a5a3443385a4975372b2f66715857743732560a3451714c686433682b5256506879746a546c472f392f615261323342315744714b655366426778575758554a32505059483168627474326a5454424c4d4134470a41315564447745422f775145417749486744414d42674e5648524d4241663845416a41414d437347413155644977516b4d434b41494d654139654549315a72560a41587a507850393848736c2f784f716d427959423734516c30387171687976434d416f4743437147534d343942414d43413063414d455143494533516f61354a0a5847575a757167706f764f73614b6f494371666c56625a6350464d4a7164434a33684554416942782f7472416b7075565368556757697443614d684c6c4d56680a456b472f32685975745856754c43755076413d3d0a2d2d2d2d2d454e44202d2d2d2d2d0a
2017-08-28 21:55:29.472 UTC [msp/identity] newIdentity -> DEBU 1ae Creating identity instance for ID &{Org1MSP f5eccbba9e5ceaa5fdc5ec3befad4556f32d266007038c66a94823407cb825df}
2017-08-28 21:55:29.472 UTC [cauthdsl] func2 -> ERRO 1af Principal deserialization failure (The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority) for identity 0a074f7267314d53501280062d2d2d2d2d424547494e202d2d2d2d2d0a4d49494347544343416343674177494241674952414d446545736834344451744749315967787336734f7377436759494b6f5a497a6a304541774977637a454c0a4d416b474131554542684d4356564d78457a415242674e5642416754436b4e6862476c6d62334a7561574578466a415542674e564241635444564e68626942470a636d467559326c7a593238784754415842674e5642416f54454739795a7a45745a586868625842735a53316a623230784844416142674e5642414d5445324e680a4c6d39795a7a45745a586868625842735a53316a623230774868634e4d5463774f4449344d6a45314d54497a5768634e4d6a63774f4449324d6a45314d54497a0a576a42624d517377435159445651514745774a56557a45544d4245474131554543424d4b5132467361575a76636d3570595445574d4251474131554542784d4e0a5532467549455a795957356a61584e6a627a45664d4230474131554541777757515752746157354162334a6e4d53316c654746746347786c4c574e766254425a0a4d424d4742797147534d34394167454743437147534d34394177454841304941424750447158383747416734767a5a3443385a4975372b2f66715857743732560a3451714c686433682b5256506879746a546c472f392f615261323342315744714b655366426778575758554a32505059483168627474326a5454424c4d4134470a41315564447745422f775145417749486744414d42674e5648524d4241663845416a41414d437347413155644977516b4d434b41494d654139654549315a72560a41587a507850393848736c2f784f716d427959423734516c30387171687976434d416f4743437147534d343942414d43413063414d455143494533516f61354a0a5847575a757167706f764f73614b6f494371666c56625a6350464d4a7164434a33684554416942782f7472416b7075565368556757697443614d684c6c4d56680a456b472f32685975745856754c43755076413d3d0a2d2d2d2d2d454e44202d2d2d2d2d0a
2017-08-28 21:55:29.472 UTC [cauthdsl] func2 -> DEBU 1b0 0xc420112a20 principal evaluation fails
2017-08-28 21:55:29.472 UTC [cauthdsl] func1 -> DEBU 1b1 0xc420112a20 gate 1503957329472652555 evaluation fails
2017-08-28 21:55:29.472 UTC [cauthdsl] func1 -> DEBU 1b2 0xc420112a20 gate 1503957329472910864 evaluation starts
2017-08-28 21:55:29.472 UTC [cauthdsl] func2 -> DEBU 1b3 0xc420112a20 signed by 0 principal evaluation starts (used [false])
2017-08-28 21:55:29.472 UTC [cauthdsl] func2 -> DEBU 1b4 0xc420112a20 processing identity 0 with bytes of 0a074f7267314d53501280062d2d2d2d2d424547494e202d2d2d2d2d0a4d49494347544343416343674177494241674952414d446545736834344451744749315967787336734f7377436759494b6f5a497a6a304541774977637a454c0a4d416b474131554542684d4356564d78457a415242674e5642416754436b4e6862476c6d62334a7561574578466a415542674e564241635444564e68626942470a636d467559326c7a593238784754415842674e5642416f54454739795a7a45745a586868625842735a53316a623230784844416142674e5642414d5445324e680a4c6d39795a7a45745a586868625842735a53316a623230774868634e4d5463774f4449344d6a45314d54497a5768634e4d6a63774f4449324d6a45314d54497a0a576a42624d517377435159445651514745774a56557a45544d4245474131554543424d4b5132467361575a76636d3570595445574d4251474131554542784d4e0a5532467549455a795957356a61584e6a627a45664d4230474131554541777757515752746157354162334a6e4d53316c654746746347786c4c574e766254425a0a4d424d4742797147534d34394167454743437147534d34394177454841304941424750447158383747416734767a5a3443385a4975372b2f66715857743732560a3451714c686433682b5256506879746a546c472f392f615261323342315744714b655366426778575758554a32505059483168627474326a5454424c4d4134470a41315564447745422f775145417749486744414d42674e5648524d4241663845416a41414d437347413155644977516b4d434b41494d654139654549315a72560a41587a507850393848736c2f784f716d427959423734516c30387171687976434d416f4743437147534d343942414d43413063414d455143494533516f61354a0a5847575a757167706f764f73614b6f494371666c56625a6350464d4a7164434a33684554416942782f7472416b7075565368556757697443614d684c6c4d56680a456b472f32685975745856754c43755076413d3d0a2d2d2d2d2d454e44202d2d2d2d2d0a
2017-08-28 21:55:29.473 UTC [msp/identity] newIdentity -> DEBU 1b5 Creating identity instance for ID &{Org1MSP f5eccbba9e5ceaa5fdc5ec3befad4556f32d266007038c66a94823407cb825df}
2017-08-28 21:55:29.473 UTC [cauthdsl] func2 -> ERRO 1b6 Principal deserialization failure (The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority) for identity 0a074f7267314d53501280062d2d2d2d2d424547494e202d2d2d2d2d0a4d49494347544343416343674177494241674952414d446545736834344451744749315967787336734f7377436759494b6f5a497a6a304541774977637a454c0a4d416b474131554542684d4356564d78457a415242674e5642416754436b4e6862476c6d62334a7561574578466a415542674e564241635444564e68626942470a636d467559326c7a593238784754415842674e5642416f54454739795a7a45745a586868625842735a53316a623230784844416142674e5642414d5445324e680a4c6d39795a7a45745a586868625842735a53316a623230774868634e4d5463774f4449344d6a45314d54497a5768634e4d6a63774f4449324d6a45314d54497a0a576a42624d517377435159445651514745774a56557a45544d4245474131554543424d4b5132467361575a76636d3570595445574d4251474131554542784d4e0a5532467549455a795957356a61584e6a627a45664d4230474131554541777757515752746157354162334a6e4d53316c654746746347786c4c574e766254425a0a4d424d4742797147534d34394167454743437147534d34394177454841304941424750447158383747416734767a5a3443385a4975372b2f66715857743732560a3451714c686433682b5256506879746a546c472f392f615261323342315744714b655366426778575758554a32505059483168627474326a5454424c4d4134470a41315564447745422f775145417749486744414d42674e5648524d4241663845416a41414d437347413155644977516b4d434b41494d654139654549315a72560a41587a507850393848736c2f784f716d427959423734516c30387171687976434d416f4743437147534d343942414d43413063414d455143494533516f61354a0a5847575a757167706f764f73614b6f494371666c56625a6350464d4a7164434a33684554416942782f7472416b7075565368556757697443614d684c6c4d56680a456b472f32685975745856754c43755076413d3d0a2d2d2d2d2d454e44202d2d2d2d2d0a
2017-08-28 21:55:29.473 UTC [cauthdsl] func2 -> DEBU 1b7 0xc420112a20 principal evaluation fails
2017-08-28 21:55:29.473 UTC [cauthdsl] func1 -> DEBU 1b8 0xc420112a20 gate 1503957329472910864 evaluation fails
2017-08-28 21:55:29.473 UTC [orderer/common/broadcast] Handle -> WARN 1b9 Rejecting CONFIG_UPDATE because: Error authorizing update: Error validating DeltaSet: Policy for [Groups] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining
2017-08-28 21:55:29.473 UTC [orderer/main] func1 -> DEBU 1ba Closing Broadcast stream
2017-08-28 21:55:29.476 UTC [orderer/common/deliver] Handle -> WARN 1bb Error reading from stream: rpc error: code = Canceled desc = context canceled
2017-08-28 21:55:29.476 UTC [orderer/main] func1 -> DEBU 1bc Closing Deliver stream
2017-08-29 13:04:31.258 UTC [orderer/main] Deliver -> DEBU 1bd Starting new Deliver handler
2017-08-29 13:04:31.258 UTC [orderer/common/deliver] Handle -> DEBU 1be Starting new deliver loop
2017-08-29 13:04:31.258 UTC [orderer/common/deliver] Handle -> DEBU 1bf Attempting to read seek info message
2017-08-29 13:04:31.263 UTC [orderer/main] Broadcast -> DEBU 1c0 Starting new Broadcast handler
2017-08-29 13:04:31.263 UTC [orderer/common/broadcast] Handle -> DEBU 1c1 Starting new broadcast loop
2017-08-29 13:04:31.263 UTC [orderer/common/broadcast] Handle -> DEBU 1c2 Preprocessing CONFIG_UPDATE
2017-08-29 13:04:31.263 UTC [orderer/configupdate] Process -> DEBU 1c3 Processing channel creation request for channel -f
2017-08-29 13:04:31.263 UTC [orderer/common/broadcast] Handle -> WARN 1c4 Rejecting CONFIG_UPDATE because: Proposed configuration has no application group members, but consortium contains members
2017-08-29 13:04:31.263 UTC [orderer/main] func1 -> DEBU 1c5 Closing Broadcast stream
2017-08-29 13:04:31.265 UTC [grpc] Printf -> DEBU 1c6 transport: http2Server.HandleStreams failed to read frame: read tcp 10.244.3.79:7050->10.244.0.110:33474: read: connection reset by peer
2017-08-29 13:04:31.266 UTC [orderer/common/deliver] Handle -> WARN 1c7 Error reading from stream: rpc error: code = Canceled desc = context canceled
2017-08-29 13:04:31.266 UTC [orderer/main] func1 -> DEBU 1c8 Closing Deliver stream
2017-08-29 13:05:51.750 UTC [orderer/main] Deliver -> DEBU 1c9 Starting new Deliver handler
2017-08-29 13:05:51.750 UTC [orderer/common/deliver] Handle -> DEBU 1ca Starting new deliver loop
2017-08-29 13:05:51.750 UTC [orderer/common/deliver] Handle -> DEBU 1cb Attempting to read seek info message
2017-08-29 13:05:51.753 UTC [orderer/main] Broadcast -> DEBU 1cc Starting new Broadcast handler
2017-08-29 13:05:51.753 UTC [orderer/common/broadcast] Handle -> DEBU 1cd Starting new broadcast loop
2017-08-29 13:05:51.753 UTC [orderer/common/broadcast] Handle -> DEBU 1ce Preprocessing CONFIG_UPDATE
2017-08-29 13:05:51.753 UTC [orderer/configupdate] Process -> DEBU 1cf Processing channel creation request for channel -f
2017-08-29 13:05:51.753 UTC [orderer/common/broadcast] Handle -> WARN 1d0 Rejecting CONFIG_UPDATE because: Proposed configuration has no application group members, but consortium contains members
2017-08-29 13:05:51.753 UTC [orderer/main] func1 -> DEBU 1d1 Closing Broadcast stream
2017-08-29 13:05:51.756 UTC [orderer/common/deliver] Handle -> WARN 1d2 Error reading from stream: rpc error: code = Canceled desc = context canceled
2017-08-29 13:05:51.756 UTC [orderer/main] func1 -> DEBU 1d3 Closing Deliver stream

没有创建其他频道因此不像这里的问题: FABRIC returns Error: Got unexpected status: BAD_REQUEST

本期FABRIC returns Error: Got unexpected status: BAD_REQUEST 我看到它可能是问题

Most commonly, for channel creation, this status indicates that the submitter does not have channel creation rights 

但我如何解决这个问题。这对我来说并不清楚。 谢谢你的时间。

3 个答案:

答案 0 :(得分:0)

您似乎没有签署频道创建请求。您需要根据联合体定义中指示的ChannelCreationPolicy收集签名。通常,这默认为ALL策略。这意味着该联盟的每个成员都必须签署配置更新。现在看来你的要求是1。因此,要么您的财团中只有一名成员,要么您的政策与ALL不同(例如,需要1 sig的n_of)。

答案 1 :(得分:0)

我认为错误与频道的创建有关。您是否在 compose.yaml 文件中评论了以下行# command: /bin/bash -c './scripts/script.sh ${CHANNEL_NAME}; sleep $TIMEOUT'

另外,你能告诉你如何启动你的网络吗?

最后,您确定 crypto-config.yaml 的字段和您的文件的字段是否相同?即MSP标识符,公共名称以及每个节点的主机和域是否相同?

答案 2 :(得分:0)

尝试此命令

./byfn.sh -m down