Hyperledger: Error trying to ping. Unexpected end of JSON input

这一生的挚爱 提交于 2019-12-13 03:34:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!