How to start the Composer REST Server with the identity created through REST API? -
i have configured local rest server use github auth , mongo db. have followed deployment steps , can authenticate gihub id putting default wallet mongo db. create participant , issue identity participant. add identity wallet , set identity default. able system/ping return current participant , able call rest apis.
start rest server single user mode identity created in deployment steps follow.
composer-rest-server -i nomura -s twidkdziyfgw -m false -a false
i assume blockchain identity specified on command line @ startup created when issuing identity participant. shows following error.
discovering types business network definition ... connection fails: error: error trying ping. error: error trying query chaincode. error: chaincode error (status: 500, message: error: current identity has not been registered:nomura) retried next request. exception: error: error trying ping. error: error trying query chaincode. error: chaincode error (status: 500, message: error: current identity has not been registered:nomura) error: error trying ping. error: error trying query chaincode. error: chaincode error (status: 500, message: error: current identity has not been registered:nomura)
what else have create valid blockchain id starting rest server?
your identity fine. problem appears how you're trying start rest server. need specify connection profile (to connect business network).
example syntax (where 'hlfv1' below hl fabric v1 connection profile name) is:
composer-rest-server -p hlfv1 -n my-network -i nomura -s twidkdziyfgw -m false -a false
Comments
Post a Comment