-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when running fabric-cli #2
Comments
This usually indicates a vendoring issue. Funny that I'm not seeing these errors. Can you try re-vendoring, i.e. delete vendor/ and run: |
[lab@localhost fabric-cli]$ go run fabric-cli.go query info --cid mychannel How to address this error? Thanks for you help! |
This error means that a password is required for the user (you can provide the password with --pw). If you don't specify a user (with --user) then the CLI assumes "User1", which is a pre-enrolled user in the sample fixtures (./fixtures). If you're not starting fabric using the sample fixtures then you'll need to provide a user/password that's valid for your fabric instance. If you're running fabric from ./fixtures then the following sequence of commands should work: (1) Start fabric: |
[lab@localhost fabric-cli]$ go run fabric-cli.go query info --cid judes-supply-chain --peer grpc://peer0.judes.com:7051,grpc://peer1.judes.com:7051 |
[lab@localhost fabric-cli]$ go run fabric-cli.go query channels --peer grpc://peer0.dauto.com:7051 --user username --pw password --orgid DetroitAuto It can not find the corresponding MSP ID when I specified --orgid parameter. |
I'm receiving this here:
The text was updated successfully, but these errors were encountered: