JustArchiNET / ArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
Apache License 2.0
11.09k stars 1.04k forks source link

System.ArgumentNullException: Value cannot be null #3029

Closed MsFloofie closed 11 months ago

MsFloofie commented 11 months ago

Checklist

ASF version

Latest stable release

ASF variant

linux-arm64

Bug description

After the Steam maintenance on October 17th, 2023, ArchiSteamFarm is unable to start back up, reporting a FATAL log with System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')

Full FATAL message below

2023-10-17 18:28:27|ArchiSteamFarm-11557|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-17 18:28:27|ArchiSteamFarm-11557|ERROR|ASF|Exit() Exiting with nonzero error code!

Expected behavior

ASF was expected to connect back to steam servers after the maintenance

Actual behavior

ASF automatically shuts down with a fatal error message.

Steps to reproduce

  1. Start ASF

Possible reason/solution

No response

Can you help us with this bug report?

No, I don't have time, skills or willings for any of that

Full log.txt recorded during reproducing the problem

2023-10-17 18:28:14|ArchiSteamFarm-11557|INFO|ASF|InitCore() ArchiSteamFarm V5.4.10.3 (linux-arm64/73ae7e63-f6b5-4aa4-b6d0-a8fc4e25edae | .NET 7.0.11; debian.12-arm64; Linux 6.1.0-13-arm64 #1 SMP Debian 6.1.55-1 (2023-09-29))
2023-10-17 18:28:14|ArchiSteamFarm-11557|INFO|ASF|InitCore() Copyright © 2015-2023 JustArchiNET
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|InitPlugins() Initializing Plugins...
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V5.4.10.3...
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V5.4.10.3...
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.4.10.3...
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2023-10-17 18:28:18|ArchiSteamFarm-11557|INFO|ASF|Update() Checking for new version...
2023-10-17 18:28:20|ArchiSteamFarm-11557|INFO|ASF|Update() Local version: 5.4.10.3 | Remote version: 5.4.10.3
2023-10-17 18:28:20|ArchiSteamFarm-11557|INFO|ASF|Load() Loading STD global cache...
2023-10-17 18:28:21|ArchiSteamFarm-11557|INFO|ASF|Load() Validating STD global cache integrity...
2023-10-17 18:28:22|ArchiSteamFarm-11557|INFO|ASF|OnASFInit() SteamTokenDumperPlugin has been initialized successfully, thank you in advance for your help. The first submission will happen in approximately 14 minutes from now.
2023-10-17 18:28:22|ArchiSteamFarm-11557|INFO|ASF|Start() Starting IPC server...
2023-10-17 18:28:24|ArchiSteamFarm-11557|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://0.0.0.0:1242
2023-10-17 18:28:24|ArchiSteamFarm-11557|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-10-17 18:28:24|ArchiSteamFarm-11557|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-10-17 18:28:24|ArchiSteamFarm-11557|INFO|Microsoft.Hosting.Lifetime|Content root path: /home/asf/ArchiSteamFarm
2023-10-17 18:28:24|ArchiSteamFarm-11557|INFO|ASF|Start() IPC server ready!
2023-10-17 18:28:25|ArchiSteamFarm-11557|INFO|Floofie2|Start() Starting...
2023-10-17 18:28:25|ArchiSteamFarm-11557|INFO|Floofie4|Start() Starting...
2023-10-17 18:28:25|ArchiSteamFarm-11557|INFO|Floofie3|Start() Starting...
2023-10-17 18:28:25|ArchiSteamFarm-11557|INFO|Floofie|Start() Starting...
2023-10-17 18:28:25|ArchiSteamFarm-11557|INFO|Floofie2|Connect() Connecting...
2023-10-17 18:28:26|ArchiSteamFarm-11557|INFO|Floofie2|OnConnected() Connected to Steam!
2023-10-17 18:28:26|ArchiSteamFarm-11557|INFO|Floofie2|OnConnected() Logging in...
2023-10-17 18:28:27|ArchiSteamFarm-11557|INFO|Floofie2|OnLoggedOn() Successfully logged on as 76561198847579175/Floofie2.
2023-10-17 18:28:27|ArchiSteamFarm-11557|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-17 18:28:27|ArchiSteamFarm-11557|ERROR|ASF|Exit() Exiting with nonzero error code!
2023-10-17 18:28:27|ArchiSteamFarm-11557|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...

Global ASF.json config file

No response

BotName.json config of all affected bot instances

No response

Additional info

No response

ZanaGB commented 11 months ago

I can report that the issue is happening on the arm64 macOS build as well. Trying the latest pre-release version results in the same issue.

2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitCore() ArchiSteamFarm V5.4.11.2 (osx-arm64/73b3a3d8-607d-4dbf-9737-f0b783a6b508 | .NET 7.0.12; osx.14-arm64; Darwin 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000)
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitCore() Copyright © 2015-2023 JustArchiNET
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitPlugins() Initializing Plugins...
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V5.4.11.2...
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V5.4.11.2...
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.4.11.2...
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|Update() Checking for new version...
2023-10-18 00:37:38|ArchiSteamFarm-7094|INFO|ASF|Update() Local version: 5.4.11.2 | Remote version: 5.4.10.3
2023-10-18 00:37:38|ArchiSteamFarm-7094|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.
2023-10-18 00:37:48|ArchiSteamFarm-7094|INFO|ASF|OnASFInit() SteamTokenDumperPlugin is currently disabled according to your configuration. If you'd like to help SteamDB in data submission, please check out our wiki.
2023-10-18 00:37:48|ArchiSteamFarm-7094|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2023-10-18 00:37:48|ArchiSteamFarm-7094|INFO|ASF|Start() Starting IPC server...
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|Microsoft.Hosting.Lifetime|Content root path: /Volumes/Home/UserName/Downloads/ASF-osx-arm64
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|ASF|Start() IPC server ready!
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|$Bot_Name|Start() Starting...
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|$Bot_Name|Connect() Connecting...
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|$Bot_Name|OnConnected() Connected to Steam!
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|$Bot_Name|OnConnected() Logging in...
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|$Bot_Name|OnLoggedOn() Successfully logged on as $Steam_ID/$Bot_Name.
2023-10-18 00:37:49|ArchiSteamFarm-7094|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-18 00:37:49|ArchiSteamFarm-7094|ERROR|ASF|Exit() Exiting with nonzero error code!
2023-10-18 00:37:49|ArchiSteamFarm-7094|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()

EDIT: Spun up an x86-64 Debian 12 VM, same issue.

2023-10-17 22:49:34|ArchiSteamFarm-6369|INFO|ASF|InitCore() ArchiSteamFarm V5.4.10.3 (linux-x64/8b79fb39-f5a3-4b56-8f2b-59d243628c1e | .NET 7.0.11; debian.12-x64; Linux 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z))
2023-10-17 22:49:34|ArchiSteamFarm-6369|INFO|ASF|InitCore() Copyright © 2015-2023 JustArchiNET
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|InitPlugins() Initializing Plugins...
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V5.4.10.3...
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V5.4.10.3...
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.4.10.3...
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2023-10-17 22:49:35|ArchiSteamFarm-6369|INFO|ASF|Update() Checking for new version...
2023-10-17 22:49:36|ArchiSteamFarm-6369|INFO|ASF|Update() Local version: 5.4.10.3 | Remote version: 5.4.10.3
2023-10-17 22:49:36|ArchiSteamFarm-6369|INFO|ASF|OnASFInit() SteamTokenDumperPlugin is currently disabled according to your configuration. If you'd like to help SteamDB in data submission, please check out our wiki.
2023-10-17 22:49:36|ArchiSteamFarm-6369|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2023-10-17 22:49:36|ArchiSteamFarm-6369|INFO|ASF|Start() Starting IPC server...
2023-10-17 22:49:37|ArchiSteamFarm-6369|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242
2023-10-17 22:49:37|ArchiSteamFarm-6369|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-10-17 22:49:37|ArchiSteamFarm-6369|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-10-17 22:49:37|ArchiSteamFarm-6369|INFO|Microsoft.Hosting.Lifetime|Content root path: /home/$User/ASF-linux-x64
2023-10-17 22:49:37|ArchiSteamFarm-6369|INFO|ASF|Start() IPC server ready!
2023-10-17 22:49:37|ArchiSteamFarm-6369|INFO|$Bot_Name|Start() Starting...
2023-10-17 22:49:37|ArchiSteamFarm-6369|INFO|$Bot_Name|Connect() Connecting...
2023-10-17 22:49:38|ArchiSteamFarm-6369|INFO|$Bot_Name|OnConnected() Connected to Steam!
2023-10-17 22:49:38|ArchiSteamFarm-6369|INFO|$Bot_Name|OnConnected() Logging in...
2023-10-17 22:49:38|ArchiSteamFarm-6369|INFO|$Bot_Name|OnLoggedOn() Successfully logged on as $Steam_ID/$Bot_Name.
2023-10-17 22:49:38|ArchiSteamFarm-6369|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-17 22:49:38|ArchiSteamFarm-6369|ERROR|ASF|Exit() Exiting with nonzero error code!
2023-10-17 22:49:38|ArchiSteamFarm-6369|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
Aborted
kevindevm commented 11 months ago

same in win x64

Holtigo commented 11 months ago

Encountering same issue on Linux armx64 and winx64 just after confirming steam guard or entering steam guard code. Both worked perfectly earlier today, now both giving the same error. Even on brand new install with correct dependencies. Full windows log attached.

2023-10-18 00:35:57|ArchiSteamFarm-17180|INFO|ASF|InitCore() Copyright © 2015-2023 JustArchiNET
2023-10-18 00:35:57|ArchiSteamFarm-17180|INFO|ASF|InitGlobalDatabaseAndServices() It looks like it's your first launch of the program, welcome!
2023-10-18 00:36:07|ArchiSteamFarm-17180|WARN|ASF|InitGlobalDatabaseAndServices() Please review our privacy policy section on the wiki if you're concerned about what ASF is in fact doing!
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|InitPlugins() Initializing Plugins...
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V5.4.10.3...
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V5.4.10.3...
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.4.10.3...
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2023-10-18 00:36:12|ArchiSteamFarm-17180|INFO|ASF|Update() Checking for new version...
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|ASF|Update() Local version: 5.4.10.3 | Remote version: 5.4.10.3
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|ASF|OnASFInit() SteamTokenDumperPlugin is currently disabled according to your configuration. If you'd like to help SteamDB in data submission, please check out our wiki.
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|ASF|Start() Starting IPC server...
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|Microsoft.Hosting.Lifetime|Content root path: C:\Users\User\Downloads\ASF-win-x64
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|ASF|Start() IPC server ready!
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|ASF|RegisterBots() Initializing SteamDirectory...
2023-10-18 00:36:13|ArchiSteamFarm-17180|INFO|ASF|RegisterBots() Success!
2023-10-18 00:36:13|ArchiSteamFarm-17180|WARN|ASF|RegisterBots() No bots are defined. Did you forget to configure your ASF? Follow 'setting up' guide on the wiki if you're confused.
2023-10-18 00:37:40|ArchiSteamFarm-17180|WARN|ASF|RegisterBot() config\DraonFarmTest.json config file will be migrated to the latest syntax...
2023-10-18 00:37:40|ArchiSteamFarm-17180|INFO|ASF|RegisterBot() Done!
2023-10-18 00:37:40|ArchiSteamFarm-17180|INFO|DraonFarmTest|Start() Starting...
2023-10-18 00:37:40|ArchiSteamFarm-17180|INFO|DraonFarmTest|Connect() Connecting...
2023-10-18 00:37:41|ArchiSteamFarm-17180|INFO|DraonFarmTest|Stop() Stopping...
2023-10-18 00:37:41|ArchiSteamFarm-17180|INFO|DraonFarmTest|Start() Starting...
2023-10-18 00:37:41|ArchiSteamFarm-17180|INFO|DraonFarmTest|OnConnected() Connected to Steam!
2023-10-18 00:37:41|ArchiSteamFarm-17180|INFO|DraonFarmTest|OnConnected() Logging in...
2023-10-18 00:37:59|ArchiSteamFarm-17180|INFO|DraonFarmTest|OnLoggedOn() Successfully logged on as Steam_ID/$Bot_Name.
2023-10-18 00:37:59|ArchiSteamFarm-17180|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-18 00:37:59|ArchiSteamFarm-17180|ERROR|ASF|Exit() Exiting with nonzero error code!
2023-10-18 00:37:59|ArchiSteamFarm-17180|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...
2023-10-18 00:37:59|ArchiSteamFarm-17180|INFO|DraonFarmTest|Stop() Stopping...
2023-10-18 00:37:59|ArchiSteamFarm-17180|INFO|DraonFarmTest|OnDisconnected() Disconnected from Steam!
mhxcAlfred commented 11 months ago

also in win X64

Bovive commented 11 months ago

Same on Docker version.

woctezuma commented 11 months ago

This started after the weekly maintenance an hour ago.

Killogy commented 11 months ago

Same here, Windows 11 pro x64.

android17 commented 11 months ago

Same issue, tried to re-run after Steam maintenance, Windows 11 Pro x64 / ArchiSteamFarm V5.4.10.3

2023-10-17 19:37:30|ArchiSteamFarm-26760|INFO|ASF|InitCore() ArchiSteamFarm V5.4.10.3 (win-x64/1854827c-69d5-4a90-9790-40027d1dcc51 | .NET 7.0.11; win10-x64; Microsoft Windows 10.0.22621)
2023-10-17 19:37:30|ArchiSteamFarm-26760|INFO|ASF|InitCore() Copyright © 2015-2023 JustArchiNET
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|InitPlugins() Initializing Plugins...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V5.4.10.3...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V5.4.10.3...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.4.10.3...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|Update() Checking for new version...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|Update() Local version: 5.4.10.3 | Remote version: 5.4.10.3
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|Load() Loading STD global cache...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|Load() Validating STD global cache integrity...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|OnASFInit() SteamTokenDumperPlugin has been initialized successfully, thank you in advance for your help. The first submission will happen in approximately 25 minutes from now.
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|Start() Starting IPC server...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|Microsoft.Hosting.Lifetime|Content root path: D:\_Portable\ArchiSteamFarm\ASF-win-x64
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|ASF|Start() IPC server ready!
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|LeoJr|Start() Starting...
2023-10-17 19:37:31|ArchiSteamFarm-26760|INFO|LeoJr|Connect() Connecting...
2023-10-17 19:37:32|ArchiSteamFarm-26760|INFO|LeoJr|OnConnected() Connected to Steam!
2023-10-17 19:37:32|ArchiSteamFarm-26760|INFO|LeoJr|OnConnected() Logging in...
2023-10-17 19:37:33|ArchiSteamFarm-26760|INFO|LeoJr|OnLoggedOn() Successfully logged on as 76561198045115677/leojrandroid17.
2023-10-17 19:37:33|ArchiSteamFarm-26760|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-17 19:37:33|ArchiSteamFarm-26760|ERROR|ASF|Exit() Exiting with nonzero error code!
2023-10-17 19:37:33|ArchiSteamFarm-26760|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...
2023-10-17 19:37:33|ArchiSteamFarm-26760|DEBUG|LeoJr|Refresh() There are no apps that require a refresh on this bot instance.
2023-10-17 19:37:33|ArchiSteamFarm-26760|INFO|LeoJr|Stop() Stopping...
2023-10-17 19:37:33|ArchiSteamFarm-26760|INFO|LeoJr|OnDisconnected() Disconnected from Steam!
MayhemBill commented 11 months ago

Getting issue on arm64 (pi 4, docker) so safe to assume something in the api has changed? It doesn't seem to be stuck to any specific architecture/OS.

Nastalgist commented 11 months ago

The same thing on Windows 10 X 64. Reinstalling and re-logging into accounts did not help.

JuanManuelAcunaParra commented 11 months ago

Same error on docker ARM

bilibili20001 commented 11 months ago

same on Win x64

7zx commented 11 months ago

I'm experiencing a similar situation on my Debian 12 server.

SanBest93 commented 11 months ago

2023-10-18 07:16:45|ArchiSteamFarm-36972|INFO|//one of 4 bots. different on every restart//|OnLoggedOn() Successfully logged on as //one of 4 bots. different on every restart// 2023-10-18 07:16:46|ArchiSteamFarm-36972|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce') at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode) at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback) at System.Threading.Tasks.Task.<>c.b__128_1(Object) at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() 2023-10-18 07:16:46|ArchiSteamFarm-36972|ERROR|ASF|Exit() Exiting with nonzero error code! 2023-10-18 07:16:46|ArchiSteamFarm-36972|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...

win 10 (1909), ASF: 5.4.10.3

zhouchengji commented 11 months ago

2023-10-18 09:06:10|ArchiSteamFarm-1280|ERROR|ASF|Exit() 正在以非 0 错误代码退出! 2023-10-18 09:06:10|ArchiSteamFarm-1280|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...

BY windows professor version x64 ASF:V5.4.10.3

K4r0qtuYNE5G4qgZ commented 11 months ago
2023-10-18 03:20:16|ArchiSteamFarm-189993|INFO|USER|OnLoggedOn() Successfully logged on as USER
2023-10-18 03:20:17|ArchiSteamFarm-189993|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be
 null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce,
String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-18 03:20:17|ArchiSteamFarm-189993|ERROR|ASF|Exit() Exiting with nonzero error code!
2023-10-18 03:20:17|ArchiSteamFarm-189993|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...

On Raspi4 aarch64 ASF: 5.4.10.3

Skymc7 commented 11 months ago

+1

eastliu commented 11 months ago

+1

geelinsir commented 11 months ago

I just had this problem too Windows 10 x64

beefjerky331 commented 11 months ago

Same problems with openwrt system Docker (Armv8(Arm64) Linux)

[10:14:53] FATAL ASF > OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce') at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode) at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback) at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext, Action`1, TState& ) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() [10:14:53] ERROR ASF > Exit() 正在以非 0 错误代码退出! [10:14:53] INFO Microsoft.Hosting.Lifetime > Application is shutting down...

Mrkelo commented 11 months ago

Same Issus in Debian 11 X86 system 2023-10-18 02:21:24|ArchiSteamFarm-950|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce') at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode) at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback) at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() 2023-10-18 02:21:24|ArchiSteamFarm-950|ERROR|ASF|Exit() Exiting with nonzero error code! 2023-10-18 02:21:24|ArchiSteamFarm-950|INFO|Microsoft.Hosting.Lifetime|Application is shutting down... Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce') at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode) at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback) at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() Aborted

AllureLove98 commented 11 months ago

+1

chr233 commented 11 months ago

Tested ASF 5.4.0.3 to ASF 5.4.10.3, all have the same issue

DJTOMATO commented 11 months ago

Confirm issue ArchiSteamFarm V5.4.10.3 (linux-arm64| .NET 7.0.11; debian.11-arm64; Linux 6.1.21-v8+

Mustenaka commented 11 months ago

Same on my mac(arm64, m1 pro):

2023-10-18 10:46:28|ArchiSteamFarm-19283|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-18 10:46:28|ArchiSteamFarm-19283|ERROR|ASF|Exit() 正在以非 0 错误代码退出!
2023-10-18 10:46:28|ArchiSteamFarm-19283|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
[1]    19283 abort      ./ArchiSteamFarm

Maybe some API change but u still use it?

sk33ny commented 11 months ago

Also happening on Linux x64 (Ubuntu 22.04.3 LTS)

2023-10-17 19:47:32|ArchiSteamFarm-19432|FATAL|ASF|OnUnhandledException() System.ArgumentNullException: Value cannot be null. (Parameter 'webAPIUserNonce')
   at ArchiSteamFarm.Steam.Integration.ArchiWebHandler.Init(UInt64 steamID, EUniverse universe, String webAPIUserNonce, String parentalCode)
   at ArchiSteamFarm.Steam.Bot.OnLoggedOn(LoggedOnCallback callback)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2023-10-17 19:47:32|ArchiSteamFarm-19432|ERROR|ASF|Exit() Exiting with nonzero error code!
st21a1 commented 11 months ago

same in osx-x64

LeaLangley commented 11 months ago

+1

floriegl commented 11 months ago

Also confirmed on V5.4.10.3 and V5.4.11.2 on raspberrypi 5.10.103-v7+ armv7l GNU/Linux with Raspbian GNU/Linux 10 (buster). I assume Steam changed something during their Tuesday maintenance window.

regunakyle commented 11 months ago

I can confirm this (I am using the Docker version). Funny that Synology sent me 100+ emails telling me the container was down and constantly restarting, lol

blue-codes-yep commented 11 months ago

Okay yeah same issue on W11 x64 as everyone else just making sure it was an everybody issue, GL devs hope its nothing major.

Parazit00 commented 11 months ago

I also have this problem on W10 x64 hope it's nothing serious.

overnightcola commented 11 months ago

same error on x64 ubuntu docker

zynowhere commented 11 months ago

same on linux amd64

chr233 commented 11 months ago

image

Just skip the null check here, and it works

wyfang commented 11 months ago

Same. Centos docker: WiFi- 2023-10-18 at 14 11 39@2x

hnatyuk commented 11 months ago

Same!! mac(arm64) V5.4.10.3 and [V5.4.11.2]

swoleasf commented 11 months ago

+1

Lmfao I thought I was going crazy....... I was googling keywords for the past hour or so and reading so many articles.

Tried so many different things to fix it, did some trial and error using multiple new vps iterations... new accounts, new configs, new releases... and I'm an idiot because only THEN did I decide I'd go look in the issues section. doy

ezeholz commented 11 months ago

This seems to be a general issue regardless the SO nor the version of the program. Let's try to keep this issue as clean as possible by posting only useful information.

Devs might be already working on a solution, don't panic.

If you need to follow this issue, there's a Subscribe button on the right panel (If you're on web), or in the three dots menu (on Mobile)

ievgen-klymenko-uvoteam commented 11 months ago

where fix ?? do fast

jyh9521 commented 11 months ago

QQ截图20231018160921 Same problem with unraid docker.

ZanaGB commented 11 months ago

I think by now we have enough information to prove something happened after yesterday's maintenance window, and it's not a problem with the operating system or architecture. And we do have a band-aid fix. Since this seems to be related to the Web API component of the handler. Beyond assuming the main developer(s) are on the case, how could we validate against the Steam API? stuff like SteamDB and ProtonDB must have failed in similar ways now, or in the past, surely.

JustArchi commented 11 months ago

After today's maintenance, Steam stopped sending web token nonce - something that is required for establishing web session and making ASF work. Fortunately we can ask for that token regardless whether or not it arrives in the callback, which is what my fix above actually does, fixing the underlying issue.

Fixed in V5.4.11.3, which will be released and promoted to stable shortly. Since this crash happens after bots are being started, and update procedure normally happens before bots initialization, launching old version will suffice the moment new release is available.

Thanks for report and details! :+1:

jacobs100500 commented 11 months ago

After today's maintenance, Steam stopped sending web token nonce - something that is required for establishing web session and making ASF work. Fortunately we can ask for that token regardless whether or not it arrives in the callback, which is what my fix above actually does, fixing the underlying issue.

Fixed in V5.4.11.3, which will be released and promoted to stable shortly. Since this crash happens after bots are being started, and update procedure normally happens before bots initialization, launching old version will suffice the moment new release is available.

Thanks for report and details! 👍

Bot does not send exchanges when receiving a new web token nonce. Error 401 (unauthorized) pops up, although some actions work with this authorization. To get an authorization session without a web token nonce, you need to do authorization like here, and get the "steamLoginSecure" cookie this way: authSession.SteamID.ConvertToUInt64() + "%7C%7C" + pollResponse.AccessToken

ievgen-klymenko-uvoteam commented 11 months ago

Fixed in V5.4.11.3, which will be re

push now ppl wait

JustArchi commented 11 months ago

After today's maintenance, Steam stopped sending web token nonce - something that is required for establishing web session and making ASF work. Fortunately we can ask for that token regardless whether or not it arrives in the callback, which is what my fix above actually does, fixing the underlying issue. Fixed in V5.4.11.3, which will be released and promoted to stable shortly. Since this crash happens after bots are being started, and update procedure normally happens before bots initialization, launching old version will suffice the moment new release is available. Thanks for report and details! 👍

Bot does not send exchanges when receiving a new web token nonce. Error 401 (unauthorized) pops up, although some actions work with this authorization. To get an authorization session without a web token nonce, you need to do authorization like here, and get the "steamLoginSecure" cookie this way: authSession.SteamID.ConvertToUInt64() + "%7C%7C" + pollResponse.AccessToken

Works fine for me, nothing like that is required. I don't know what you're using, but if official release and not some hotfixed by other people than me then open new issue with log and all required details, this issue is done with.

DamianZyngier commented 11 months ago

It seems to be fixed in 5.4.11.4: https://github.com/JustArchiNET/ArchiSteamFarm/releases/tag/5.4.11.4

Thank you ASF team and contributors for a quick support.

K4r0qtuYNE5G4qgZ commented 11 months ago

Thanks for the quick release of v5.4.11.4 It did just update and fix itself.

Michounet commented 10 months ago

Similar problem but different error message and ASF totally died on it. It seems related to RefreshWebSession, as it happened when ASF was doing the routine check of new badges available. Could be something semi-random, since it had been running two days without a single problem.

2023-10-21 20:04:22|ArchiSteamFarm-142604|INFO|OneBot|Init() Success! 2023-10-21 20:05:04|ArchiSteamFarm-142604|INFO|AnotherBot() Success! 2023-10-21 20:05:04|ArchiSteamFarm-142604|FATAL|ASF|OnUnhandledException() System.InvalidOperationException: Nullable object must have a value. at ArchiSteamFarm.Steam.Bot.RefreshWebSession(Boolean force) at ArchiSteamFarm.Steam.Bot.OnRefreshTokensTimer(Object state) at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() 2023-10-21 20:05:04|ArchiSteamFarm-142604|ERROR|ASF|Exit() Exiting with nonzero error code! 2023-10-21 20:05:04|ArchiSteamFarm-142604|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...