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

Issues reconnecting after shutting down Rust app to Gateway/TWS #42

Open
JohnAllen opened this issue Dec 4, 2024 · 0 comments
Open

Comments

@JohnAllen
Copy link

Does anyone else have issues reconnecting to the gateway or TWS after they connect once successfully, then close this program and try to reconnect?

I get

2024-12-04 10:56:11 twsapi::core::reader src/core/reader.rs line: 118 ERROR - Err(IO error: Socket is not connected (os error 57))
2024-12-04 10:56:11 twsapi::core::reader src/core/reader.rs line: 44 INFO - socket either closed or broken, disconnecting

and have tried all sorts of socket and client cleanup stuff....

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

1 participant