Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ab4ndon opened this issue Feb 1, 2024 · 2 comments
Open

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

Ab4ndon opened this issue Feb 1, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Ab4ndon
Copy link

Ab4ndon commented Feb 1, 2024

#./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 Ab4ndon added the bug Something isn't working label Feb 1, 2024
@SamYuan1990
Copy link
Member

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

@jeffsxguo
Copy link

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.

@davidkhala davidkhala added the help wanted Extra attention is needed label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Development

No branches or pull requests

4 participants