blockworks-foundation / lite-rpc

This is a solana lite rpc which optimizes sending transactions and confirming transactions strategies.
GNU Affero General Public License v3.0
161 stars 43 forks source link

grpc_subscription_autoreconnect_tasks errors: failed to create filter: Broadcast `any` is not allowed #398

Open McSim85 opened 2 weeks ago

McSim85 commented 2 weeks ago

Hey team

Just wanted to post this issue more like an FAQ, if anyone else meets this. lite-rpc can report these errors:

WARN geyser_grpc_connector::grpc_subscription_autoreconnect_tasks: error on grpc_addr http://X.Y.Z.W:10000/ - retrying: Status { code: InvalidArgument, message: "failed to create filter: Broadcast `any` is not allowed, at least one filter required", source: None }

The error comes from this part of plugin: https://github.com/rpcpool/yellowstone-grpc/blob/b9d629c2fcd570e24040bf7784757981ca9be86e/yellowstone-grpc-geyser/src/config.rs#L216

This happens because "account_include_any" parameter (grpc -> filters -> blocks -> account_include_any) in the yellostone GRPC config.json has to be true.

rel: https://github.com/blockworks-foundation/lite-rpc/issues/307