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
After a few times closing + restarting some scripts, I noticed the Rust server would stop accepting connections if the connection was not closed gracefully too many times.
Steps to reproduce:
Run Intiface's Rust server
Run a script that connects to the server (e.g. the Python example)
Terminate that script with Ctrl+C, or otherwise end it in a non-graceful way
IntifaceCLI will display an error such as:
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Protocol("Connection reset without closing handshake")', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/buttplug-0.7.2/src/connector/transport/websocket/websocket_server.rs:59:5
Continue doing this several more times.
After 5 or so attempts, the script will fail to connect to the server anymore.
Could not connect to server, exiting: [Errno 111] Connect call failed ('127.0.0.1', 12345)
The server appears to accept new connections if they are all closed gracefully, but not if they are non-graceful.
Expected behavior:
The server would continue to accept new connections.
The text was updated successfully, but these errors were encountered:
Taken from intiface/intiface-cli-rs#5
--
After a few times closing + restarting some scripts, I noticed the Rust server would stop accepting connections if the connection was not closed gracefully too many times.
Steps to reproduce:
The server appears to accept new connections if they are all closed gracefully, but not if they are non-graceful.
Expected behavior:
The server would continue to accept new connections.
The text was updated successfully, but these errors were encountered: