Blockchain - Virtual box is set up and error while executing Hyperledger example from github

+1 vote

 While trying out the sample example from I got the following error:

$ ./Example/bin/Example Hello world! starting [Ljava.lang.String;@3feba861 

Mar 15, 2018 6:27:13 PM example.Example main INFO: starting 

Mar 15, 2018 6:27:14 PM io.grpc.internal.TransportSet$1 call INFO: Created transport io.grpc.netty.NettyClientTransport@5e639e5d(/ for / 

Mar 15, 2018 6:27:15 PM io.grpc.internal.TransportSet$TransportListener transportShutdown INFO: Transport io.grpc.netty.NettyClientTransport@5e639e5d(/ for / is being shutdown 

Mar 15, 2018 6:27:15 PM io.grpc.internal.TransportSet$TransportListener transportTerminated INFO: Transport io.grpc.netty.NettyClientTransport@5e639e5d(/ for / is terminated 

Mar 15, 2018 6:27:15 PM io.netty.handler.codec.http2.Http2ConnectionHandler processGoAwayWriteResult WARNING: [id: 0x41d45f4a] Sending GOAWAY failed: lastStreamId '0', errorCode '2', debugData 'Connection refused: /'. Forcing shutdown of the connection. java.nio.channels.ClosedChannelException

Mar 15, 2018 6:27:15 PM$1 onError SEVERE: Unable to connect to peer server: UNAVAILABLE: Transport closed for unknown reason

Can anyone help me out on this?

Mar 27, 2018 in Blockchain by ned_crew
• 1,620 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote
Best answer
The challenge you are facing is mostly because of TLS communication error between grpc-java client to golang server.  

I think it was a problem with the handshake failing because of the version mismatch between different components. I had used a specific version of the grpc and protobuf to make it work. You can take a look at this commit hyperledger/fabric@d39194c

The "Broken pipe" could be ignored. The transport was being disconnected for other reasons. Based on the code linked, it appears overrideAuthority() was necessary, which makes sense and is "normal" in many situations. Doesn't seem there is any bug here.
answered Mar 27, 2018 by Gabriel
• 680 points

selected Aug 3, 2018 by Omkar

Related Questions In Blockchain

+1 vote
2 answers
0 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer

What are the differences between the hyperledger and Blockchain?

To answer your first query.. Blockchain is ...READ MORE

answered Apr 5, 2018 in Blockchain by anonymous
0 votes
1 answer
+1 vote
1 answer

Hyperledger - How can I use transaction certificates to enforce privacy?

The transaction certificates don't actually address privacy ...READ MORE

answered Apr 17, 2018 in Blockchain by Perry
• 16,450 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.