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

silent failures & more debug log #378

Open
benjiqq opened this issue Jul 18, 2024 · 1 comment
Open

silent failures & more debug log #378

benjiqq opened this issue Jul 18, 2024 · 1 comment

Comments

@benjiqq
Copy link

benjiqq commented Jul 18, 2024

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

  • is there a way to add debug log to the client to see why this is happening?
  • I assume rust client is generally better to supported

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
Copy link
Collaborator

fanatid commented Jul 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants