请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

请教老师,启动first-network错误,如何解决?

Querying chaincode on org1/peer0…
===================== Querying on PEER0 on channel ‘happy’… =====================
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_PEER_TLS_ENABLED=true
CORE_LOGGING_LEVEL=DEBUG
CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
CORE_PEER_ID=cli
CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
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_ADDRESS=peer0.org1.example.com:7051
CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
Attempting to Query PEER0 …3 secs
Attempting to Query PEER0 …33 secs
Attempting to Query PEER0 …36 secs
Attempting to Query PEER0 …39 secs
Attempting to Query PEER0 …43 secs
Attempting to Query PEER0 …46 secs
Attempting to Query PEER0 …49 secs
Attempting to Query PEER0 …52 secs
Attempting to Query PEER0 …56 secs
Attempting to Query PEER0 …59 secs
Attempting to Query PEER0 …62 secs

2020-03-06 07:32:50.782 UTC [main] InitCmd -> WARN 001 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable
2020-03-06 07:32:50.832 UTC [main] SetOrdererEnv -> WARN 002 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable
100
!!! Query result on PEER0 is INVALID !!!
================== ERROR !!! FAILED to execute End-2-End Scenario ==================

正在回答 回答被采纳积分+3

1回答

自游蜗牛 2020-03-06 21:26:08

你的fabric-samples可能切换到了1.0,但是下载的镜像不是1.0的。不匹配

1 回复 有任何疑惑可以回复我~
  • 提问者 qq_码_0 #1
    docker镜像
    
    hyperledger/fabric-peer
    docker pull hyperledger/fabric-peer:x86_64-1.0.0
    
    hyperledger/fabric-tools:x86_64-1.0.0
    docker pull hyperledger/fabric-tools:x86_64-1.0.0
    
    hyperledger/fabric-orderer:x86_64-1.0.0
    docker pull hyperledger/fabric-orderer:x86_64-1.0.0
    
    hyperledger/fabric-baseos:x86_64-0.3.1
    docker pull hyperledger/fabric-baseos:x86_64-0.3.1
    
    这些是我下载的镜像,老师
    回复 有任何疑惑可以回复我~ 2020-03-07 06:54:17
  • 提问者 qq_码_0 #2
    hyperledger/fabric-tools                                         x86_64-1.0.0          0403fd1c72c7        2 years ago         1.32GB
    hyperledger/fabric-orderer                                       x86_64-1.0.0          e317ca5638ba        2 years ago         179MB
    hyperledger/fabric-peer                                          x86_64-1.0.0          6830dcd7b9b5        2 years ago         182MB
    hyperledger/fabric-baseos                                        x86_64-0.3.1          4b0cab202084        2 years ago         157MB
    回复 有任何疑惑可以回复我~ 2020-03-07 07:28:57
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信