xuehuiit / fabric-explorer

Fabric-explorer is a simple, powerful, maintainable, open source fabric explorer
http://www.blockchainbrother.com/
Apache License 2.0
123 stars 58 forks source link

No identity has been assigned to this client #21

Open paulsimon99 opened 6 years ago

paulsimon99 commented 6 years ago

When trying to get channels via REST API by: curl http://localhost:8080/apis/channels?peer=peer1

I ran into the error:

Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/ec2-user/fabric-explorer/node_modules/fabric-client/lib/Client.js:1206:11) at Client.queryChannels (/home/ec2-user/fabric-explorer/node_modules/fabric-client/lib/Client.js:827:23) at helper.getRegisteredUsers.then (/home/ec2-user/fabric-explorer/app/query.js:269:17) at at process._tickCallback (internal/process/next_tick.js:188:7)

Can you advise how to fix the issue? Thanks

pradeepsama commented 5 years ago

i am also facing this issue. plz,let me know are u find the solution@paulsimon99

avkkiran commented 5 years ago

Please check the below link, might be useful to you.

https://stackoverflow.com/questions/52536257/no-identity-error-in-hyperledger-fabric/55686825#55686825