=====================通道'mychannel'上peer0.org2上的链码实例化成功============== =========在peer0.org1上查询链码... CORE_PEER_TLS_ROOTCERT_FILE = / opt / gopath / src / github.com / hyperledger / fabric / peer / crypto / peerOrganizations / org1.example.com / peers / peer0。 org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE = / opt / gopath / src / github.com / hyperledger / fabric / peer / crypto / peerOrganizations / org1.example.com / peers / peer0.org1.example.com / tls / server.key CORE_PEER_LOCALMSPID = Org1MSP CORE_VM_ENDPOINT = unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE = / opt / gopath / src / github.com / hyperledger / fabric / peer / crypto / peerexamples / org1。 .com / peers / peer0.org1.example.com / tls / server.crt CORE_PEER_TLS_ENABLED = true CORE_PEER_MSPCONFIGPATH = / opt / gopath / src / github.com / hyperledger / fabric / peer / crypto / peerOrganizations / org1.example.com / users/Admin@org1.example.com/msp CORE_PEER_ID = cli CORE_LOGGING_LEVEL = INFO CORE_PEER_ADDRESS = peer0.org1.example.com:7051 ================ =====正在查询通道'mychannel'上的peer0.org1 ... =======================尝试查询peer0.org1 ... 3秒+对等链代码查询-C mychannel -n mycc -c'{“ Args”:[“ query”,“ a”]}'+ res = 0 +设置+ x 100 !!!!!!!!!!!! !!! peer0.org1上的查询结果无效! ==================错误!!!失败执行End-2-End方案=================错误!!!!测试失败
答案 0 :(得分:0)
尝试以下几行:
$./byfn.sh down
$docker stop $(docker ps -a -q)
$docker ps -qa|xargs docker rm
然后重新启动Docker,然后尝试以下操作:
$./byfn.sh generate
$./byfn.sh up