Hyperledger Explorer Shows Empty Data and Promise is rejected Error 12 UNIMPLEMENTED unknown service protos Endorser

0 votes

Explorer config:

{
"network-config": {
    "org1": {
        "name": "hlfv1",
        "mspid": "Org1MSP",
        "peer1": {
            "requests": "grpc://localhost:7050",
            "events": "grpc://localhost:7053",
            "server-hostname": "peer0.org1.example.com"
        },
        "admin": {
            "key": "../fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore",
            "cert": "../fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts"
        }

    }
},
"host": "localhost",
"port": "5000",
"channel": "composerchannel",
"keyValueStore": "/tmp/fabric-client-kvs",
"eventWaitTime": "30000",
"mysql":{
    "host":"127.0.0.1",
    "database":"fabricexplorer",
    "username":"root",
    "passwd":"******"
}

Error:

[client-utils.js]: sendPeersProposal - Promise is rejected: Error: 12 UNIMPLEMENTED: unknown service protos.Endorser
    at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:65:15)
    at /blockchain-explorer/node_modules/grpc/src/client.js:568:15
[Channel.js]: Failed Query channel info. Error: Error: 12 UNIMPLEMENTED: unknown service protos.Endorser
    at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:65:15)
    at /blockchain-explorer/node_modules/grpc/src/client.js:568:15
[ERROR] Query - [39mError: 12 UNIMPLEMENTED: unknown service protos.Endorser
    at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:65:15)
    at /blockchain-explorer/node_modules/grpc/src/client.js:568:15
[31m[2018-02-08 13:54:07.217] [ERROR] blockscanner -[39mTypeError: Cannot read property 'low' of undefined
    at getChainInfo.then.response (/blockchain-explorer/app/query.js:208:33)
    at <anonymous> ....
Nov 13, 2018 in Blockchain by slayer
• 29,370 points
1,712 views

1 answer to this question.

0 votes

This config worked for me:

{
"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/ibm/fabric-tools/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt"
        },
        "admin": {
            "key": "/home/ibm/fabric-tools/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore",
            "cert": "/home/ibm/fabric-tools/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts"
        }
    }
},
"host": "localhost",
"port": "8081",
"channel": "composerchannel",
"keyValueStore": "/tmp/fabric-client-kvs",
"eventWaitTime": "30000",
"mysql": {
    "host": "127.0.0.1",
    "port": "3306",
    "database": "fabricexplorer",
    "username": "root",
    "passwd": "****"
}
}
answered Nov 13, 2018 by Omkar
• 69,220 points

Related Questions In Blockchain

0 votes
3 answers

Hyperledger fabcar sample fabric error: sendPeersProposal - Promise is rejected: Error: Connect Failed

Open the datasources.json file and replace the grpcs:// with grpc://. This solution worked ...READ MORE

answered Apr 30, 2019 in Blockchain by Reshma
3,094 views
0 votes
1 answer

sendProposal - timed out after:45000, sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT

You could simply replace --net=bridge with --net=artifacts_default in your DockerFile.  I used ...READ MORE

answered Jul 26, 2018 in Blockchain by Perry
• 17,100 points
1,974 views
0 votes
1 answer
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
1,004 views
+1 vote
1 answer
0 votes
1 answer

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

answered Nov 14, 2018 in Blockchain by Omkar
• 69,220 points
2,296 views
+3 votes
1 answer

What is the difference between online and offline hyperledger composer?

Hey @Renu353! Well, it's good that you ...READ MORE

answered Sep 21, 2018 in Blockchain by Omkar
• 69,220 points
908 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP