问题
I'm trying to deploy my own .bna file to a business network using this tutorial.
The only difference is that I am doing this with three organizations.
Everything works fine until I run the step eight because when I run this command:
composer network ping -c alice@trade-network
I got this error:
Error trying to ping. Unexpected end of JSON input.
Does anybody know how can I solve this?
Thank you
回答1:
I had the same issue, and I knew it was a matter of local configuration since it stopped working suddenly after throwing several commands. So, I fixed it by stopping fabric and tearing it down.
Then, started fabric, created my peer credential and deployed everything again.
Review the commands in here (section: Controlling your dev environment): https://hyperledger.github.io/composer/v0.19/installing/development-tools.html
来源:https://stackoverflow.com/questions/51144430/hyperledger-error-trying-to-ping-unexpected-end-of-json-input