Posts

Showing posts with the label hyperledger

Hyperledger Composer custom REST API server in Multiuser mode

Hyperledger Composer custom REST API server in Multiuser mode I have a problem with enabling multiusers after generating custom loopback app using this tutorial https://hyperledger.github.io/composer/latest/integrating/customizing-the-rest-server The problem is that there is no system/historian /system/identities /system/identities/bind endpoints. That's why there is no possibility to import CARD for using multiuser mode. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

panic: Version is not set for fabric-ca library

Image
panic: Version is not set for fabric-ca library I followed the below link to install hyperledger fabric ca: http://hyperledger-fabric-ca.readthedocs.io/en/latest/users-guide.html#setting-up-multiple-cas which specifies the below command to install: go get -u github.com/hyperledger/fabric-ca/cmd/... I have all the dependencies: Go version: 1.9.6 GOPATH environment variable is set correctly libtool and libtdhl-dev packages are installed However, when I run the fabric-ca-server natively, I get the following error: In words, the error is shown below: 2018/06/29 13:32:20 [INFO] Configuration file location: /home/abhinay-trana/crypto-config/peerOrganizations/org1.com/ca/root/fabric-ca-server-config.yaml panic: Version is not set for fabric-ca library goroutine 1 [running]: github.com/hyperledger/fabric-ca/lib/metadata.GetVersion(0x779657, 0xc4202d26c0) /home/abhinay-trana/go/src/github.com/hyperledger/fabric-ca/lib/metadata/version.go:58 +0x60 github.com/hyperledger/fabric-ca/lib.(*Server).i...