Topics

Unable to connect to the Peer using Node SDK #fabric #fabric-sdk-node #grpc

soumya nayak
 

HI Team,

While running the node gateway.js , i am getting the below error - ranjan@ubuntuVMServer1:~/LDBCApp/sdk/gateway$ node gateway.js start setupGateway begin setupGateway 1 setupGateway 2 setupGateway 3 setupGateway end getNetwork start legaldescriptionchannel _initializeInternalChannel 1 _initializeInternalChannel 2 2019-06-29T04:01:23.768Z - error: [Remote.js]: Error: The channel has been closed URL:grpc://172.23.155.115:7051 2019-06-29T04:01:23.775Z - error: [Channel.js]: Error: The channel has been closed URL:grpc://172.23.155.115:7051 2019-06-29T04:01:23.775Z - error: [Network]: _initializeInternalChannel: Unable to initialize channel. Attempted to contact 1 Peers. Last error was Error: The channel has been closed URL:grpc://172.23.155.115:7051 Error: Unable to initialize channel. Attempted to contact 1 Peers. Last error was Error: The channel has been closed URL:grpc://172.23.155.115:7051 at Network._initializeInternalChannel (/home/ranjan/LDBCApp/sdk/node_modules/fabric-network/lib/network.js:112:12) at at process._tickCallback (internal/process/next_tick.js:189:7) In the ubuntu machine when i am doing -- nc -vz 172.23.155.115 7051 -- its telling connection succeeded.

Regards,
Soumya