Hyperledger Explorer错误12 UNIMPLEMENTED:service protos.Endorser

时间:2018-04-26 15:39:04

标签: postgresql hyperledger-fabric blockchain ibm-blockchain hyperledger-explorer

我正在尝试为我的区块链网络运行Hypeledger Explorer。我使用Hyperldger Explorer几乎一字一句地遵循了说明 但是,无论何时我做最后的决定:./ start.sh ---我得到了一连串的错误

error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 12 UNIMPLEMENTED: unknown service protos.Endorser at new createStatusError (/home/ubuntu/bludev/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/ubuntu/bludev/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: 12 UNIMPLEMENTED: unknown service protos.Endorser at new createStatusError (/home/ubuntu/bludev/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/ubuntu/bludev/blockchain-explorer/node_modules/grpc/src/client.js:583:15 ...

等等。有关我正在使用的更多信息 nodejs 6.9和PostgreSQL 9.5。这是我的config.json文件的样子:

{

"network-config": {
    "org1": {
        "name": "peerOrg1",
        "mspid": "Org1MSP",
        "peer1": {
            "requests": "grpc://127.0.0.1:7051",
            "events": "grpc://127.0.0.1:7053",
            "server-hostname": "peer0.org1.example.com",
            "tls_cacerts": "/home/ubuntu/bludev/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt"
        },
        "admin": {
            "key": "/home/ubuntu/bludev/hlcomposer/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore",
            "cert": "/home/ubuntu/bludev/hlcomposer/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts"
        }
    }
},
"host": "localhost",
    "port": "3000",
    "channel": "mychannel",
    "keyValueStore": "/tmp/fabric-client-kvs",
    "eventWaitTime": "30000",
    "pg": {
            "host": "12.109.99.233",
            "port": "3000",
            "database": "fabricexplorer",
            "username": "postgres",
            "passwd": "password1"
    }}

1 个答案:

答案 0 :(得分:0)

问题是您的超级广告网络在网络中没有任何代言人。

从官方fabric-samples文件夹中尝试第一个网络示例,重建资源管理器,然后重试。