- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用开发人员教程“http://hyperledger-fabric.readthedocs.io/en/latest/chaincode4ade.html”的链代码来部署链代码。我能够完成直到终端2的步骤,但是在终端3的命令“docker exec -it cli bash”中遇到错误。
端子1的输出
[]Received message REGISTER from shim peer | 2017-08-22 23:29:26.025 UTC [chaincode] HandleMessage -> DEBU 1a9 []Fabric side Handling ChaincodeMessage of type: REGISTER in state created peer | 2017-08-22 23:29:26.025 UTC [chaincode] beforeRegisterEvent -> DEBU 1aa Received REGISTER in state created peer | 2017-08-22 23:29:26.025 UTC [chaincode] registerHandler -> DEBU 1ab registered handler complete for chaincode mycc:0 peer | 2017-08-22 23:29:26.025 UTC [chaincode] beforeRegisterEvent -> DEBU 1ac Got REGISTER for chaincodeID = name:"mycc:0" , sending back REGISTERED peer | 2017-08-22 23:29:26.025 UTC [chaincode] notifyDuringStartup -> DEBU 1ad nothing to notify (dev mode ?) peer | 2017-08-22 23:29:26.025 UTC [chaincode] notifyDuringStartup -> DEBU 1ae sending READY peer | 2017-08-22 23:29:26.025 UTC [chaincode] processStream -> DEBU 1af []Move state message READY peer | 2017-08-22 23:29:26.025 UTC [chaincode] HandleMessage -> DEBU 1b0 []Fabric side Handling ChaincodeMessage of type: READY in state established peer | 2017-08-22 23:29:26.026 UTC [chaincode] enterReadyState -> DEBU 1b1 []Entered state ready peer | 2017-08-22 23:29:26.026 UTC [chaincode] notify -> DEBU 1b2 notifier Txid: does not exist peer | 2017-08-22 23:29:26.026 UTC [chaincode] processStream -> DEBU 1b3 []sending state message READY
CORE_PEER_ADDRESS=peer:7051 CORE_CHAINCODE_ID_NAME=mycc:0 ./sacc 2017-08-22 23:29:26.020 UTC [shim] SetupChaincodeLogging -> INFO 001 Chaincode log level not provided; defaulting to: INFO 2017-08-22 23:29:26.020 UTC [shim] SetupChaincodeLogging -> INFO 002 Chaincode (build level: ) starting up ...
docker exec -it cli bash Error response from daemon: Container 37efeab8d4930060c9de46d3bab9ab1ab034781be26b4a5176b80b54d6c1180b is not running
docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES befcf58f4b59 hyperledger/fabric-ccenv "/bin/bash -c 'sle..." 21 seconds ago Up 20 seconds chaincode 3129dac3e13b hyperledger/fabric-peer "peer node start -..." 21 seconds ago Up 20 seconds 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer 56a92979e7cb hyperledger/fabric-orderer "orderer" 22 seconds ago Up 21 seconds 0.0.0.0:7050->7050/tcp orderer
docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES befcf58f4b59 hyperledger/fabric-ccenv "/bin/bash -c 'sle..." 2 minutes ago Up 2 minutes chaincode 3129dac3e13b hyperledger/fabric-peer "peer node start -..." 2 minutes ago Up 2 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer 56a92979e7cb hyperledger/fabric-orderer "orderer" 2 minutes ago Up 2 minutes 0.0.0.0:7050->7050/tcp orderer
Returning dummy reject all policy because Admins could not be found in /Application/Admins orderer | 2017-08-23 23:09:50.644 UTC [policies] GetPolicy -> DEBU 154 Returning policy Readers for evaluation orderer | 2017-08-23 23:09:50.644 UTC [policies] GetPolicy -> DEBU 155 Returning dummy reject all policy because Readers could not be found in /Application/Readers orderer | 2017-08-23 23:09:50.644 UTC [policies] GetPolicy -> DEBU 156 Returning policy Writers for evaluation orderer | 2017-08-23 23:09:50.645 UTC [policies] GetPolicy -> DEBU 157 Returning dummy reject all policy because Writers could not be found in /Application/Writers orderer | 2017-08-23 23:09:50.645 UTC [common/configtx] addToMap -> DEBU 158 Adding to config map: [Groups] /Channel orderer | 2017-08-23 23:09:50.645 UTC [common/configtx] addToMap -> DEBU 159 Adding to config map: [Groups] /Channel/Application orderer | 2017-08-23 23:09:50.645 UTC [common/configtx] addToMap -> DEBU 15a Adding to config map: [Groups] /Channel/Application/SampleOrg cli | Error: Got unexpected status: BAD_REQUEST orderer | 2017-08-23 23:09:50.645 UTC [common/configtx] addToMap -> DEBU 15b Adding to config map: [Values] /Channel/Consortium orderer | 2017-08-23 23:09:50.645 UTC [common/configtx] addToMap -> DEBU 15c Adding to config map: [Groups] /Channel cli | Usage: cli | peer channel create [flags] cli | cli | Flags: orderer | 2017-08-23 23:09:50.645 UTC [common/configtx] addToMap -> DEBU 15d Adding to config map: [Groups] /Channel/Application cli | -c, --channelID string In case of a newChain command, the channel ID to create. orderer | 2017-08-23 23:09:50.645 UTC [common/configtx] addToMap -> DEBU 15e Adding to config map: [Groups] /Channel/Application/SampleOrg cli | -f, --file string Configuration transaction file generated by a tool such as configtxgen for submitting to orderer orderer | 2017-08-23 23:09:50.646 UTC [common/configtx] addToMap -> DEBU 15f Adding to config map: [Policy] /Channel/Application/Admins cli | -t, --timeout int Channel creation timeout (default 5) cli | cli | Global Flags: cli | --cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint cli | --logging-level string Default logging level and overrides, see core.yaml for full syntax cli | -o, --orderer string Ordering service endpoint orderer | 2017-08-23 23:09:50.646 UTC [common/configtx] addToMap -> DEBU 160 Adding to config map: [Policy] /Channel/Application/Writers cli | --test.coverprofile string Done (default "coverage.cov") cli | --tls Use TLS when communicating with the orderer endpoint cli | -v, --version Display current version of fabric peer server cli | orderer | 2017-08-23 23:09:50.646 UTC [common/configtx] addToMap -> DEBU 161 Adding to config map: [Policy] /Channel/Application/Readers orderer | 2017-08-23 23:09:50.646 UTC [common/configtx] addToMap -> DEBU 162 Adding to config map: [Values] /Channel/Consortium orderer | 2017-08-23 23:09:50.646 UTC [orderer/common/broadcast] Handle -> WARN 163 Rejecting CONFIG_UPDATE because: Error authorizing update: Error validating DeltaSet: invalid mod_policy for element [Policy] /Channel/Application/Writers: mod_policy not set orderer | 2017-08-23 23:09:50.646 UTC [orderer/main] func1 -> DEBU 164 Closing Broadcast stream orderer | 2017-08-23 23:09:50.648 UTC [orderer/common/deliver] Handle -> WARN 165 Error reading from stream: rpc error: code = Canceled desc = context canceled orderer | 2017-08-23 23:09:50.649 UTC [orderer/main] func1 -> DEBU 166 Closing Deliver stream
最佳答案
我可以通过注释掉“fabric-samples / chaincode-docker-devmode / docker-compose-simple.yaml”文件中的“命令:/ bin / bash -c'./script.sh'”行来解决此问题。 。
关于docker - 开发人员Cli错误终端3的Chaincode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45828567/
以太坊合约可以轻松部署新合约,我想知道 hyperledger fabric chaincode 是否可以部署新的 chaincode? 最佳答案 Hyperledger fabric 有两种类型的链
我能够通过对等链码调用来调用链码功能: `peer chaincode invoke -o localhost:7050 -C mychannel -n pmc -c '{"function":"in
我能够通过对等链码调用来调用链码功能: `peer chaincode invoke -o localhost:7050 -C mychannel -n pmc -c '{"function":"in
我正在尝试学习 HLF 2.0 chaincode 生命周期,我的网络配置如下 两个组织各有一个同行 RAFT 作为排序服务(总共 3 个排序) 按照官方文档安装链码https://hyperledg
我弄错了我的链代码并将它们安装在我网络上的对等节点上。当我尝试在 channel 中实例化链代码时,我发现了错误。 有没有办法在将链代码安装到对等点之前对其进行调试?它似乎只有在您实例化它时才会被标记
我正在运行 Hyperledger Fabric 1.4.0 我有 1 个组织 (Org1)、2 个节点 (peer0、peer1) 和两个排序节点 (ord0 >,ord1)。对等方使用 couch
在 Hyperledger 结构中,部署的每个链代码都在单独的 docker 容器中运行。 因此,Hyperledger-composer 创建了 每次升级都有一个新容器 的链码。据我了解 compo
我希望您做得很好,我是Hyperledger Fabric的新手,如果你们中的任何人以前遇到过此问题,我也有问题。 我在Go的链码中定义了我的 Assets 及其相关属性,并且我开发了一些与 Asse
首先我想提一下,当没有启用 TLS 时,我的设置就像一个魅力。它甚至可以在 AWS 上的 Docker Swarm 中运行。 当我启用 TLS 时问题就开始了。当我通过 Composer 部署我的 .
我正在我的 MacOS 上用 GO 编写链码程序。以下是代码: package main import ( "encoding/json" "fmt" "github.com/
func (t *ballot) initBallot(stub shim.ChaincodeStubInterface, args []string) peer.Response { if
我有具有以下目录结构的链码 $GOPATH/myproject/chaincode/mycc/go ├── mycc.go ├── chaincode │ └── chaincode.go └──
我正在尝试按照 this 将多个组织部署到 Hyperledger fabric教程 一切都按预期工作,直到我尝试启动网络:第 17 步命令: composer network start -c Pe
我在 Go 代码导入语句中遇到错误。我附上代码和我在 vscode 中遇到的错误。请帮助我确定问题所在。我认为我的 Go 安装存在一些问题,因此我还提供了在我的 VM 上打开 Ubuntu 时出现的异
我正在做来自 hyperledger fabric 网站的 fabcar 教程,它将引导您构建您的第一个应用程序: https://hyperledger-fabric.readthedocs.io/
我可以在 IBM hyperledger 中使用 Chaincode 状态存储多少数据? 我正在使用 IBM Bluemix hosting . 我找不到任何指定大小限制的链接。 最佳答案 目前没有字
我正在使用这个链码开发 guide开发一些链码并测试它。 在杀死用于测试链码的对等点并重新启动它之后,BlockChain 没有重新启动(所有块都还在那里)。 如何删除之前的区块链数据? 最佳答案 来
我在 Ubuntu 机器上构建我的 go 代码时遇到错误。我检查了 GOPATH 变量,一切似乎都很好。下面是我得到的错误堆栈跟踪: /go/src/Chaincodeexample$ 去构建 # _
我正进入(状态 Error: could not send: EOF 在 HF 中实例化链码。我遵循了安装二进制文件、图像等的正确步骤。 安装后,我在 first-network 目录中使用以下命令来
我使用fabrc-sdk-java来操作e2e_cli网络。e2e使用CA并且禁用TLS。 我成功创建了 channel 并安装了链代码。 创建 channel : Channel newChanne
我是一名优秀的程序员,十分优秀!