我尝试使用https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md
中的指南构建结构的开发环境在vagrant ssh
进入VM之后,我想启动一个对等节点来测试示例链代码,以验证我是否正确设置了环境,所以使用https://github.com/hyperledger/fabric/blob/master/docs/Setup/Chaincode-setup.md指南
我make peer
,并按peer node start --peer-chaincodedev
启动了对等节点,但出现了错误:
[crypto] Errorf -> ERRO 008 [validator.vp] Failed requesting read certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure].
[crypto] Errorf -> ERRO 009 [validator.vp] Failed requesting ECA certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure].
[crypto] Errorf -> ERRO 00a [validator.vp] Failed getting ECA certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure].
[crypto] Errorf -> ERRO 00b [validator.vp] Failed retrieving ECA certs chain [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure].
[crypto] Errorf -> ERRO 00c [validator.vp] Failed registering node crypto engine [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure].
[crypto] Errorf -> ERRO 00d [validator.vp] Failed registering peer [vp]: [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]
[crypto] Errorf -> ERRO 00e [validator.vp] Failed registering [vp]: [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]
grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:7054: getsockopt: connection refused"; Reconnecting to {"localhost:7054" <nil>}
Failed to dial localhost:7054: grpc: the connection is closing; please retry.
我还尝试了安全设置的可选步骤make membersrvc
并运行它,但是当运行membersrvc时,没有输出也没有停止,只是在那里呆了几个小时。
我不知道为什么会出现这种情况,经过两天的搜索,似乎没有其他人遇到同样的问题。请帮助我,谢谢!