While deploying an empty business network , getting below errors :-
Front end :-
An error has occurred
Error: Error trying install business network. Error: No valid responses from any peers. Response from attempted peer comms was an error: Error: Failed to connect before the deadline
In the logs :-
warn: [Hyperledger-Composer] :HLFConnection :_checkCCListener() could not find any connected event hubs out of 1 defined hubs to listen on for chaincode events
warn: [Hyperledger-Composer] :HLFConnection :_checkCCListener() could not find any connected event hubs out of 1 defined hubs to listen on for chaincode events
warn: [Hyperledger-Composer] :HLFConnection :_checkCCListener() could not find any connected event hubs out of 1 defined hubs to listen on for chaincode events
error: [Hyperledger-Composer] :HLFConnectionManager :fabric-client() [Remote.js]: Error: Failed to connect before the deadline
error: [Hyperledger-Composer] :HLFConnectionManager :fabric-client() [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline
at checkState (/usr/local/lib/node_modules/composer-playground/node_modules/grpc/src/client.js:838:16)
warn: [Hyperledger-Composer] :HLFConnection :_validatePeerResponses() Response from attempted peer comms was an error: Error: Failed to connect before the deadline
error: [Hyperledger-Composer] :HLFConnection :install() Error: Error trying install business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: Failed to connect before the deadline
at HLFConnection.install (/usr/local/lib/node_modules/composer-playground/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:518:30)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
error: [Hyperledger-Composer] :ConnectorServer :connectionDeploy() Error: Error trying install business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: Failed to connect before the deadline
at HLFConnection.install (/usr/local/lib/node_modules/composer-playground/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:518:30)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
warn: [Hyperledger-Composer] :HLFConnection :_checkCCListener() could not find any connected event hubs out of 1 defined hubs to listen on for chaincode events
warn: [Hyperledger-Composer] :HLFConnection :_checkCCListener() could not find any connected event hubs out of 1 defined hubs to listen on for chaincode events
warn: [Hyperledger-Composer] :HLFConnection :_checkCCListener() could not find any connected event hubs out of 1 defined hubs to listen on for chaincode events
warn: [Hyperledger-Composer] :HLFConnection :_checkCCListener() could not find any connected event hubs out of 1 defined hubs to listen on for chaincode events
Still the error is coming even if all the containers are up and running . When i am exectuing below command :-
bcuser@CUSVLDEV1HFB01:~/fabric-dev-servers/tutorial-network$ composer network install --card PeerAdmin@hlfv1 --archiveFile tutorial-network@0.0.1.bna
â Installing business network. This may take a minute...
Error: Error trying install business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: Failed to connect before the deadline
Command failed