服务发现说拒绝访问

时间:2019-01-18 12:31:25

标签: hyperledger-fabric hyperledger service-discovery

我正在尝试从nodejs sdk查询链码。但这会引发错误

2019-01-18T12:21:05.586Z - error: [Channel.js]: Channel:secc.public received discovery error:access denied
2019-01-18T12:21:05.587Z - error: [Channel.js]: Error: Channel:secc.public Discovery error:access denied
2019-01-18T12:21:05.845Z - error: [Channel.js]: Channel:secc.public received discovery error:access denied
2019-01-18T12:21:05.845Z - error: [Channel.js]: Error: Channel:secc.public Discovery error:access denied
2019-01-18T12:21:05.845Z - error: [Network]: _initializeInternalChannel: Unable to initialize channel. Attempted to contact 2 Peers. Last error was Error: Failed to discover ::Error: Channel:secc.public Discovery error:access denied

当我尝试使用discovery中的cli时,会显示access-denied,如下所示:

root@2f5f500732db:/opt/gopath/src/github.com/hyperledger/fabric/peer# discover --configFile conf.yaml peers --channel secc.public  --server $CORE_PEER_ADDRESS
access denied

0 个答案:

没有答案