Open bhaskarbanerjee opened 7 years ago
This is an issue with the way that bluemix doesn't persist the keyValStore when the demo is restarted. Meaning that the peers have one certificate saved for each user, but hfc doesn't know of them certificates, so you see enroll issues. We are exploring ways to solve this, including persisting the keyValStore to an external database.
Trying the latest version of app https://github.com/IBM-Blockchain/car-lease-demo Deployment of app from the bluemix page https://console.ng.bluemix.net/docs/services/blockchain/ibmblockchain_tutorials.html#carlease works but any subsequent redeployment of the same app (locally cloned) using CLI results in the following message in the app logs. Thereafter all calls to admin/identity service fails and everything falls apart.
App/0ERROR Startup OUTPUT: "Failed to enroll registrar with WebAppAdmin 2dc560a51d"06 Dec 2016 | 11:28 AM App/0ERROR Startup OUTPUT: {"code":2,"metadata":{"_internal_repr":{}}}06 Dec 2016 | 11:28 AM App/0 at /home/vcap/app/node_modules/grpc/src/node/src/client.js:417:17 code: 2, metadata: Metadata { _internal_repr: {} } }06 Dec 2016 | 11:28 AM App/0{ Error: Identity or token does not match.06 Dec 2016 | 11:28 AM App/0ENTER GET blockchain/blocks INPUT: ""
Any clues?