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 get this error: panicked at 'dispatch dropped without returning error', /home/brian/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.20/src/client/conn.rs:329:35
when I do call JsonRpcClient::call(), it happens at random, not always constant. Checking around seems I get this similar issue posted on hyper's github hyperium/hyper#2892, they recommend making the client shareable, also this other project has similar issues: ydb-platform/ydb-rs-sdk#92
The text was updated successfully, but these errors were encountered:
Hi there, so here's the thing. If you're dealing with multiple runtimes, you should not use the same JsonRpcClient connector. So, swap out JsonRpcClient::connect which uses a default, global connector for a manual connector.
- JsonRpcClient::connect(URL);+ let connector = JsonRpcClient::new_client();+ let client = connector.connect(URL);
I get this error:
panicked at 'dispatch dropped without returning error', /home/brian/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.20/src/client/conn.rs:329:35
when I do call
JsonRpcClient::call()
, it happens at random, not always constant. Checking around seems I get this similar issue posted on hyper's github hyperium/hyper#2892, they recommend making the client shareable, also this other project has similar issues: ydb-platform/ydb-rs-sdk#92The text was updated successfully, but these errors were encountered: