hyperledger

CA stack service failed to start

拜拜、爱过 提交于 2019-12-13 03:14:00
问题 I'm having this error while deploying stack of CA. Error: Failed to find private key for certificate in '/etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem': Could not find matching private key for SKI: Failed getting key for SKI [[21 208 34 108 92 98 114 142 23 136 0 189 188 55 155 135 23 90 147 173 157 62 155 19 173 212 128 3 175 212 121 41]]: Key with SKI 15d0226c5c62728e178800bdbc379b87175a93ad9d3e9b13add48003afd47929 not found in /etc/hyperledger/fabric-ca-server/msp

composer-rest-server Unhandled 'error' event

泪湿孤枕 提交于 2019-12-13 02:16:23
问题 When I try composer-rest-server -c acme-admin@test-bna I get this output: Discovering the Returning Transactions.. Discovered types from business network definition Generating schemas for all types in business network definition ... Generated schemas for all types in business network definition Adding schemas for all types to Loopback ... Added schemas for all types to Loopback events.js:183 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE :::3000 at Server.setupListenHandle

Is Hyperledger a truly secure blockchain like ethereum?

China☆狼群 提交于 2019-12-12 23:44:49
问题 In Hyperledger we have something called a network admin and this admin will have access to all the cards and assets on the blockchain (at least I have tried to deny the admin access to assets using the acl, but I couldn't deploy the change, it timed out Everytime). So, is it possible to isolate admin from our business network? Or all the blockchains like ethereum too have the network admin? 回答1: I believe you are referring in your question to Hyperledger Composer rather than Hyperledger

Error invoking chaincode using Node.js SDK [TypeError: Cannot read property 'getConnectivityState' of undefined]

佐手、 提交于 2019-12-12 10:15:55
问题 Failed to invoke successfully :: TypeError: Cannot read property 'getConnectivityState' of undefined /opt/share/hyperledger/node_modules/fabric-client/lib/EventHub.js:355 if(self._stream) state = self. stream.call.channel .getConnectivityState(); ^ TypeError: Cannot read property 'getConnectivityState' of undefined at ClientDuplexStream.<anonymous> (/opt/share/hyperledger/node_modules/fabric-client/lib/EventHub.js:355:56) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211

Instantiating Chaincode in Hyperledger Composer with local npm registry

限于喜欢 提交于 2019-12-12 09:57:06
问题 I want to instantiate a chaincode in an environment without any Internet connection. As the chaincode container will issue npm install upon instantiation, I added a new container called npmregistry in the docker-composer.yml so that it is provisioned alongside the rest of the Fabric containers and belongs to the same docker network (composer_default). Note I'm using the fabric-tools downloaded from https://hyperledger.github.io/composer/latest/installing/development-tools.html) npmregistry:

Implement inter-channel security among the peers within the same channel in Hyperledger Fabric V1.0

我与影子孤独终老i 提交于 2019-12-12 09:48:11
问题 I have successfully create a Hyperledger Fabric v1.0 network locally by following the steps Building Your First Network and communicating to this network from my java application using fabric-sdk-java. Here it created the certificates using cryptogen tools and is able to invoke/query chaincode through each of the peers which participating in the same channel. My implementations is like: I have four organisations Org1, Org2, Org3 and Org4 each having one peer. When Org1 creating an asset A1

Hyperledger Composer : No business network has been specified for this connection

南笙酒味 提交于 2019-12-12 09:04:31
问题 I have installed hyperledger composer locally. But on localhost it gives error : Error : Error trying to ping. Error: No business network has been specified for this connection. I am not able to add model and script file as well. This is the errors showing in terminal error: [Hyperledger-Composer] undefined:HLFConnection :ping() Error: Error trying to ping. Error: No business network has been specified for this connection at _checkRuntimeVersions.then.catch (/usr/local/lib/node_modules

Hyperledger Fabric CouchDB updates through Fauxton treated as valid updates, but no record in blockchain

人盡茶涼 提交于 2019-12-12 06:56:58
问题 I have a Hyperledger Fabric network setup with 3 peers, each with a CouchDB persistence container. If I go through the Fauxton interface and alter a JSON record, this state change is propagated to all three peers, which are in the same org. However, there is no record of the state change in the blockchain. No transaction is created for it. If it's not a blockchain transaction causing the state change to be propagated to all peers, what mechanism is causing it? How in the heck is the state

Not able to use IBM Blockchain services after Bluemix 1.0 update (Hyperledger 0.6)

≡放荡痞女 提交于 2019-12-12 04:37:37
问题 My team and I are developing an app using Bluemix Blockchain services, and we were using the application just fine until the 1.0 update. We thought it could be an error related to the ibm-blockchain.js library, however we have tried deploying it via REST and we still get errors: { "jsonrpc": "2.0", "error": { "code": -32001, "message": "Deployment failure", "data": "Error when deploying chaincode: Error getting chaincode package bytes: Error getting code 'go get' failed with error: 'exit

Hyperledger : Deploying chaincode successful. But, cannot query - says ResourceNotFound

痞子三分冷 提交于 2019-12-12 03:46:19
问题 I have started a peer and membersrvc container with docker compose. They have started successfully. I deploying example02 chaincode from CLI (tried REST also). I get a success message. When i try to query the chaincode, i am getting Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for mycc - LedgerError - ResourceNotFound: ledger: resource not found) Following are the steps that I performed: [karthik@localhost hyperledger]$ cat docker