作曲者网络ping时出现身份过期错误 [英] identity expired error while doing composer network ping
问题描述
很久以前,我已经使用0.19.0版作曲家创建了一个作曲家网络.现在,当我尝试使用以下命令对网络执行ping操作时收到此错误.
Long time back I have created a composer network by using composer version 0.19.0. Now when I am trying to ping the network using following command getting this error.
作曲者网络ping --card admin @ tutorial-network
composer network ping --card admin@tutorial-network
输出:错误:尝试ping时出错.错误:2未知:身份已过期
output :Error: Error trying to ping. Error: 2 UNKNOWN: identity expired
请帮助我解决此问题.
推荐答案
我今天遇到了同样的问题,如下所示解决了问题.
I had same issue today and solved like below.
首先,您需要使用此命令删除该卡.
First you need to delete that card using this command.
composer card delete
然后您可以添加一张新卡. (您在同一目录中有一个.bna文件)在下面使用此命令导入新卡.
Then you can add a new card. (You have a .bna file at the same directory) Use this command below for importing new card.
composer card import --file networkadmin.card
您可以成功ping通.
You can ping successfully.
composer network ping --card admin@cardName
我希望这可以解决您的问题.然后,您可以使用以下代码启动其余服务器.
I hope this will solve your problem. Then you can start the rest server with below code.
composer-rest-server
这篇关于作曲者网络ping时出现身份过期错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!