super-truite Posted May 4, 2021 Posted May 4, 2021 I have several scripts that use the remote console to monitor AI or to allow admins to run commands. I am forced to wait several seconds between calls otherwise I get errors ("[WinError 10053] An established connection was aborted by the software in your host machine". I am on windows). Do I have to live with it and do slow interactions with the server or is it likely to be a problem with my socket client code or OS? Is it better on linux ?
Cynic_Al Posted May 7, 2021 Posted May 7, 2021 I usually allow at least 500ms between calls and have never experienced that problem on Windows or Linux. I take it you are reusing the same connection all the time, not re-establishing a new one each time. If you do run under Linux, there is (or was) an issue with a socket becoming unresponsive over time, perhaps after several thousand calls, necessitating periodic script abort followed by a restart after a delay of about one minute. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now