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
I am using solana_client::nonblocking::rpc_client::RpcClient (docs.rs link) to make requests against a RPC provider. Sometimes when hitting rate limits or for other reasons the connection gets closed with connection closed before message completed.
The Client is constructed like this
let client = Arc::new(
reqwest::Client::builder().default_headers(default_headers).timeout(timeout).pool_idle_timeout(timeout).build().expect("build rpc client"),);
Does the Client automatically recover from these errors upon the next request? I am asking because short after this my async task stops executing and I am currently having difficulties identifying the root cause.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I am using
solana_client::nonblocking::rpc_client::RpcClient
(docs.rs link) to make requests against a RPC provider. Sometimes when hitting rate limits or for other reasons the connection gets closed withconnection closed before message completed
.The Client is constructed like this
Does the Client automatically recover from these errors upon the next request? I am asking because short after this my async task stops executing and I am currently having difficulties identifying the root cause.
Thanks for clarification
Beta Was this translation helpful? Give feedback.
All reactions