Hyperledger fabric Hyperledger Febric错误:通道:mychannel收到发现错误:访问被拒绝
我试图运行Hyperledger fabric Hyperledger Febric错误:通道:mychannel收到发现错误:访问被拒绝,hyperledger-fabric,Hyperledger Fabric,我试图运行fabric samples/asset transfer basic/application javascript/app.js文件 但是发现了错误 删除 用户id appUser.id 来自/home/pritam/fabric samples/asset transfer basic/application javascript/wallet目录的标识 发生的错误已记录在app.js文件中,该文件位于asset transfer basic目录下: // NOTE: If y
fabric samples/asset transfer basic/application javascript/app.js
文件
但是发现了错误
删除
- 用户id
- appUser.id
/home/pritam/fabric samples/asset transfer basic/application javascript/wallet
目录的标识
发生的错误已记录在app.js
文件中,该文件位于asset transfer basic
目录下:
// 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.
检查您的对等日志如果错误是以文本格式写入的,则应以文本格式写入。不是图像。请参阅下面有关堆栈溢出的指南/