-
Notifications
You must be signed in to change notification settings - Fork 70
Q:如何看到更多的日志信息
A:We use logrus for logging, which can be set with env var export TAPE_LOGLEVEL=debug
,
It could be one of (warn
by default): panic
, fatal
, error
, warn
, warning
, info
, debug
, trace
Q:测出来的Fabric网络TPS异常低
A: 有很多因素都会影响网络TPS,Tape不负责调试网络,不过通常可以尝试做出以下的调整
- Increase number of messages per block in your channel configuration
Q:与Caliper的不同
A: 以下内容可以供参考
- Tape不使用任何SDK,因此在测试中不包括SDK部分。
- Tape可以调整发送至peer的压力,通过grpc链接数目的方式。
- Tape的alpha上新增了对于open tracing的支持。
Q:是否初始化智能合约问题?
A:Tape目前并不部署fabric网络,因此需要手工调用智能合约。
- 以fabric-sample为例的参考CI中的实现以及改动
Q:Tape ERRO[0000] ProposalResponsePayloads from Peers do not match
A: https://github.com/Hyperledger-TWGC/tape/issues/131
Q:ERRO[0000] failed to create block collector: threshold and total must be greater than zero
A: https://github.com/Hyperledger-TWGC/tape/issues/231
Q:Transaction only succeed once in a single tape experiment
A: https://github.com/Hyperledger-TWGC/tape/issues/229
Q:Error msg as rpc error: code = Unavailable desc =
A: this kind of error is from GRPC connection, please check your server log. And as it's network issue... it's hard for tape maintainer to help you debug it.
**Q: Network issue or cert issue.
A: In most case, TLS configuration is owned by user. Just point out how to configuration for Tape as usage guide. As for Tape maintainer can't touch user's network or key settings.