We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I used the russh library to build a TUI with ratatui, inspired by your example, and from time to time I get those errors:
Failed to send data: Err(CryptoVec { p: 0xffffb8001920, size: 25, capacity: 32 }) Failed to send data: Err(CryptoVec { p: 0xffffb8029ef0, size: 0, capacity: 1 }) Failed to send data: Err(CryptoVec { p: 0xffffb8000d00, size: 25, capacity: 32 }) Failed to send data: Err(CryptoVec { p: 0xffffb8029ef0, size: 0, capacity: 1 }) Failed to send data: Err(CryptoVec { p: 0xffffb8024aa0, size: 25, capacity: 32 }) Failed to send data: Err(CryptoVec { p: 0xffffb8029ef0, size: 0, capacity: 1 })
When those errors start to happen then the server can not take any new request.
It happens in the Handler when trying to send the data.
Handler
... futures::executor::block_on(async move { let result = handle.data(channel_id, data).await; if result.is_err() { eprintln!("Failed to send data: {:?}", result); } }); ...
I do not know why they suddenly happen.
Have you seen this before ?
The text was updated successfully, but these errors were encountered:
This means that the session that the handle is connected to is already closed and can't send the data.
Sorry, something went wrong.
No branches or pull requests
Hi,
I used the russh library to build a TUI with ratatui, inspired by your example, and from time to time I get those errors:
When those errors start to happen then the server can not take any new request.
It happens in the
Handler
when trying to send the data.I do not know why they suddenly happen.
Have you seen this before ?
The text was updated successfully, but these errors were encountered: