tape icon indicating copy to clipboard operation
tape copied to clipboard

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

Open Ab4ndon opened this issue 1 year ago • 2 comments

#./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

请问是哪里出问题了呀?

Ab4ndon avatar Feb 01 '24 12:02 Ab4ndon

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

SamYuan1990 avatar Feb 06 '24 10:02 SamYuan1990

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.

gsxgoldenlegendary avatar Feb 27 '24 10:02 gsxgoldenlegendary