0
私は、デフォルトの財布のIDを設定するまでの手順を完了することができています。その後、私はシステムのpingメソッドを試してみるとエラーが出ます。Hyperledger作曲マルチユーザアイデンティティ
{
"error": {
"statusCode": 500,
"name": "Error",
"message": "Error trying to ping. Error: Error trying to query chaincode. Error: chaincode error (status: 500, message: Error: The current identity has not been registered:maeid1)",
"stack": "Error: Error trying to ping. Error: Error trying to query chaincode. Error: chaincode error (status: 500, message: Error: The current identity has not been registered:maeid1)\n at _checkRuntimeVersions.then.catch (/home/praval/.nvm/versions/node/v6.11.1/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:696:34)"
}
}
アクセストークンからのテスト中に同じエラーが表示されます。
curl -v http://localhost:3000/api/system/ping?access_token=xxxxx
ネットワークピングは正常に実行できますが、
composer network ping -p hlfv1 -n 'digitalproperty-network' -i maeid1 -s NfUhmXtiaSUH
ありがとうございました。
Davidありがとうございます。それが問題を解決しました。 –