Orderer Failed to connect error but the transaction is going through. this network is implemented on kubernetes clusters of azure ( [Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n )


Vijaya Bhaskar
 


I have HLF network deployed across 2 kubernetes clusters on azure. 2 orderers are on one cluster and 1 orderer is in another cluster. the following is for the cluster with 2 orderers. I am getting intermittent error in the logs as below from the Node SDK. 

I have checked the connection profile (peer and orderer names , port numbers certs). the certs are correct (this tls error is intermittent so certs being wrong is ruled out). below is the log which is being thrown

[Orderer.js]: sendBroadcast - on error: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n    at Object.exports.createStatusError (/usr/src/asset/node_modules/grpc/src/common.js:91:15)\n    at ClientDuplexStream._emitStatusIfDone (/usr/src/asset/node_modules/grpc/src/client.js:233:26)\n    at ClientDuplexStream._receiveStatus (/usr/src/asset/node_modules/grpc/src/client.js:211:8)\n    at Object.onReceiveStatus (/usr/src/asset/node_modules/grpc/src/client_interceptors.js:1311:15)\n    at InterceptingListener._callNext (/usr/src/asset/node_modules/grpc/src/client_interceptors.js:568:42)\n    at InterceptingListener.onReceiveStatus (/usr/src/asset/node_modules/grpc/src/client_interceptors.js:618:8)\n    at /usr/src/asset/node_modules/grpc/src/client_interceptors.js:1127:18"

E0714 05:51:13.484461396      34 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate.

E0714 05:51:14.071827670      34 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate.

E0714 05:51:14.852674774      34 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate.


has any one faced this before and has a solution? or it will be helpful if anyone can give some pointers

Thanks
Vijay