-
Notifications
You must be signed in to change notification settings - Fork 497
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
SK2 alpha9 regression #464
Comments
What OS? If Windows 7 / Serve 2012, it might be an unintended consequence of #455. If it isn't then I have no idea at all, but either way I don't see how Should be easy enough to fix with the old There were also a few other |
Yep, task canceled exceptions that are pointed out by ASF as I think I'll start including some bare OS information in my log 😅. I don't think #461 has anything to do with this, if it was Windows 7 or other system without websockets support then my program would automatically and forcibly disable them from SK2 usage. I'm 99.9% sure it's nothing connected with websockets at all, as I verified with my friend that this piece of logic works properly, at least for Windows 7 SP1. Check yourself. What is strange is the fact that I reverted to alpha8 as a test and that did fix the issue, this is the whole commit which apart from reverting to previous version only re-included my workaround for the previous persona state issue, but that should have absolutely no connection, Very strange issue, I'll take a look at SK2 diff. |
After evaluating the diff only that User said that he reproduced it on Windows 10, I'll try to reproduce it myself with debug log enabled and maybe stumble upon some clue. |
I already forgot that you silently ignore WebSockets on Win7. Let me know what you find. Very strange indeed. |
I managed to reproduce it without bigger problems, it's quite easy to reproduce it actually.
I have no clue why it happens, but I can clearly take a look at the code to see what is happening. The exception seems to be thrown after bot writes "Connecting...". As you can see, in case of this specific message ASF is attempting to reconnect instantly through async call to I did a test and added forced 5 seconds of |
Would you like a repro? I think I could reliably write one if you have no luck reproducing it yourself. Basically everything we want is SK2 attempting to play valid Steam game ( Since we're holding a lock and SK2 only wants to start playing a game without taking over the playing lock, it'll be forcibly disconnected with If you add follow-up logic of |
Forget about description above, this is even easier to reproduce. Full case below:
(Forgive me this awful code, I just made it to run into the bug 😀) Thanks! |
Haha, it is related to #455. Looks like a strange consequence of
|
This looks like SK2 internals. As you can see caused by reconnect attempt in
OnDisconnected()
. Thanks.Ref: JustArchiNET/ArchiSteamFarm#665
The text was updated successfully, but these errors were encountered: