kctam / 4host-swarm Goto Github PK
View Code? Open in Web Editor NEWDeploy multi-host First Network (using Fabric v2.2)
Deploy multi-host First Network (using Fabric v2.2)
when I run the mychannelup.sh script, only host 1 joins. I get this error in host 2:
Logs peer0.org1:
2023-07-10 10:22:50.718 UTC [core.comm] ServerHandshake -> ERRO 091 Server TLS handshake failed in 2.660529ms with error remote error: tls: bad certificate server=PeerServer remoteaddress=10.0.2.213:42642
2023-07-10 10:22:52.917 UTC [gossip.comm] authenticateRemotePeer -> WARN 092 Identity store rejected 10.0.2.213:9051 : failed classifying identity: Unable to extract msp.Identity from peer Identity: Peer Identity {"CN":"peer0.org1.example.com","Issuer-CN":"ca.org1.example.com","Issuer-L-ST-C":"[San Francisco]-[]-[US]","Issuer-OU":["COP"],"L-ST-C":"[San Francisco]-[]-[US]","MSP":"Org2MSP","OU":["COP"]} cannot be validated. No MSP found able to do that.
Logs orderer:
2023-07-10 10:20:35.420 UTC [common.deliver] deliverBlocks -> WARN 05c [channel: mychannel] Rejecting deliver request for 10.0.2.209:55046 because of consenter error
logs peer0.org2:
2023-07-10 10:33:35.257 UTC 0159 WARN [gossip.discovery] func1 -> Could not connect to Endpoint: peer0.org1.example.com:7051, InternalEndpoint: peer0.org1.example.com:7051, PKI-ID: , Metadata: : context deadline exceeded
2023-07-10 10:33:43.340 UTC 015a INFO [comm.grpc.server] 1 -> unary call completed grpc.service=gossip.Gossip grpc.method=Ping grpc.request_deadline=2023-07-10T10:33:45.339Z grpc.peer_address=10.0.2.208:45552 grpc.peer_subject="CN=peer0.org1.example.com,L=San Francisco,ST=California,C=US" grpc.code=OK grpc.call_duration=158.375µs
2023-07-10 10:33:43.343 UTC 015b WARN [gossip.comm] authenticateRemotePeer -> Identity store rejected 10.0.2.208:45552 : failed classifying identity: Unable to extract msp.Identity from peer Identity: Peer Identity {"CN":"peer0.org1.example.com","Issuer-CN":"ca.org1.example.com","Issuer-L-ST-C":"[San Francisco]-[]-[US]","Issuer-OU":null,"L-ST-C":"[San Francisco]-[]-[US]","MSP":"Org1MSP","OU":["peer"]} cannot be validated. No MSP found able to do that.
2023-07-10 10:33:43.343 UTC 015c ERRO [gossip.comm] GossipStream -> Authentication failed: failed classifying identity: Unable to extract msp.Identity from peer Identity: Peer Identity {"CN":"peer0.org1.example.com","Issuer-CN":"ca.org1.example.com","Issuer-L-ST-C":"[San Francisco]-[]-[US]","Issuer-OU":null,"L-ST-C":"[San Francisco]-[]-[US]","MSP":"Org1MSP","OU":["peer"]} cannot be validated. No MSP found able to do that.
2023-07-10 10:33:43.343 UTC 015d INFO [comm.grpc.server] 1 -> streaming call completed grpc.service=gossip.Gossip grpc.method=GossipStream grpc.request_deadline=2023-07-10T10:33:53.341Z grpc.peer_address=10.0.2.208:45552 grpc.peer_subject="CN=peer0.org1.example.com,L=San Francisco,ST=California,C=US" error="failed classifying identity: Unable to extract msp.Identity from peer Identity: Peer Identity {"CN":"peer0.org1.example.com","Issuer-CN":"ca.org1.example.com","Issuer-L-ST-C":"[San Francisco]-[]-[US]","Issuer-OU":null,"L-ST-C":"[San Francisco]-[]-[US]","MSP":"Org1MSP","OU":["peer"]} cannot be validated. No MSP found able to do that." grpc.code=Unknown grpc.call_duration=1.453263ms
The network you built is connected to the same subnet, i.e. fabric
. This means Org1 and Org2 share a single network. I think it is not suitable for the production deployment. Because peers in the Org1 can access the couchdb in Org2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.