Warning: session_start(): open(/var/cpanel/php/sessions/ea-php72/sess_47bf6ad57146fd4f5d3ddb0eb1df3530, O_RDWR) failed: No space left on device (28) in/home/mytectra/public_html/community/wp-content/plugins/wpforo/wpf-includes/class-notices.phpon line16

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php72) in/home/mytectra/public_html/community/wp-content/plugins/wpforo/wpf-includes/class-notices.phpon line16
Hyperledger fabcar sample fabric error sendPeersProposal – Promise is rejected Error Connect Failed – Blockchain – Community – myTectra Forum
Hyperledger fabcar ...
Notifications
Clear all

Hyperledger fabcar sample fabric error sendPeersProposal - Promise is rejected Error Connect Failed

RSS

(@ganesh)
Noble Member
Joined: 1 year ago
Posts: 1362
19/07/2021 1:03 pm

I am getting the following error when I am trying to install hyperledger and run chaincode. I am following the steps from here.

error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed


Quote
(@anamika)
Noble Member
Joined: 1 year ago
Posts: 1381
19/07/2021 1:04 pm

The problem is with the connection.

First, find out the IP address of the system:

$ ifconfig

Then replace localhosts in query.js with IP that you found with the previous command

Example:

@@ -12,7 +12,7 @@ var options = { user_id: 'PeerAdmin', channel_id: 'mychannel', chaincode_id: 'fabcar', network_url: 'grpc://:7051', };

ReplyQuote
Share:
Baidu