I've been working through the Hyperledger Composer tutorials (specifically the developer one). I've hit a brick wall on this error code. From what I've found online, this is a "general network error" problem that could possibly be the result of some compatibility issues? With that being said, everything I've found isn't Hyperledger related. I'm still pretty new to this stuff.
Here's the tutorial I'm using: https://hyperledger.github.io/composer/next/tutorials/developer-tutorial
I was able to:
- Create a business network structure using Yeoman
- Define a business network (I made on the web-based playground tool, exported, and imported the .bna)
- Generate a business network archive
- Deploy the business network, create the admin card file for the network
- Import the network admin card
The network is showing up as an admin connection that I can connect to off of the PeerAdmin hlfv1 connection. I can connect to the network through my localhost, test around, view everything. No issues here.
However, when I try to ping the network with composer network ping --card admin@<network name>, I get thrown an error about the login and user context.
Here's the error:
Error: Error trying login and get user Context. Error: Error trying to enroll user or load channel configuration. Error: Enrollment failed with errors [[{"code":20,"message":"Authorization failure"}]]
Command failed
I've seen a lot of threads for error 400, but none for error 20. Am I missing something here? Needless to say that since the network ping is throwing errors, I can't run composer-rest-server off of the network directory.
Here's my versions:
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Any help is greatly appreciated. Thanks!