피어를 로컬 컴퓨터의 주문자와 연결하려고합니다. 여기까지 내가 지금까지 한 일이 있습니다. 주문 처리자와의 원단 연결 피어 연결 오류
나는 그런 다음이 명령을 사용하여 직물 피어를 시작하려고 패브릭 CA 서버를export ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/msp
export ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.genesis.block
export ORDERER_GENERAL_LOCALMSPID=OrdererMSP
export ORDERER_GENERAL_TLS_ROOTCAS=[/var/hyperledger/orderer/tls/ca.crt]
export ORDERER_GENERAL_LISTENADDRESS=192.168.2.103
export ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/orderer/tls/server.key
export ORDERER_GENERAL_LOGLEVEL=debug
export ORDERER_GENERAL_GENESISMETHOD=file
export ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/orderer/tls/server.crt
export FABRIC_CFG_PATH=/etc/hyperledger/fabric
export ORDERER_GENERAL_TLS_ENABLED=true
orderer
를 시작한 후 발주자을 시작했다. 그 후 나는 peer node start
이 명령을 주시는 명령을 실행 위에
export CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
export CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
export CORE_PEER_GOSSIP_ORGLEADER=false
export CORE_PEER_PROFILE_ENABLED=true
export CORE_PEER_LOCALMSPID=Org1MSP
export CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/tls/server.crt
export CORE_PEER_TLS_ENABLED=true
export CORE_PEER_ID=peer0.org1.example.com
export CORE_LOGGING_LEVEL=DEBUG
export CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051
export FABRIC_CFG_PATH=/etc/hyperledger/fabric
export CORE_PEER_ADDRESS=peer0.org1.example.com:7051
export CORE_PEER_GOSSIP_USELEADERELECTION=true
은 이미 나를 주문자 측 나는이
무엇입니까에2017-12-26 18:22:47.613 IST [deliveryClient] connect -> DEBU 32e Connected to 2017-12-26 18:22:47.613 IST [deliveryClient] connect -> ERRO 32f Failed obtaining connection: Could not connect to any of the endpoints: [orderer.example.com:7050] 2017-12-26 18:22:47.614 IST [deliveryClient] try -> WARN 330 Got error: Could not connect to any of the endpoints: [orderer.example.com:7050] ,at 8 attempt. Retrying in 2m8s
에러 experter로 필요한 디렉토리에 필요한 파일을 복사
2017-12-26 18:24:55.617 IST [grpc] Printf -> DEBU 191 grpc: Server.Serve failed to complete security handshake from "192.168.2.103:56580": EOF
누구든지 내가 뭘 잘못하고있는 걸까요?
감사합니다.
env를 실행하고 있습니까? 도커 안쪽에? –
아니요, 로컬 컴퓨터에서 실행 중입니다. –