我有一些组织有两个以上的同行。当我执行“ docker-compose docker-compose-cli.yaml up”时,控制台将不断显示警告消息列表,指出该对等无法连接到我设置的八卦对等。但是,对于只有2个对等方的组织,这2个对等方可以正常进行八卦。请帮忙!谢谢!!!
peer0.gov.snts.com: container_name:peer0.gov.snts.com 扩展: 文件:base / docker-compose-base.yaml 服务:peer0.gov.snts.com 网络: -sntsNet
peer1.gov.snts.com:
container_name: peer1.gov.snts.com
extends:
file: base/docker-compose-base.yaml
service: peer1.gov.snts.com
networks:
- sntsNet
peer2.gov.snts.com:
container_name: peer2.gov.snts.com
extends:
file: base/docker-compose-base.yaml
service: peer2.gov.snts.com
networks:
- sntsNet
peer3.gov.snts.com:
container_name: peer3.gov.snts.com
extends:
file: base/docker-compose-base.yaml
service: peer3.gov.snts.com
networks:
- sntsNet
peer4.gov.snts.com:
container_name: peer4.gov.snts.com
extends:
file: base/docker-compose-base.yaml
service: peer4.gov.snts.com
networks:
- sntsNet
peer0.gov.snts.com: container_name:peer0.gov.snts.com 扩展: 文件:peer-base.yaml 服务:同辈 环境: -CORE_PEER_ID = peer0.gov.snts.com -CORE_PEER_ADDRESS = peer0.gov.snts.com:7051 -CORE_PEER_GOSSIP_BOOTSTRAP = [peer1.gov.snts.com:7051 peer2.gov.snts.com:7051 peer3.gov.snts.com:7051 peer4.gov.snts.com:7051] -CORE_PEER_GOSSIP_EXTERNALENDPOINT = peer0.gov.snts.com:7051 -CORE_PEER_LOCALMSPID = GovMSP 数量: -/ var / run /:/ host / var / run / -../crypto-config/peerOrganizations/gov.snts.com/peers/peer0.gov.snts.com/msp:/etc/hyperledger/fabric/msp -../crypto-config/peerOrganizations/gov.snts.com/peers/peer0.gov.snts.com/tls:/etc/hyperledger/fabric/tls -peer0.gov.snts.com:/var/hyperledger/production 端口: -12051:7051 -12053:7053
peer1.gov.snts.com:
container_name: peer1.gov.snts.com
extends:
file: peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer1.gov.snts.com
- CORE_PEER_ADDRESS=peer1.gov.snts.com:7051
- CORE_PEER_GOSSIP_BOOTSTRAP=[peer0.gov.snts.com:7051 peer2.gov.snts.com:7051 peer3.gov.snts.com:7051 peer4.gov.snts.com:7051]
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.gov.snts.com:7051
- CORE_PEER_LOCALMSPID=GovMSP
volumes:
- /var/run/:/host/var/run/
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer1.gov.snts.com/msp:/etc/hyperledger/fabric/msp
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer1.gov.snts.com/tls:/etc/hyperledger/fabric/tls
- peer1.gov.snts.com:/var/hyperledger/production
ports:
- 13051:7051
- 13053:7053
peer2.gov.snts.com:
container_name: peer2.gov.snts.com
extends:
file: peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer2.gov.snts.com
- CORE_PEER_ADDRESS=peer2.gov.snts.com:7051
- CORE_PEER_GOSSIP_BOOTSTRAP=[peer0.gov.snts.com:7051 peer1.gov.snts.com:7051 peer3.gov.snts.com:7051 peer4.gov.snts.com:7051]
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer2.gov.snts.com:7051
- CORE_PEER_LOCALMSPID=GovMSP
volumes:
- /var/run/:/host/var/run/
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer2.gov.snts.com/msp:/etc/hyperledger/fabric/msp
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer2.gov.snts.com/tls:/etc/hyperledger/fabric/tls
- peer2.gov.snts.com:/var/hyperledger/production
ports:
- 14051:7051
- 14053:7053
peer3.gov.snts.com:
container_name: peer3.gov.snts.com
extends:
file: peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer3.gov.snts.com
- CORE_PEER_ADDRESS=peer3.gov.snts.com:7051
- CORE_PEER_GOSSIP_BOOTSTRAP=[peer0.gov.snts.com:7051 peer1.gov.snts.com:7051 peer2.gov.snts.com:7051 peer4.gov.snts.com:7051]
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer3.gov.snts.com:7051
- CORE_PEER_LOCALMSPID=GovMSP
volumes:
- /var/run/:/host/var/run/
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer3.gov.snts.com/msp:/etc/hyperledger/fabric/msp
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer3.gov.snts.com/tls:/etc/hyperledger/fabric/tls
- peer3.gov.snts.com:/var/hyperledger/production
ports:
- 15051:7051
- 15053:7053
peer4.gov.snts.com:
container_name: peer4.gov.snts.com
extends:
file: peer-base.yaml
service: peer-base
environment:
- CORE_PEER_ID=peer4.gov.snts.com
- CORE_PEER_ADDRESS=peer4.gov.snts.com:7051
- CORE_PEER_GOSSIP_BOOTSTRAP=[peer0.gov.snts.com:7051 peer1.gov.snts.com:7051 peer2.gov.snts.com:7051 peer3.gov.snts.com:7051]
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer4.gov.snts.com:7051
- CORE_PEER_LOCALMSPID=GovMSP
volumes:
- /var/run/:/host/var/run/
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer4.gov.snts.com/msp:/etc/hyperledger/fabric/msp
- ../crypto-config/peerOrganizations/gov.snts.com/peers/peer4.gov.snts.com/tls:/etc/hyperledger/fabric/tls
- peer4.gov.snts.com:/var/hyperledger/production
ports:
- 16051:7051
- 16053:7053
peer2.gov.snts.com | 2018-12-24 15:31:47.976 UTC [gossip/discovery] func1 -> WARN 02f Could not connect to {peer4.gov.snts.com:7051] [] [] peer4.gov.snts.com:7051] <nil> <nil>} : context deadline exceeded
peer2.gov.snts.com | 2018-12-24 15:31:47.976 UTC [gossip/discovery] func1 -> WARN 030 Could not connect to {[peer0.gov.snts.com:7051 [] [] [peer0.gov.snts.com:7051 <nil> <nil>} : context deadline exceeded
peer1.gov.snts.com | 2018-12-24 15:31:48.105 UTC [gossip/discovery] func1 -> WARN 02f Could not connect to {peer4.gov.snts.com:7051] [] [] peer4.gov.snts.com:7051] <nil> <nil>} : context deadline exceeded
peer1.gov.snts.com | 2018-12-24 15:31:48.105 UTC [gossip/discovery] func1 -> WARN 030 Could not connect to {[peer0.gov.snts.com:7051 [] [] [peer0.gov.snts.com:7051 <nil> <nil>} : context deadline exceeded
peer3.gov.snts.com | 2018-12-24 15:31:49.532 UTC [gossip/discovery] func1 -> WARN 033 Could not connect to {peer4.gov.snts.com:7051] [] [] peer4.gov.snts.com:7051] <nil> <nil>} : context deadline exceeded
peer3.gov.snts.com | 2018-12-24 15:31:49.532 UTC [gossip/discovery] func1 -> WARN 034 Could not connect to {[peer0.gov.snts.com:7051 [] [] [peer0.gov.snts.com:7051 <nil> <nil>} : context deadline exceeded
peer4.gov.snts.com | 2018-12-24 15:31:49.635 UTC [gossip/discovery] func1 -> WARN 030 Could not connect to {[peer0.gov.snts.com:7051 [] [] [peer0.gov.snts.com:7051 <nil> <nil>} : context deadline exceeded
peer4.gov.snts.com | 2018-12-24 15:31:49.635 UTC [gossip/discovery] func1 -> WARN 02f Could not connect to {peer3.gov.snts.com:7051] [] [] peer3.gov.snts.com:7051] <nil> <nil>} : context deadline exceeded
peer0.gov.snts.com | 2018-12-24 15:31:49.840 UTC [gossip/discovery] func1 -> WARN 030 Could not connect to {peer4.gov.snts.com:7051] [] [] peer4.gov.snts.com:7051] <nil> <nil>} : context deadline exceeded
peer0.gov.snts.com | 2018-12-24 15:31:49.840 UTC [gossip/discovery] func1 -> WARN 02f Could not connect to {[peer1.gov.snts.com:7051 [] [] [peer1.gov.snts.com:7051 <nil> <nil>} : context deadline exceeded
peer0.bank.snts.com | 2018-12-24 15:28:30.484 UTC [gossip/gossip] NewGossipService -> INFO 013 Creating gossip service with self membership of {peer0.bank.snts.com:7051 [] [193 211 114 108 6 17 204 4 215 49 207 107 107 52 214 8 194 225 32 0 141 170 29 57 143 70 226 60 42 212 128 163] peer0.bank.snts.com:7051 <nil> <nil>}