Hyperledger:尝试ping时出错. JSON输入意外结束 [英] Hyperledger: Error trying to ping. Unexpected end of JSON input
问题描述
我正在尝试使用以下方式将自己的.bna文件部署到业务网络中 本教程.
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
我收到此错误:
尝试执行ping操作时出错. JSON输入意外结束.
Error trying to ping. Unexpected end of JSON input.
有人知道我该怎么解决吗?
Does anybody know how can I solve this?
谢谢
推荐答案
我遇到了同样的问题,而且我知道这是本地配置的问题,因为它在抛出多个命令后突然停止工作.因此,我通过停止织物并将其撕裂来修复它.
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.
在此处查看命令(部分:控制开发环境): https://hyperledger.github.io/composer/v0. 19/installing/development-tools.html
Review the commands in here (section: Controlling your dev environment): https://hyperledger.github.io/composer/v0.19/installing/development-tools.html
这篇关于Hyperledger:尝试ping时出错. JSON输入意外结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!