sendPeersProposal - обещание отклонено - PullRequest
0 голосов
/ 23 января 2019

Возникновение проблемы ниже при отправке предложения по транзакции с узла js

error: [Client.js]: Failed to load user "admin" from local key value store. Error: TypeError: Cannot read property 'curve' of undefined
        at Object.KEYUTIL.getKey (/home/user499/fabric-samples/demo/node_modules/jsrsasign/lib/jsrsasign.js:247:10379)
        at CryptoSuite_ECDSA_AES.getKey (/home/user499/fabric-samples/demo/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:204:27)
        at <anonymous>
    error: [Client.js]: Failed to load an instance of requested user "admin" from the state store on this Client instance. Error: TypeError: Cannot read property 'curve' of undefined
        at Object.KEYUTIL.getKey (/home/user499/fabric-samples/demo/node_modules/jsrsasign/lib/jsrsasign.js:247:10379)
        at CryptoSuite_ECDSA_AES.getKey (/home/bange499/fabric-samples/kpn_finaldemo/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:204:27)
        at <anonymous>
    TypeError: Cannot read property 'curve' of undefined
        at Object.KEYUTIL.getKey (/home/user499/fabric-samples/demo/node_modules/jsrsasign/lib/jsrsasign.js:247:10379)
        at CryptoSuite_ECDSA_AES.getKey (/home/bange499/fabric-samples/kpn_finaldemo/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:204:27)
        at <anonymous>
    data  dfsdfsdfsdf:::TypeError: Cannot read property 'curve' of undefined
        at Object.KEYUTIL.getKey (/home/user499/fabric-samples/demo/node_modules/jsrsasign/lib/jsrsasign.js:247:10379)
        at CryptoSuite_ECDSA_AES.getKey (/home/user499/fabric-samples/demo/node_modules/fabric-client/lib/impl/CryptoSui

te_ECDSA_AES.js: 204: 27) на

Я создал 4 разные организации в одной виртуальной машине, установка и создание цепочки успешно завершены. Я сгенерировал сертификаты, используя enrolladmin.js и registeruser.js из fabcar. Когда я пытаюсь вызвать, я сталкиваюсь с проблемой выше. Какие-либо предложения?

...