You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since my geyser doesn't let the clients subscription without filter i leave it as disabled . in this case the app is stuck at the Waiting for first finalized block info... step.
root@825ebf54502b:/# lite-rpc
2024-09-25T13:33:40.732925Z INFO lite_rpc: Use RPC address: ####
2024-09-25T13:33:40.733063Z INFO lite_rpc: grpc_sources:[GrpcSource http://localhost:10000 (x-token n/a)]
2024-09-25T13:33:40.733525Z INFO lite_rpc: Accounts on demand service is disabled
2024-09-25T13:33:40.733558Z INFO lite_rpc: Creating RPC poll subscription...
2024-09-25T13:33:40.733802Z INFO lite_rpc: Disabled grpc stream inspection
2024-09-25T13:33:40.733845Z INFO lite_rpc: Waiting for first finalized block info...
2024-09-25T13:33:40.734968Z INFO solana_lite_rpc_cluster_endpoints::rpc_polling::poll_blocks: block listener started
It passes that step If I enable geyser but at this time i was not able to send request from client:
client log:
[2024-09-25 16:31:32.610] INFO (64698): solana connection will be created
rpcHost: "0.0.0.0:8890"
wsHost: null
/Users/oksuz/Developer/projects/web3/node_modules/@solana/web3.js/src/connection.ts:4293
throw new SolanaJSONRPCError(res.error, 'failed to get slot leader');
^
SolanaJSONRPCError: failed to get slot leader: Method not found
lite-rpc log:
root@825ebf54502b:/# lite-rpc
2024-09-25T13:39:46.914524Z INFO lite_rpc: Use RPC address: http://my-rpc-server:8890
2024-09-25T13:39:46.914579Z INFO lite_rpc: grpc_sources:[GrpcSource http://my-rpc-server:10000 (x-token n/a)]
2024-09-25T13:39:46.914797Z INFO lite_rpc: Accounts on demand service is disabled
2024-09-25T13:39:46.914832Z INFO lite_rpc: Creating geyser subscription...
2024-09-25T13:39:46.915069Z INFO solana_lite_rpc_cluster_endpoints::grpc_multiplex: Setup grpc multiplexed slots connection...
2024-09-25T13:39:46.915080Z INFO solana_lite_rpc_cluster_endpoints::grpc_multiplex: - connection to grpc_addr http://my-rpc-server:10000
2024-09-25T13:39:46.915247Z INFO solana_lite_rpc_cluster_endpoints::grpc_multiplex: Setup grpc multiplexed blocks connection...
2024-09-25T13:39:46.915263Z INFO solana_lite_rpc_cluster_endpoints::grpc_multiplex: - connection to grpc_addr http://my-rpc-server:10000
2024-09-25T13:39:46.915331Z INFO lite_rpc: Disabled grpc stream inspection
2024-09-25T13:39:46.915335Z INFO lite_rpc: Waiting for first finalized block info...
2024-09-25T13:39:47.183155Z WARN geyser_grpc_connector::grpc_subscription_autoreconnect_tasks: error on grpc_addr http://my-rpc-server:10010 - retrying: Status { code: InvalidArgument, message: "failed to create filter: Broadcast `any` is not allowed, at least one filter required", source: None }
2024-09-25T13:39:47.183370Z INFO geyser_grpc_connector::grpc_subscription_autoreconnect_tasks: waiting 1.5 seconds, then reconnect to grpc_addr http://my-rpc-server:10000
2024-09-25T13:39:47.312214Z INFO lite_rpc: Got finalized block info: 291929877
2024-09-25T13:39:47.703800Z INFO lite_rpc: ALTs disabled
2024-09-25T13:39:47.739333Z INFO solana_lite_rpc_core::network_utils: GSO force-disabled? false
2024-09-25T13:39:47.741770Z INFO solana_lite_rpc_services::metrics_capture: Capturing Metrics
2024-09-25T13:39:47.741803Z INFO solana_lite_rpc_services::metrics_capture: Metrics Tokio Unstable enabled
2024-09-25T13:39:47.742345Z INFO lite_rpc::start_server: HTTP Server started at "0.0.0.0:8890"
2024-09-25T13:39:47.742448Z INFO lite_rpc::start_server: Websocket Server started at "0.0.0.0:8891"
2024-09-25T13:39:48.960033Z WARN geyser_grpc_connector::grpc_subscription_autoreconnect_tasks: error on grpc_addr http://my-rpc-server:10010 - retrying: Status { code: InvalidArgument, message: "failed to create filter: Broadcast `any` is not allowed, at least one filter required", source: None }
2024-09-25T13:39:48.960242Z INFO geyser_grpc_connector::grpc_subscription_autoreconnect_tasks: waiting 1.5 seconds, then reconnect to grpc_addr http://my-rpc-server:10000
2024-09-25T13:39:50.733161Z WARN geyser_grpc_connector::grpc_subscription_autoreconnect_tasks: error on grpc_addr http://my-rpc-server:10010 - retrying: Status { code: InvalidArgument, message: "failed to create filter: Broadcast `any` is not allowed, at least one filter required", source: None }
2024-09-25T13:39:50.733276Z INFO geyser_grpc_connector::grpc_subscription_autoreconnect_tasks: waiting 1.5 seconds, then reconnect to grpc_addr http://my-rpc-server:10000
Do you have any suggestion for get it worked ?
The text was updated successfully, but these errors were encountered:
Hi,
I just wanted to do quick walkthrough around the application and build docker image on my local after that i set my env like the following:
Since my geyser doesn't let the clients subscription without filter i leave it as disabled . in this case the app is stuck at the
Waiting for first finalized block info...
step.It passes that step If I enable geyser but at this time i was not able to send request from client:
client log:
lite-rpc log:
Do you have any suggestion for get it worked ?
The text was updated successfully, but these errors were encountered: