Closed irmandos closed 7 years ago
Looks like Steam just didn't work properly at that time - if the issue persists then it could indeed be some Mono bug. Otherwise it should not be reproducible anymore.
Anyway, since we're moving to ASF V3 on .NET Core, there is nothing to fix in master in terms of Mono. Refer to https://github.com/JustArchi/ArchiSteamFarm/wiki/V3-Migration and https://github.com/JustArchi/ArchiSteamFarm/issues/586 for more info.
Bug
Description
After updating to the latest stable release of mono I am getting the below listed errors.
Expected behavior
Bot needs to be available to start using the !start dota command but otherwise remain stopped
Actual behavior
Bot is started and I get the notification that it is a limited account after which the bot is stopped with a whole list of errors.
Steps to reproduce
Full log.txt recorded during reproducing the problem
2017-07-25 08:15:16|mono-sgen-3511|WARN|dota|OnLoggedOn() This account is limited, idling process is unavailable until the restriction is removed! 2017-07-25 08:15:16|mono-sgen-3511|INFO|dota|Init() Logging in to ISteamUserAuth... 2017-07-25 08:15:18|mono-sgen-3511|INFO|dota|Stop() Stopping... 2017-07-25 08:15:18|mono-sgen-3511|ERROR|dota|OnAccountInfo() System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00026] in:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in :0
at ArchiSteamFarm.Bot+d128.MoveNext () [0x001b3] in <4fa4e084d391442aa9cc69821de44732>:0:0
at (wrapper remoting-invoke-with-check) SteamKit2.KVTextReader:.ctor (SteamKit2.KeyValue,System.IO.Stream)
at SteamKit2.KeyValue.ReadAsText (System.IO.Stream input) [0x0000b] in :0
at SteamKit2.WebAPI+AsyncInterface+d 7.MoveNext () [0x00285] in :0
--- End of inner exception stack trace ---
2017-07-25 08:15:18|mono-sgen-3511|INFO|dota|OnDisconnected() Disconnected from Steam! 2017-07-25 08:15:20|mono-sgen-3511|WARN|dota|Init() System.IO.InvalidDataException: An internal error occurred when attempting to parse the response from the WebAPI server. This can indicate a chan ge in the VDF format. ---> System.Exception: LoadFromBuffer: missing { at SteamKit2.KVTextReader..ctor (SteamKit2.KeyValue kv, System.IO.Stream input) [0x00062] in
Server stack trace: at SteamKit2.WebAPI+AsyncInterface+d__7.MoveNext () [0x002a3] in :0
Exception rethrown at [0]: at SteamKit2.WebAPI+Interface.TryInvokeMember (System.Dynamic.InvokeMemberBinder binder, System.Object[] args, System.Object& result) [0x00066] in:0
at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,ulong,string,string,string,bool)
at System.Dynamic.UpdateDelegates.UpdateAndExecute6[T0,T1,T2,T3,T4,T5,TRet] (System.Runtime.CompilerServices.CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) [0x00144] in <26a
edeede9534b948c539f8734c8492d>:0
at (wrapper delegate-invoke) System.Func`8[System.Runtime.CompilerServices.CallSite,System.Object,System.UInt64,System.String,System.String,System.String,System.Boolean,System.Object]:invoke_TRes
ult_T1_T2_T3_T4_T5_T6_T7 (System.Runtime.CompilerServices.CallSite,object,ulong,string,string,string,bool)
at ArchiSteamFarm.ArchiWebHandler+<>c__DisplayClass44_0.b__0 () [0x001b6] in <4fa4e084d391442aa9cc69821de44732>:0
Global ASF.json config
BotName.json config of all affected bot instances (if more than one)
Additional info
I have looked on the page (https://github.com/JustArchi/ArchiSteamFarm/wiki/Mono) to see any existing cases but did not see any of my errors listed. I have checked the issues page for know issues similar to mine but also did not see any.