Giter Site home page Giter Site logo

4host-swarm's People

Contributors

kctam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

4host-swarm's Issues

Access denied: channel [] creator org unknown, creator is malformed)

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

Have you build it with an individual subnet on every host?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.