Re: Error while invoking functions of the chaincode using Node SDK (Fabric network on Kubernetes) #fabric #kubernetes #fabric-sdk-node


Mark Lewis
 

Those certificate verification failures during the TLS handshake look like a problem to me. I guess the node certificates are not valid for localhost. Maybe you could add entries to your client's local hosts file so it resolves the node addresses (peer0.org1, ca.org1) to the localhost/loopback address and the discovery / as localhost option in your client to false, so the client thinks it is connecting to the address specified in the server certificates.

Join fabric@lists.hyperledger.org to automatically receive all group messages.