ibm-silvergate / netcomposer

Hyperledger Fabric Network bootstrapping made simple for experimentation, development and testing
Apache License 2.0
13 stars 6 forks source link

Error during provisioning with tls disabled #15

Closed erNail closed 5 years ago

erNail commented 5 years ago

When provisioning a network with TLS disabled, the following error occurs during peer channel create:

grpc: addrConn.createTransport failed to connect to {orderer1.samplenet.com:7050 0  <nil>}.
Err :connection error: desc = "transport: authentication handshake failed: tls: 
first record does not look like a TLS handshake". Reconnecting...

The cause for this can be found in line 36 in the provision-template.sh. During peer channel create, there is always the argument --tls true. Changing it to false will still cause an error. With TLS disabled, the argument has to be removed completely.

erNail commented 5 years ago

Fixed issue. Waiting for Pull Request #16 to be accepted.

jeroiraz commented 5 years ago

Thanks for the fix @erNail