blockchain-explorer 启动报错

fabric1.1的版本,组网完成,可以通过javaAPI进行调用。部署blockchain-explorer3.7的版本,编译正常,启动时报错:

{ Error: 12 UNIMPLEMENTED: unknown service discovery.Discovery

    at new createStatusError (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:64:15)

    at /opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:583:15

  code: 12,

  metadata: Metadata { _internal_repr: {} },

  details: 'unknown service discovery.Discovery' }

Received kill signal, shutting down gracefully

Closed out connections

请先 登录 后评论

1 个回答

zdzapache

您好,我这个浏览器一直不成功报  postgres://hppoc:password@127.0.0.1:5432/fabricexplorer

(node:2223) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
(node:2223) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
TypeError: Channel's second argument must be a ChannelCredentials
    at ServiceClient.Client (/opt/blockchain-explorer-master/node_modules/grpc/src/client.js:404:23)
    at new ServiceClient (/opt/blockchain-explorer-master/node_modules/grpc/src/client.js:930:12)
    at new AdminPeer (/opt/blockchain-explorer-master/app/platform/fabric/AdminPeer.js:65:30)
    at FabricClient.newAdminPeer (/opt/blockchain-explorer-master/app/platform/fabric/FabricClient.js:438:25)
    at FabricClient.initializeChannelFromDiscover (/opt/blockchain-explorer-master/app/platform/fabric/FabricClient.js:389:38)
    at <anonymous>

请先 登录 后评论