:~/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
}
我正在尝试使用this link作为参考的Hyperledger Fabric,
使用registerAdmin.js和registerUser.js成功注册了管理员和用户。 运行 node query.js 后,我目前遇到此错误。
我需要帮助解决此错误,
错误:在截止日期之前无法连接 URL:grpc:// localhost:7051。
平台:Ubuntu 18.04, 使用“本地环境”尝试超级账本结构。
谢谢。