IBM-Blockchain-Archive / car-lease-demo

A demonstration using IBM Blockchain to show how the lifecycle of vehicles can be recorded on a blockchain
Other
170 stars 304 forks source link

[Local] Peer fails to connect to member service #114

Open bancey opened 7 years ago

bancey commented 7 years ago

I'm attempting to run the demo locally, I'm running into an issue where the peer can't contact the memberservice. Running docker logs reveals that the error I get in the peer container is: 2017/05/10 10:55:38 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 151.80.40.132:7054: i/o timeout"; Reconnecting to {"membersrvc:7054" <nil>} 10:55:38.001 [crypto] Errorf -> ERRO 01e [validator.test_vp0] Failed requesting read certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. 10:55:38.001 [crypto] Errorf -> ERRO 01f [validator.test_vp0] Failed requesting ECA certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. 10:55:38.001 [crypto] Errorf -> ERRO 020 [validator.test_vp0] Failed getting ECA certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. 10:55:38.001 [crypto] Errorf -> ERRO 021 [validator.test_vp0] Failed retrieving ECA certs chain [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. 10:55:38.001 [crypto] Errorf -> ERRO 022 [validator.test_vp0] Failed registering node crypto engine [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. 10:55:38.001 [crypto] Errorf -> ERRO 023 [validator.test_vp0] Failed registering peer [test_vp0]: [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure] 10:55:38.001 [crypto] Errorf -> ERRO 024 [validator.test_vp0] Failed registering [test_vp0]: [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure] 10:55:38.001 [crypto] RegisterValidator -> ERRO 025 Failed registering validator [test_vp0] with name [test_vp0] [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. Error: rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure

A quick google revealed that a possible solution is Make sure you are using the supplied binaries in the tarball file, and running your backend against “alpha” images.

Has anyone ran into this issue and solved it without trying to do the above?

Thanks in advance,

Alex

liam-grace commented 7 years ago

How are you starting the demo?