Fabric-SDK-Node,状态:getGenesisBlock上的FORBIDDEN

时间:2018-07-02 10:49:29

标签: hyperledger-fabric hyperledger

在尝试获取创始区块时,orderer.com的docker日志中出现错误

const request = {
  txId : client.newTransactionID(true) //get an admin based transactionID
};
const genesis_block = await channel.getGenesisBlock(request);

2018-07-02 10:43:56.979 UTC [cauthdsl] func1 -> DEBU 32e 0xc42000e180 gate 1530528236979304842 evaluation starts
2018-07-02 10:43:56.979 UTC [cauthdsl] func2 -> DEBU 32f 0xc42000e180 signed by 0 principal evaluation starts (used [false])
2018-07-02 10:43:56.979 UTC [cauthdsl] func2 -> DEBU 330 0xc42000e180 principal evaluation fails
2018-07-02 10:43:56.979 UTC [cauthdsl] func1 -> DEBU 331 0xc42000e180 gate 1530528236979304842 evaluation fails
2018-07-02 10:43:56.979 UTC [policies] Evaluate -> DEBU 332 Signature set did not satisfy policy /Channel/Application/Gov1MSP/Readers
2018-07-02 10:43:56.979 UTC [policies] Evaluate -> DEBU 333 == Done Evaluating *cauthdsl.polic
2018-07-02 10:43:56.979 UTC [policies] Evaluate -> DEBU 335 Signature set set did not satisfy policy /Channel/Application/Readers
2018-07-02 10:43:56.979 UTC [policies] Evaluate -> DEBU 336 == Done Evaluating *policies.implicitMetaPolicy Policy /Channel/Application/Readers
Evaluation Failed: Only 0 policies were satisfied2018-07-02 10:43:56.979 UTC [policies] Evaluate -uate -> DEBU 339 == Done Evaluating *policies.implicitMetaPolicy Policy /Channel/Readers
2018-07-02 10:43:56.979 UTC [orderer/common/deliver] deliverBlocks -> WARN 33a [channel: usachannel] Received unauthorized deliver request from 172.18.0.1:38036: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining: permission denied
2018-07-02 10:43:56.979 UTC [orderer/common/deliver] Handle -> DEBU 33b Waiting for new SeekInfo from 172.18.0.1:38036
2018-07-02 10:43:56.979 UTC [orderer/common/deliver] Handle -> DEBU 33c Attempting to read seek info message from 172.18.0.1:38036
2018-07-02 10:43:56.981 UTC [orderer/common/deliver] Handle -> DEBU 33d Received EOF from 172.18.0.1:38036, hangup
2018-07-02 10:43:56.981 UTC [orderer/common/server] func1 -> DEBU 33e Closing Deliver stream

0 个答案:

没有答案