ibm mobilefirst - IBM Worklight JSON Store with Sync -
i getting error when tried run worklight application json store sync
2013-05-15 10:27:43.466 offapp[935:c07] [log] 16 error message: could_not_get_secure_key
the json store failing load initial data adapter
that error message saying application using jsonstore unable reach worklight server. it's trying access /random
secure random token.
response [/apps/services/random] success: e9097576c8663f4d9946c9389570ff34bf81975c
that token used generate keys necessary provide data encryption.
the function called generate secure random is:
wl.encryptedcache.securerandom(callback);
edit (feb. 6, 2014): can following init without worklight server:
wl.jsonstore.init(..., {localkeygen: true});
more details in documentation init.
Comments
Post a Comment