OnPersonaState() System.InvalidOperationException: descriptions is empty!
C-O-S opened this issue · comments
Checklist
- I read and understood ASF's Contributing guidelines
- I also read Setting-up and FAQ, I don't need help, this is a bug report
- This is not a duplicate of an existing issue
- I don't own more than 10 accounts in total
- I'm not using custom plugins
- This is not a question
- This is not a technical issue
- This is not ASF-ui problem
ASF version
Latest pre-release
ASF variant
win-x64
Bug description
Through the last few patch updates this error has persisted:
[09:22:49] ERROR Cos > OnPersonaState() System.InvalidOperationException: descriptions is empty! at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+MoveNext() at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable
1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at System.Linq.AsyncEnumerable.g__Core|424_0[TSource](IAsyncEnumerable1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36 at ArchiSteamFarm.OfficialPlugins.ItemsMatcher.RemoteCommunication.OnPersonaState(String nickname, String avatarHash)
Expected behavior
That normal processing would occur, with this error being trapped in a way that doesn't generate this behavior.
Actual behavior
Error is exhibited - filling up the console screen periodically.
Steps to reproduce
Start ASF normally
Possible reason/solution
This behavior only manifested recently - so I would surmise that some of the recent changes produced introduced it.
Can you help us with this bug report?
Testing
Full log.txt recorded during reproducing the problem
2024-03-22 09:37:02|ArchiSteamFarm-34088|INFO|ASF|InitCore() ArchiSteamFarm V6.0.1.12 (win-x64/e880eeecfccf4b0e9b34197675433ec2 | .NET 8.0.3; win-x64; Microsoft Windows 10.0.22631) in [D:\Games\!SteamCardFarming\ASF-win-x64]
2024-03-22 09:37:02|ArchiSteamFarm-34088|INFO|ASF|InitCore() Copyright © 2015-2024 JustArchiNET
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|InitPlugins() Initializing Plugins...
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V6.0.1.12...
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V6.0.1.12...
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V6.0.1.12...
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2024-03-22 09:37:03|ArchiSteamFarm-34088|INFO|ASF|UpdateASF() Checking for new version...
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|ASF|UpdateASF() Local version: 6.0.1.12 | Remote version: 6.0.1.12
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|ASF|Load() Loading STD global cache...
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|ASF|Load() Validating STD global cache integrity...
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|ASF|OnASFInit() SteamTokenDumperPlugin has been initialized successfully, thank you in advance for your help. The first submission will happen in approximately 41 minutes from now.
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|ASF|Start() Starting IPC server...
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|Microsoft.Hosting.Lifetime|Content root path: D:\Games\!SteamCardFarming\ASF-win-x64
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|ASF|Start() IPC server ready!
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|Cos|Start() Starting...
2024-03-22 09:37:04|ArchiSteamFarm-34088|INFO|Cos|Connect() Connecting...
2024-03-22 09:37:05|ArchiSteamFarm-34088|INFO|Cos|OnConnected() Connected to Steam!
2024-03-22 09:37:05|ArchiSteamFarm-34088|INFO|Cos|OnConnected() Logging in...
2024-03-22 09:37:06|ArchiSteamFarm-34088|INFO|Cos|OnLoggedOn() Successfully logged on as ((Removed))/_C0S_.
2024-03-22 09:37:06|ArchiSteamFarm-34088|INFO|Cos|Init() Success!
2024-03-22 09:37:07|ArchiSteamFarm-34088|INFO|Cos|IsAnythingToFarm() Checking first badge page...
2024-03-22 09:37:09|ArchiSteamFarm-34088|ERROR|Cos|OnPersonaState() System.InvalidOperationException: descriptions is empty!
at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+MoveNext()
at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at ArchiSteamFarm.OfficialPlugins.ItemsMatcher.RemoteCommunication.OnPersonaState(String nickname, String avatarHash)
2024-03-22 09:37:09|ArchiSteamFarm-34088|INFO|Cos|IsAnythingToFarm() Checking other badge pages...
2024-03-22 09:37:35|ArchiSteamFarm-34088|INFO|Cos|Farm() We have a total of 2 games (6 cards) left to farm (~6 hours remaining)...
2024-03-22 09:37:35|ArchiSteamFarm-34088|INFO|Cos|Farm() Chosen farming algorithm: Complex
2024-03-22 09:37:36|ArchiSteamFarm-34088|INFO|Cos|IsPlayableGame() Farming 545450 (Hollow Bliss) is temporarily disabled, as ASF is not able to play that game at the moment.
2024-03-22 09:37:36|ArchiSteamFarm-34088|INFO|Cos|IsPlayableGame() Farming 503490 (Sword of Fireheart - The Awakening Element) is temporarily disabled, as ASF is not able to play that game at the moment.
2024-03-22 09:37:36|ArchiSteamFarm-34088|INFO|Cos|IsAnythingToFarm() Checking first badge page...
2024-03-22 09:37:38|ArchiSteamFarm-34088|INFO|Cos|IsAnythingToFarm() Checking other badge pages...
2024-03-22 09:38:04|ArchiSteamFarm-34088|INFO|Cos|Farm() Farming finished!
2024-03-22 09:38:09|ArchiSteamFarm-34088|INFO|Cos|Refresh() Retrieving a total of 122 app access tokens...
2024-03-22 09:38:09|ArchiSteamFarm-34088|INFO|Cos|Refresh() Retrieving 122 app access tokens...
2024-03-22 09:38:09|ArchiSteamFarm-34088|INFO|Cos|Refresh() Finished retrieving 122 app access tokens.
2024-03-22 09:38:09|ArchiSteamFarm-34088|INFO|Cos|Refresh() Finished retrieving a total of 122 app access tokens.
2024-03-22 09:38:09|ArchiSteamFarm-34088|INFO|Cos|Refresh() Retrieving all depots for a total of 122 apps...
2024-03-22 09:38:09|ArchiSteamFarm-34088|INFO|Cos|Refresh() Retrieving 122 app infos...
2024-03-22 09:38:10|ArchiSteamFarm-34088|INFO|Cos|Refresh() Finished retrieving 122 app infos.
2024-03-22 09:38:16|ArchiSteamFarm-34088|ERROR|Cos|OnPersonaState() System.InvalidOperationException: descriptions is empty!
at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+MoveNext()
at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at ArchiSteamFarm.OfficialPlugins.ItemsMatcher.RemoteCommunication.OnPersonaState(String nickname, String avatarHash)
2024-03-22 09:38:37|ArchiSteamFarm-34088|INFO|Cos|Init() Success!
2024-03-22 09:38:54|ArchiSteamFarm-34088|INFO|Cos|Refresh() Successfully retrieved 52 out of 52 depot keys.
2024-03-22 09:38:54|ArchiSteamFarm-34088|INFO|Cos|Refresh() Finished retrieving all depot keys for a total of 122 apps.
Global ASF.json config file
{
"LicenseID": "((Removed))",
"SteamOwnerID": 76561197973009892,
"UpdateChannel": 2,
"SteamTokenDumperPluginEnabled": true,
"IPCPrefixes": [
"http://127.0.0.1:1242/"
]
}
BotName.json config of all affected bot instances
{
"BotBehaviour": 2,
"Enabled": true,
"FarmingOrders": [
9
],
"FarmingPreferences": 128,
"LootableTypes": [],
"MatchableTypes": [
2,
4,
5
],
"OnlineStatus": 0,
"SteamLogin": "((Removed))",
"SteamPassword": "((Removed))",
"SteamTradeToken": "((Removed))",
"TradingPreferences": 19,
"TransferableTypes": []
}
Additional info
No response
ASF version
Latest stable release
Is not accurate information as per logs you are on pre-release.
@C-O-S thanks for report, please wait a few minutes for CI to build a test release for you, then grab it from https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8391712122
I'd appreciate if you could let me know if this build fixes the issue for you. Since the root cause of this is not easy to reproduce on our side, the objective is to find a value low enough for you to work.
Thanks in advance!
ASF version
Latest stable release
Is not accurate information as per logs you are on pre-release.
Sorry about that - I initially tried to put a longer log file in and it balked at the size and reset some of the selected options. I didn't catch that one.
@C-O-S thanks for report, please wait a few minutes for CI to build a test release for you, then grab it from https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8391712122
I'd appreciate if you could let me know if this build fixes the issue for you. Since the root cause of this is not easy to reproduce on our side, the objective is to find a value low enough for you to work.
Thanks in advance!
2024-03-22 10:47:03|ArchiSteamFarm-9036|INFO|ASF|InitCore() ArchiSteamFarm V6.0.1.13 (win-x64/f5d619e111464eaa9763a19356f2ba86 | .NET 8.0.3; win-x64; Microsoft Windows 10.0.22631) in [D:\Games\!SteamCardFarming\ASF-win-x64] 2024-03-22 10:47:03|ArchiSteamFarm-9036|INFO|ASF|InitCore() Copyright © 2015-2024 JustArchiNET 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|InitPlugins() Initializing Plugins... 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V6.0.1.13... 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully! 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V6.0.1.13... 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully! 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V6.0.1.13... 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully! 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day. 2024-03-22 10:47:05|ArchiSteamFarm-9036|INFO|ASF|UpdateASF() Checking for new version... 2024-03-22 10:47:06|ArchiSteamFarm-9036|INFO|ASF|UpdateASF() Local version: 6.0.1.13 | Remote version: 6.0.1.12 2024-03-22 10:47:06|ArchiSteamFarm-9036|WARN|ASF|UpdateAndRestart() You're using a version that is newer than the latest released version for your update channel. Please note that pre-release versions are meant for users who know how to report bugs, deal with issues and give feedback - no technical support will be given. 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|ASF|Load() Loading STD global cache... 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|ASF|Load() Validating STD global cache integrity... 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|ASF|OnASFInit() SteamTokenDumperPlugin has been initialized successfully, thank you in advance for your help. The first submission will happen in approximately 46 minutes from now. 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode. 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|ASF|Start() Starting IPC server... 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down. 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|Microsoft.Hosting.Lifetime|Content root path: D:\Games\!SteamCardFarming\ASF-win-x64 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|ASF|Start() IPC server ready! 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|Cos|Start() Starting... 2024-03-22 10:47:16|ArchiSteamFarm-9036|INFO|Cos|Connect() Connecting... 2024-03-22 10:47:17|ArchiSteamFarm-9036|INFO|Cos|OnConnected() Connected to Steam! 2024-03-22 10:47:17|ArchiSteamFarm-9036|INFO|Cos|OnConnected() Logging in... 2024-03-22 10:47:17|ArchiSteamFarm-9036|INFO|Cos|OnLoggedOn() Successfully logged on as 76561197973009892/_C0S_. 2024-03-22 10:47:17|ArchiSteamFarm-9036|INFO|Cos|Init() Success! 2024-03-22 10:47:19|ArchiSteamFarm-9036|INFO|Cos|IsAnythingToFarm() Checking first badge page... 2024-03-22 10:47:19|ArchiSteamFarm-9036|ERROR|Cos|OnPersonaState() System.InvalidOperationException: descriptions is empty! at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+MoveNext() at ArchiSteamFarm.Steam.Integration.ArchiHandler.GetMyInventoryAsync(UInt32 appID, UInt64 contextID, Boolean tradableOnly, Boolean marketableOnly, UInt16 itemsCountPerRequest)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable
1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
at System.Linq.AsyncEnumerable.g__Core|424_0[TSource](IAsyncEnumerable1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36 at ArchiSteamFarm.OfficialPlugins.ItemsMatcher.RemoteCommunication.OnPersonaState(String nickname, String avatarHash) 2024-03-22 10:47:21|ArchiSteamFarm-9036|INFO|Cos|IsAnythingToFarm() Checking other badge pages... 2024-03-22 10:47:49|ArchiSteamFarm-9036|INFO|Cos|Farm() We have a total of 2 games (6 cards) left to farm (~6 hours remaining)... 2024-03-22 10:47:49|ArchiSteamFarm-9036|INFO|Cos|Farm() Chosen farming algorithm: Complex 2024-03-22 10:47:49|ArchiSteamFarm-9036|INFO|Cos|IsPlayableGame() Farming 545450 (Hollow Bliss) is temporarily disabled, as ASF is not able to play that game at the moment. 2024-03-22 10:47:50|ArchiSteamFarm-9036|INFO|Cos|IsPlayableGame() Farming 503490 (Sword of Fireheart - The Awakening Element) is temporarily disabled, as ASF is not able to play that game at the moment. 2024-03-22 10:47:50|ArchiSteamFarm-9036|INFO|Cos|IsAnythingToFarm() Checking first badge page... 2024-03-22 10:47:51|ArchiSteamFarm-9036|INFO|Cos|IsAnythingToFarm() Checking other badge pages...
Still seems to be tossing the error at this point.
@C-O-S thanks, please check out https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392158735 in another 10 minutes or so, then let me know 🙂
@C-O-S thanks, please check out https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392158735 in another 10 minutes or so, then let me know 🙂
Still generating errors for some reason.
Thanks, last two builds left, next one: https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392521797 🙂
Thanks, last two builds left, next one: https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392521797 🙂
@JustArchi - Again, sorry to report that the error is still presenting itself. Wish there was more I could do to help address this.
Thanks, despite best efforts it seems impossible for ASF to fetch more items than 5k for your inventory, which means that our experimental approach that landed in last pre-release still needs to be artificially limited to the limits we had before.
Feel free to confirm with https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392756395 that it works for you now, I don't expect any problems anymore (please let me know if I'm wrong). Thanks again for extensive testing and reporting this issue 🙂. You can keep using this version, it'll automatically update as per your release channel.
@JustArchi - Confirming that with https://github.com/JustArchiNET/ArchiSteamFarm/actions/runs/8392756395 - The errors are no longer thrown in the console logs.
This appears to be resolved at this point.