Hyperledger Febric Error : Channel:mychannel received discov



我试图运行fabric-samples/asset-transfer-basic/application-javascript/app.js文件但是发现错误。

在我输入命令"node app.js">

后显示发现错误

删除

  • user.id
  • appUser.id

标识来自您的/home/pritam/fabric-samples/asset-transfer-basic/application-javascript/wallet目录。

发生的错误已经记录在asset-transfer-basic目录下的app.js文件中:

// NOTE: If you see  kind an error like these:
/*
2020-08-07T20:23:17.590Z - error: [DiscoveryService]: send[mychannel] - Channel:mychannel received discovery error:access denied
******** FAILED to run the application: Error: DiscoveryService: mychannel error: access denied
OR
Failed to register user : Error: fabric-ca request register failed with errors [[ { code: 20, message: 'Authentication failure' } ]]
******** FAILED to run the application: Error: Identity not found in wallet: appUser
*/
// Delete the /fabric-samples/asset-transfer-basic/application-javascript/wallet directory
// and retry this application.
//
// The certificate authority must have been restarted and the saved certificates for the
// admin and application user are not valid. Deleting the wallet store will force these to be reset
// with the new certificate authority.

相关内容

  • 没有找到相关文章

最新更新