sendPeersProposal-承诺被拒绝

时间:2019-01-23 13:47:07

标签: hyperledger-fabric blockchain

从节点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)         

我在单个vm中创建了4个不同的组织,chaincode安装和实例化成功。 我已经使用fabcar的enrolladmin.js和registeruser.js生成了证书。 当我尝试调用时,我面临上述问题。有什么建议么?

0 个答案:

没有答案