错误编辑器休息服务器
Error Composer Rest Server
我已经关注 Hyperledger Composer here 并且所有步骤都已完成。
但是当我重新启动 PC 并尝试通过命令 'composer-rest-server' 连接到 Hyperledger Composer 时出现如下错误:
enter image description here
Discovering types from business network definition ...
Connection
fails: Error: Error trying to ping. Error: Error trying to query
business network. Error: Connect Failed
It will be retried for the
next request.
Exception: Error: Error trying to ping. Error: Error
trying to query business network. Error: Connect Failed
Error:
Error trying to ping. Error: Error trying to query business network.
Error: Connect Failed
at _checkRuntimeVersions.then.catch (/home/linux-user/.nvm/versions/node/v8.9.4/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:713:34)
at <'anonymous'>
请帮忙!谢谢。
请参阅 答案以在启动 REST 服务器之前重新启动基础结构。
当您重新启动系统时,您还会关闭所有 运行 docker 容器。在启动 composer rest 服务器之前重启容器(你的区块链网络)。
我已经关注 Hyperledger Composer here 并且所有步骤都已完成。
但是当我重新启动 PC 并尝试通过命令 'composer-rest-server' 连接到 Hyperledger Composer 时出现如下错误:
enter image description here
Discovering types from business network definition ...
Connection fails: Error: Error trying to ping. Error: Error trying to query business network. Error: Connect Failed
It will be retried for the next request.
Exception: Error: Error trying to ping. Error: Error trying to query business network. Error: Connect Failed
Error: Error trying to ping. Error: Error trying to query business network. Error: Connect Failed
at _checkRuntimeVersions.then.catch (/home/linux-user/.nvm/versions/node/v8.9.4/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:713:34)
at <'anonymous'>
请帮忙!谢谢。
请参阅
当您重新启动系统时,您还会关闭所有 运行 docker 容器。在启动 composer rest 服务器之前重启容器(你的区块链网络)。