Giter VIP home page Giter VIP logo

fabric-gm's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

fabric-gm's Issues

TLS握手失败

使用fabric-sdk-go-gm与fabric-gm进行通信时,显示TLS handshake error:bad certificate
请问该如何解决?

Openssl verify failed

Step to reproduce

openssl verify --verbose -CAfile cacerts/ca.org1.example.com-cert.pem signcerts/peer0.org1.example.com-cert.pem

Expect

verify success

Actual

C = US, ST = California, L = San Francisco, OU = peer, CN = peer0.org1.example.com
error 20 at 0 depth lookup: unable to get local issuer certificate
error signcerts/peer0.org1.example.com-cert.pem: verification failed

Privacy leakage in chaincode.go

The "readWriteKVs" function in integration/chaincode/kvexecutor/chaincode.go gets the private data directly via function parameters, which will be included in the transaction and all peers can access. The private data should be passed in the function via "GetTranscient" API. Besides, in line 99 and line 101, the private data is used as return value and will be included in the transaction and all peers can access.

链码执行时报错

下载好源码,编译好bin包之后,采用bin包启动该网络,orderer/peer节点都正常启动,链吗在commit 时报错如下
2020-12-22 17:23:20.155 CST [lifecycle] Work -> WARN 089 could not launch chaincode 'supermapcc:de48dff773622a4562403f6eab413ea2e5d312483c3506ef7bdcb553a6094116': chaincode registration failed: container exited with 0

然后执行链码时报一样的错误
Error: endorsement failure during invoke. response: status:500 message:"error in simulation: failed to execute transaction f05a373f0924f383e9fa0f951eaf1452b382a58d230f0c1198b249a2e09ffab5: could not launch chaincode supermapcc:de48dff773622a4562403f6eab413ea2e5d312483c3506ef7bdcb553a6094116: chaincode registration failed: container exited with 0"

请问是什么原因导致的呢?

多机部署遇到一个很奇怪的问题

单机部署暂时没发现问题,多机部署的时候遇到orderer节点无法连接导致no Raft leader

我在docker-compose.yaml host域名指向都是为本地地址,但orderer日志显示:
2021-10-26 02:35:12.400 UTC [orderer.consensus.etcdraft] logSendFailure -> DEBU 164d Failed to send StepRequest to 1, because: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 106.:7050: i/o timeout" channel=byfn-sys-channel node=2
2021-10-26 02:25:44.486 UTC [grpc] Warningf -> DEBU 6a3 grpc: addrConn.createTransport failed to connect to {orderer.
.com:7050 0 }. Err: connection error: desc = "transport: Error while dialing dial tcp 106.
***:7050: i/o timeout". Reconnecting...

以上日志信息显示连接了外网地址?十分不解,我官方原版部署不会有这个问题,而且hosts解析都设置指向本地的,求指导一下感谢

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.