Skip to content

Tape编译完成后,执行压测出现了问题 #484

@qinleiyong

Description

@qinleiyong

控制台报错如下:
2025/08/05 02:41:12 debug logging disabled
2025/08/05 02:41:12 debug logging disabled
For FAQ, please check https://github.com/Hyperledger-TWGC/tape/wiki/FAQ
panic: Received nil message, but expect a valid block instead. You could look into your peer logs for more info

goroutine 59 [running]:
github.com/hyperledger-twgc/tape/pkg/infra/observer.(*CommitObserver).Start(0xc00014ea10)
/home/qly/batteryBlockchain/tape/pkg/infra/observer/commitObserver.go:85 +0x60e
created by github.com/hyperledger-twgc/tape/pkg/infra/cmdImpl.Process
/home/qly/batteryBlockchain/tape/pkg/infra/cmdImpl/fullProcess.go:54 +0x9ca

查看docker-peer节点的日志,输出如下:
2025-08-05 09:24:34.295 UTC [common.deliver] deliverBlocks -> WARN 158 [channel: appchannel] Client authorization revoked for deliver request from 172.18.0.1:51026: Failed evaluating policy on signed data during check policy on channel [appchannel] with policy [/Channel/Application/Readers]: [implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Readers' sub-policies to be satisfied]
2025-08-05 09:24:34.295 UTC [comm.grpc.server] 1 -> INFO 159 streaming call completed grpc.service=protos.Deliver grpc.method=DeliverFiltered grpc.peer_address=172.18.0.1:51026 grpc.code=OK grpc.call_duration=1.51241ms

查看docker-order节点的日志,输出如下:
2025-08-05 09:41:08.165 UTC [comm.grpc.server] 1 -> INFO 29b streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=172.18.0.1:34942 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=10.667242ms
2025-08-05 09:41:12.449 UTC [common.deliver] deliverBlocks -> WARN 29c [channel: appchannel] Client authorization revoked for deliver request from 172.18.0.1:55376: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Readers' sub-policies to be satisfied: permission denied
2025-08-05 09:41:12.449 UTC [comm.grpc.server] 1 -> INFO 29d streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=172.18.0.1:55376 grpc.code=OK grpc.call_duration=1.450479ms
2025-08-05 09:41:12.467 UTC [orderer.common.broadcast] Handle -> WARN 29e Error reading from 172.18.0.1:55388: rpc error: code = Canceled desc = context canceled
2025-08-05 09:41:12.467 UTC [comm.grpc.server] 1 -> INFO 29f streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=172.18.0.1:55388 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=14.294384ms
2025-08-05 09:48:39.204 UTC [common.deliver] deliverBlocks -> WARN 2a0 [channel: appchannel] Client authorization revoked for deliver request from 172.18.0.1:40592: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Readers' sub-policies to be satisfied: permission denied
2025-08-05 09:48:39.205 UTC [comm.grpc.server] 1 -> INFO 2a1 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=172.18.0.1:40592 grpc.code=OK grpc.call_duration=1.740654ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions