一些背景:我在IBM云超级分类系统入门版上运行了一个业务网络。它是用composer v0.19.14构建的,据我所知,所有东西都是v0.19.14,应该与Fabric v1.1一起工作。我可以部署我的BNA和视图与作曲家操场,甚至启动作曲家-rest服务器从我的机器本地,一切看起来都很好。但是,当我试图启动我的docker服务器时,我会得到一个版本兼容性错误。我到处找遍了,试过了所有的建议,但都没有结果。
下面是在-it模式下启动对接程序时的错误:
Error: Error trying to ping. Error: Composer runtime (0.19.14) is not co
我是超级分类账 composer的开发人员。关于hyperledger "What is a JavaScript file of hyperledger composer can use XMLHttpRequest?"的"What is a JavaScript file of hyperledger composer can use XMLHttpRequest?"文件,我有一个问题,因为我想在hyperledger composer.Or的JS文件中使用来自服务器的REST -我可以使用其他方法来实现这一点。
目前,我正试图使用nohup命令生成和杀死hyperledger composer rest服务器实例。
为了生成新的服务器实例,我需要在docker容器中执行这样的命令。我现在就是这样做的:
# start an interactive terminal with cli container
docker exec -it cli bash
# start rest server with defined port number
nohup composer-rest-server -c <myCard> -p <myPort> &
这将返回与rest服务器
在浏览开发人员指南教程时,我一直收到“模块版本不匹配”的错误。我可以完成几乎所有的教程(创建和测试我的业务网络,将其部署到本地fabric,通过rest服务器与其交互),但在运行yeoman创建示例angular应用程序时出现错误...
~/git/my-test-network$ yo hyperledger-composer:angular
Welcome to the Hyperledger Composer Angular project generator
? Do you want to connect to a running Business Network? Yes
? Pr
全,
我能够安装并运行Hyperledger v1.0和Hyperledger,但我似乎无法在Ubuntu中运行Composer -rest服务,但有以下错误:
Connection fails: Error: Error trying login and get user Context.
Error: Error trying to enroll user or load channel configuration.
Error: Enrollment failed with errors [[{"code":400,"message":"Aut
我目前在我的REST服务器上以管理员身份运行,但我似乎没有被授权添加、删除或查询信息(我不能使用任何功能)。我在composer playground中更新了acl文件中的权限,但这似乎并没有起到任何作用。我已经附上了rest服务器和我的终端屏幕的图片,并在这里发布了权限文件的代码:
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
我可以按照这里的说明在mac上的Docker容器上安装Hyperledger Composer:。我还开发了一个概念验证项目,通过rest API连接区块链的移动web应用程序。
现在,我正在尝试在本地网络中的实际Ubuntu服务器上运行节点,但我似乎找不到任何教程来解释如何做到这一点。
我知道我在计算机架构或网络方面的知识可能有一些差距,这就是为什么我在这方面苦苦挣扎的原因。
我正在查看fabric-tools中的downloadFabric.sh脚本,我看到了Docker镜像是如何填充的。我在想,也许我应该把Docker镜像拉到各个Linux服务器上。
### Pull and tag t
我正在跟踪 on MacOS。
在第5步,composer-rest-server的输出
Web server listening at: http://localhost:3000
Rest Server dynamic logging is enabled
Unhandled error for request GET /apple-touch-icon-precomposed.png: Error: Cannot GET /apple-touch-icon-precomposed.png
Unhandled error for request GET /explorer: Error:
我只是Hyperledger Composer.So的初学者,我尝试使用Docker部署REST服务器,遵循本指南
然后,当我运行docker时,它在docker logs上显示以下错误
docker logs rest
0|composer | WARNING: NODE_APP_INSTANCE value of '0' did not match any instance config file names.
0|composer | WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mo
我正在使用Hyperledger composer Rest服务器尝试创建参与者。我正在使用并尝试创建一个带有帖子的参与者。但是,我一直收到数组的验证错误。
当我使用基于浏览器的composer版本时,我可以创建参与者。我也可以通过从命令行调用composer来创建参与者(例如composer participant add ...)
participant User identified by email {
o String name
o String email
--> Boat[] boats
}
错误就是...
The 'User' in
我已经成功地生成了composer rest,并遵循了https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial.html的指令,最终获得了成功消息。
Discovering types from business network definition ...
Discovered types from business network definition
Generating schemas for all types in business network definition ...
Genera
我已经从azure Ubuntu服务器创建了一个Hyperledger Composer-rest服务器。我试图将它连接到amazon服务器,我已经成功地连接了它们。唯一的问题是我不能从amazon端安装composer-rest服务器,也不能从amazon端安装名片。所以我从蔚蓝那边打开了作曲家-休息服务器。但过了一段时间,服务器将不再提供数据。它会给错误超时,看起来就像
Generated schemas for all types in business network definition
Adding schemas for all types to Loopback ...
A