rpcpool / yellowstone-grpc

solana geyser grpc service
GNU Affero General Public License v3.0
274 stars 105 forks source link

silent failures & more debug log #378

Open benjiqq opened 4 months ago

benjiqq commented 4 months ago

i'm using the node client and its dropping off silently.

I see these options which could be related options

pub fn timeout(self, dur: Duration) -> Self {
pub fn buffer_size(self, sz: impl Into<Option<usize>>) -> Self {
pub fn http2_adaptive_window(self, enabled: bool) -> Self {
pub fn http2_keep_alive_interval(self, interval: Duration) -> Self {
pub fn initial_connection_window_size(self, sz: impl Into<Option<u32>>) -> Self {
pub fn initial_stream_window_size(self, sz: impl Into<Option<u32>>) -> Self {
pub fn keep_alive_timeout(self, duration: Duration) -> Self {
pub fn keep_alive_while_idle(self, enabled: bool) -> Self {
pub fn tcp_keepalive(self, tcp_keepalive: Option<Duration>) -> Self {
pub fn tcp_nodelay(self, enabled: bool) -> Self {
pub fn max_decoding_message_size(self, limit: usize) -> Self {
pub fn max_encoding_message_size(self, limit: usize) -> Self {```

subscribe request below

const transactions_filter: SubscribeRequestFilterTransactions = { vote: false, failed: false, signature: undefined, accountInclude: [PUMP], accountExclude: [], accountRequired: [], };

let cmt = CommitmentLevel.CONFIRMED;

const request: SubscribeRequest = { slots: {}, accounts: {}, transactions: { client: transactions_filter }, entry: {}, blocks: {}, blocksMeta: {}, commitment: cmt, accountsDataSlice: [], ping: undefined, };

fanatid commented 4 months ago

What do you mean under "dropping of silently"?

is there a way to add debug log to the client to see why this is happening?

you can use RUST_LOG for trace/debug messages from crates