Hyperledger-TWGC / tape

A Simple Traffic Generator for Hyperledger Fabric
Apache License 2.0
224 stars 70 forks source link

panic: Received nil message, but expect a valid block instead. #363

Open Ab4ndon opened 8 months ago

Ab4ndon commented 8 months ago

./tape -c config.yaml -n 100

2024/02/01 20:40:07 debug logging disabled 2024/02/01 20:40:07 debug logging disabled GetAllAssets panic: Received nil message, but expect a valid block instead. You could look into your peer logs for more info

goroutine 313 [running]: github.com/hyperledger-twgc/tape/pkg/infra/observer.(*CommitObserver).Start(0xc00041e620)

我在使用tape对fabric test-network进行测试的时候遇到这个问题,下面是我的config.yaml:

image

请问是哪里出问题了呀?

SamYuan1990 commented 8 months ago

cloud you please enable log https://github.com/Hyperledger-TWGC/tape/wiki/FAQ to get more details?

jeffsxguo commented 7 months ago

I encountered the same situation, and I tried to read file tape.log. I found that that the arguments provided in config.yaml is different to what is needed in chaincode function leads to this error. I suggest setting TAPE_LOGLEVEL to debug or trace and reading log to find what is going wrong.