我尝试使用https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md上的指南构建织物的开发环境
进入 VM后vagrant ssh
,我想启动一个对等节点来测试示例链代码,以验证我是否正确设置了环境,因此使用https://github.com/hyperledger/fabric/blob/master/docs/上的指南设置/链码-setup.md
I 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 时,没有输出也没有停止,只是在那里停留了几个小时。
我不知道为什么会出现这种情况,经过两天的搜索,似乎没有其他人遇到同样的问题。请帮助我,谢谢!