2
:~/Documents/test/education/LFS171x/fabric-material/tuna-app/$ node query.js 
Store path:/home/*******/Documents/test/education/LFS171x/fabric-material/tuna-app/hfc-key-store
Successfully loaded user1 from persistence
2020-02-11T05:56:10.423Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://localhost:7051
Query has completed, checking results
error from query =  Error: Failed to connect before the deadline URL:grpc://localhost:7051
    at checkState (/home/******/Documents/test/education/LFS171x/fabric-material/tuna-app/node_modules/fabric-client/node_modules/grpc/src/client.js:883:16) {
  connectFailed: true
}

我正在试验 Hyperledger Fabric,使用此链接作为参考,

使用 registerAdmin.js 和 registerUser.js 成功注册了管理员和用户。运行node query.js后,我目前面临此错误。

我需要帮助解决此错误,

错误:在截止日期之前无法连接 URL:grpc://localhost:7051。

平台:Ubuntu 18.04,使用本地环境试验超级账本结构。

提前致谢。

4

0 回答 0