hyperledger-fabric

Fail to deploy sample chaincode on Fabric from fabric-samples

主宰稳场 提交于 2021-01-28 09:12:35
问题 I am trying to deploy a sample ChainCode on Fabric test-network. I bring up the network and then I create a channel and then I run this command: ./network.sh deployCC and I get the following error: Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image inspection failed: Get "http://unix.sock/images/dev-peer0.org1.example.com-basic_1.0

In fabric first-network example, hot to fix the error: “transport: error while dialing: dial tcp: lookup peer0.org1.example.com: no such host”

假如想象 提交于 2021-01-28 08:22:09
问题 Can't run the fabric first-network example This is the log when I run: ./byfn up / ___| |_ _| / \ | _ \ |_ _| \___ \ | | / _ \ | |_) | | | ___) | | | / ___ \ | _ < | | |____/ |_| /_/ \_\ |_| \_\ |_| Build your first network (BYFN) end-to-end test Channel name : mychannel Creating channel... + peer channel create -o orderer.example.com:7050 -c mychannel -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example

what is wrong with my connectionprofile.json file?

拥有回忆 提交于 2021-01-28 07:00:47
问题 Problem: I have created a fabric network. I installed and instantiated a chaincode from cli. After I submit some transactions through cli . After I tried to invoke a transaction through node SDK it failed with giving me this error. 2019-05-19T05:38:04.866Z - error: [Channel.js]: Channel:myc received discovery error:access denied 2019-05-19T05:38:04.868Z - error: [Channel.js]: Error: Channel:myc Discovery error:access denied 2019-05-19T05:38:04.904Z - error: [Channel.js]: Channel:myc received

createPeerAdminCard.sh not running

青春壹個敷衍的年華 提交于 2021-01-28 02:05:57
问题 https://ibm-blockchain.github.io/develop/installing/development-tools As i was following this and reached the step to Start and Stop Hyperledger Fabric, i was told to run ./createPeerAdminCard.sh as i run this, i get an error as follows: Development only script for Hyperledger Fabric control Running 'createPeerAdminCard.sh' FABRIC_VERSION is unset, assuming hlfv11 FABRIC_START_TIMEOUT is unset, assuming 15 (seconds) Cannot use Composer version @package_branch_alias_version@ (1.0.0-beta2) 2016

How to add a new Orderer Organization to existing Hyperledger Fabric network

拥有回忆 提交于 2021-01-27 14:15:59
问题 I am trying to add a new Orderer Organization to RAFT based existing ordering service. I am using the first-network from fabric-samples as the base network. While generating crypto-material, I have modified to generate crypto-material for 1 more orderer organization. The crypto-config.yaml looks like: OrdererOrgs: # --------------------------------------------------------------------------- # Orderer # --------------------------------------------------------------------------- - Name: Orderer

Hyperledger fabcar sample fabric showing connect failed ERROR

时光总嘲笑我的痴心妄想 提交于 2021-01-27 06:13:05
问题 I am trying to install hyperledger and run chain code. I followed all the steps as directed here. But getting error error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed while running the query.js. I have following active docker running Before running the node query.js , when i am running npm install its giving following warning : npm WARN fabcar@1.0.0 No repository field. Is this the problem. Can any one please help me out about where it is going wrong. 回答1

Hyperledger Fabric: Enrollment check failed: Idemix enrollment information does not exist

限于喜欢 提交于 2021-01-21 11:21:00
问题 we get this error whenever we try to run fabric-ca-client . Example below: # fabric-ca-client register --url https://ica-org:7054 --id.name user-org --id.affiliation=org 2019/03/19 20:18:07 [INFO] Configuration file location: /home/fabric-ca-client-config.yaml 2019/03/19 20:18:07 [INFO] TLS Enabled 2019/03/19 20:18:07 [ERROR] Enrollment check failed: Idemix enrollment information does not exist Error: Enrollment information does not exist. Please execute enroll command first. Example: fabric

Hyperledger Fabric: Enrollment check failed: Idemix enrollment information does not exist

女生的网名这么多〃 提交于 2021-01-21 11:20:07
问题 we get this error whenever we try to run fabric-ca-client . Example below: # fabric-ca-client register --url https://ica-org:7054 --id.name user-org --id.affiliation=org 2019/03/19 20:18:07 [INFO] Configuration file location: /home/fabric-ca-client-config.yaml 2019/03/19 20:18:07 [INFO] TLS Enabled 2019/03/19 20:18:07 [ERROR] Enrollment check failed: Idemix enrollment information does not exist Error: Enrollment information does not exist. Please execute enroll command first. Example: fabric

Hyperledger Fabric: Enrollment check failed: Idemix enrollment information does not exist

落花浮王杯 提交于 2021-01-21 11:18:07
问题 we get this error whenever we try to run fabric-ca-client . Example below: # fabric-ca-client register --url https://ica-org:7054 --id.name user-org --id.affiliation=org 2019/03/19 20:18:07 [INFO] Configuration file location: /home/fabric-ca-client-config.yaml 2019/03/19 20:18:07 [INFO] TLS Enabled 2019/03/19 20:18:07 [ERROR] Enrollment check failed: Idemix enrollment information does not exist Error: Enrollment information does not exist. Please execute enroll command first. Example: fabric

Hyperledger Fabric: Enrollment check failed: Idemix enrollment information does not exist

99封情书 提交于 2021-01-21 11:18:02
问题 we get this error whenever we try to run fabric-ca-client . Example below: # fabric-ca-client register --url https://ica-org:7054 --id.name user-org --id.affiliation=org 2019/03/19 20:18:07 [INFO] Configuration file location: /home/fabric-ca-client-config.yaml 2019/03/19 20:18:07 [INFO] TLS Enabled 2019/03/19 20:18:07 [ERROR] Enrollment check failed: Idemix enrollment information does not exist Error: Enrollment information does not exist. Please execute enroll command first. Example: fabric