hyperledger

Facing Issue with hyperledger playground tutorial

为君一笑 提交于 2019-12-13 04:32:49
问题 I first installed the hyperledger using this link: https://hyperledger.github.io/composer/latest/installing/development-tools.html During the composer install... seems it installed v0.19.x. So when i ran the command ./createPeerAdminCard.sh ... i got an error: "v0.19.x is not supported for this level of fabric. Please use version 0.16"... I checked the script fabric-scripts/hlfv1/createPeerAdminCard.sh and it indeed says that the version should be 0.16.x.. Sample snippet from the script which

Not able to do a post request to an authenticated Hyperledger Composer rest server in Java

邮差的信 提交于 2019-12-13 04:23:00
问题 I am not able to do a POST request to the Composer rest server that is authenticated. I have been trying out Hyperledger composer rest server with authentication and multiuser enabled. I have enabled Github based authentication by exporting COMPOSER_PROVIDERS variable and multiuser mode with Wallet and identities . I authenticate the rest server in github and i am able to do rest operations in the Composer Swagger explorer . I am also able to do the rest operations in Postman by passing the

Hyperledger Composer v0.19 Hiding Historian in ACL

*爱你&永不变心* 提交于 2019-12-13 04:12:11
问题 I would like to ask how to hide the Historian // Transaction log in v0.19? I have tried this from an example --> rule hideHistorianAccess{ description: "Deny access to Historian" participant: "org.blockknowhow.com.Users" operation: READ resource: "org.hyperledger.composer.system.HistorianRecord" action: DENY } rule historianAccess{ description: "Only allow members to read historian records referencing transactions they submitted." participant(p): "org.blockknowhow.com.Users" operation: READ

Hyperledger first network sample error

我与影子孤独终老i 提交于 2019-12-13 04:09:16
问题 I am following this link first-network to run hyperledger samples name first-network . I am using Ubuntu 18.04LTS ./byfn.sh -m generate got successfully executed. When I am trying to execute ./byfn.sh -m up I am getting error `2018-05-08 08:45:22.485 UTC [main] main -> ERRO 001 Cannot run peer because cannot init crypto, missing /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp folder !!!!!!!!!!!!!!! Channel creation

Kafka Brokers for Hyperledger Fabric could not establish a connection

此生再无相见时 提交于 2019-12-13 03:58:04
问题 I need some assistance with configuring my kafka brokers docker containers for hyperledger fabric. My setup will be a cluster of 4 brokers and I am having an issue when I introduce the second broker. All the brokers are currently sitting on a single machine and I need them to advertise their external address so that my orderers on different machines can discover them. My compose file with 1 Zookeeper and 1 Broker: version: '2' services: zookeeper0.hyperfabric.xyz: image: hyperledger/fabric

hyperledger sawtooth validator node permissioning issue

送分小仙女□ 提交于 2019-12-13 03:52:58
问题 permission_verifier] Chain head is not set yet. Permit all. client_handlers] Unable to get chain head from block store not getting what is happening here. Could someone help? 回答1: This error has been seen when the ownerships are wrong. Try setting ownership as follows: chown sawtooth:sawtooth /var/lib/sawtooth /var/lib/sawtooth/* Another possibility is you need to start the Sawtooth processes as user sawtooth . For example: sudo -u sawtooth sawtooth-validator -vv 来源: https://stackoverflow.com

Error getting endorser client channel: endorser client failed to connect to peer0.org1.example.com:7051

允我心安 提交于 2019-12-13 03:51:53
问题 I am new to Hyperleger Fabric. I'm reading a tutorial on Building Your First Network and got stuck in the fabric-samples/first-network sample. I first run: ./byfn.sh generate Then I run: ./byfn.sh up The result of this is: Starting for channel 'mychannel' with CLI timeout of '10' seconds and CLI delay of '3' seconds Continue? [Y/n] y proceeding ... 2018-08-03 02:56:16.574 UTC [main] main -> INFO 001 Exiting..... LOCAL_VERSION=1.1.1-snapshot-DOCKER_IMAGE_VERSION=1.1.0 ===================

Hyperledger Blockchain Endorsement Policy Guidelines/Recommendation

早过忘川 提交于 2019-12-13 03:43:23
问题 I can modify Hyperledger's endorsement policy at instantiate time as described in the docs here. However, is there some guideline on how many peers should endorse a transaction? I understand that not all peers need to be endorsing peers but generally, what would be the minimum acceptable number in terms of total number of peers? Of course it varies from application to application, but would be nice to have some guideline/insights. 回答1: what would be the minimum acceptable number in terms of

Hyperledger: Error trying to ping. Unexpected end of JSON input

这一生的挚爱 提交于 2019-12-13 03:34:07
问题 I'm trying to deploy my own .bna file to a business network using this tutorial. The only difference is that I am doing this with three organizations. Everything works fine until I run the step eight because when I run this command: composer network ping -c alice@trade-network I got this error: Error trying to ping. Unexpected end of JSON input. Does anybody know how can I solve this? Thank you 回答1: I had the same issue, and I knew it was a matter of local configuration since it stopped

Error installing .bna file on ibm starter plan for blockchain

我只是一个虾纸丫 提交于 2019-12-13 03:16:43
问题 All these while I had been running my Hyperledger composer on AWS and it had been great so far with all the configurations setup. But the starter plan has been launched by IBM like couple of days ago, and I had tried following the configurations on the IBM website. Upon reaching to the last/final step of deploying the .bna file to the network, I am too facing this problem with composer 0.18.2 where, Do hope there's a solution on what I am missing it out. ✖ Starting business network definition