When I am Trying to run fabcar example in hyperledger fabric I am getting an error
"error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed"
As I am new to hyperledger I am not getting the correct answer Please help me with this
I am using :
Node version : v6.14.1
Npm version : v3.10.10
Thanks in advance
Related
I'm trying to install Hyperledger in my Ubuntu Stand Alone system, After running sudo ./byfn.sh up i got this Error please help..!
Error: failed to create deliver client for orderer: orderer client
failed to connect to orderer.example.com:7050: failed to create new
connection: connection error: desc = "transport: error while dialing:
dial tcp: lookup orderer.example.com: no such host" !!!!!!!!!!!!!!!
Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========
ERROR !!!! Test failed
byfn.sh script was used with older fabric versions and is no longer supported. The latest fabric-samples is having a network.sh script to setup fabric network. Detailed tutorial is available in official docs.
:~/Documents/test/education/LFS171x/fabric-material/tuna-app/$ node query.js
Store path:/home/*******/Documents/test/education/LFS171x/fabric-material/tuna-app/hfc-key-store
Successfully loaded user1 from persistence
2020-02-11T05:56:10.423Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://localhost:7051
Query has completed, checking results
error from query = Error: Failed to connect before the deadline URL:grpc://localhost:7051
at checkState (/home/******/Documents/test/education/LFS171x/fabric-material/tuna-app/node_modules/fabric-client/node_modules/grpc/src/client.js:883:16) {
connectFailed: true
}
Im experimenting Hyperledger Fabric, using this link for reference,
Successfully registered admin and user, using registerAdmin.js and registerUser.js.
I am currently facing this error after running node query.js.
I need help troubleshooting this error,
Error: Failed to connect before the deadline
URL:grpc://localhost:7051.
Platform: Ubuntu 18.04,
Experimenting hyperledger fabric using Local Environment.
Thanks in advance.
I am very new to the Hyperledger Fabric and Convector Framework and I have followed this tutorial:
https://worldsibu.github.io/convector/modules/getting_started.html
When I try to use the CLI tool and run the command (test is my chaincode name):
npm run cc:start -- test 1
It gives the following errors:
Installing Chaincode test version 1.0 at org1
Error: Error endorsing chaincode: rpc error: code = Unknown desc = access
denied: channel [] creator org [org1MSP]
...
Installing Chaincode test version 1.0 at org2
Error: error getting endorser client for install: endorser client failed to
connect to localhost:7151: failed to create new connection: context deadline
exceeded
I have not changed the configs and MSPs.
What is going wrong and how should I start to resolve the problem? Any guidance is appreciated!
#shole that documentation is now deprecated, you can use http://docs.worldsibu.com/convector for the latest versions.
About your error that usually happens when the environment gets corrupted and keeps cryptographic materials from a previous installation, try re-running npm run env:restart and try again.
When I ping blockchain business network using composer network ping command getting following error:
Command :
ubuntu#pc:~/Yogendra/BlockChain/order-supply-chain-27-Feb-2018/order-supply-chain$ sudo composer network ping -c yogi#order-supply-chain
Error :
E0227 17:19:27.692776546 15301 ssl_transport_security.c:921]
Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL
routines:ssl3_get_server_certificate:certificate verify failed. E0227
17:19:27.708774523 15301 ssl_transport_security.c:921] Handshake
failed with fatal error SSL_ERROR_SSL: error:14090086:SSL
routines:ssl3_get_server_certificate:certificate verify failed. Error:
Error trying invoke business network. Error: Peer has rejected
transaction
'975aa720ec13a9ca2b58022e44d63cc69a815e802fd5495c904b5d44e9b2d251'
with code ENDORSEMENT_POLICY_FAILURE Command failed
The answer and comments in this post should help you if you are using Composer v0.16.x
This tutorial should help with the format of the connection.json file.
If you are using v0.17.x, you will need this version of the tutorial.
UPDATE:
Composer v0.19 is now the latest version with many enhancements and some breaking changes. The tutorial has been updated accordingly and the revised tutorial is here.
I am following the steps to run the blockchain code from balance-transfer in the sample codes provided by hyperledger.
https://github.com/hyperledger/fabric-samples/tree/release/balance-transfer.
Things work smoothly when I run it with golang but I get the following error when I run it with node.js.
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: error starting container: Failed to generate platform-specific docker build: Error returned from build: 254 "npm WARN example_cc#1.0.0 No repository field.
The error occurs when the chaincode is instantiated on the channel.
I am using node v8.6.0 and npm v5.3.0.
Any idea what is going on?
Thanks in advance.
It turns out the code written in node.js has been removed in their latest release. I guess there was a problem with it.