Closed KillerCatLion closed 11 months ago
Same issue
When set FarmPriorityQueueOnly
as true
, it will login and login but not really login
2023-10-19 12:30:46|dotnet-624104|INFO|ASF|Start() IPC 服务已就绪!
2023-10-19 12:30:46|dotnet-624104|INFO|bot|Start() 正在启动……
2023-10-19 12:30:46|dotnet-624104|INFO|bot|Connect() 正在连接……
2023-10-19 12:30:47|dotnet-624104|INFO|bot|OnConnected() 已连接到 Steam!
2023-10-19 12:30:47|dotnet-624104|INFO|bot|OnConnected() 登录中……
2023-10-19 12:30:47|dotnet-624104|INFO|bot|OnLoggedOn() 成功以 76561198320394747/left024 的身份登录。
2023-10-19 12:30:53|dotnet-624104|INFO|bot|StartFarming() 该帐户已经无卡可挂!
2023-10-19 12:30:55|dotnet-624104|INFO|bot|ResetGamesPlayed() 正在运行 GamesPlayedWhileIdle 所选:313340
2023-10-19 12:31:48|dotnet-624104|WARN|bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 12:31:48|dotnet-624104|INFO|bot|Connect() 正在连接……
2023-10-19 12:31:48|dotnet-624104|INFO|bot|OnDisconnected() 已从 Steam 断开连接!
2023-10-19 12:31:48|dotnet-624104|INFO|bot|OnConnected() 已连接到 Steam!
2023-10-19 12:31:48|dotnet-624104|INFO|bot|OnConnected() 登录中……
2023-10-19 12:31:49|dotnet-624104|INFO|bot|OnLoggedOn() 成功以 76561198320394747/left024 的身份登录。
2023-10-19 12:31:54|dotnet-624104|INFO|bot|StartFarming() 该帐户已经无卡可挂!
2023-10-19 12:31:56|dotnet-624104|INFO|bot|ResetGamesPlayed() 正在运行 GamesPlayedWhileIdle 所选:313340
2023-10-19 12:32:49|dotnet-624104|WARN|bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 12:32:49|dotnet-624104|INFO|bot|Connect() 正在连接……
2023-10-19 12:32:49|dotnet-624104|INFO|bot|OnDisconnected() 已从 Steam 断开连接!
2023-10-19 12:32:50|dotnet-624104|INFO|bot|OnConnected() 已连接到 Steam!
2023-10-19 12:32:50|dotnet-624104|INFO|bot|OnConnected() 登录中……
2023-10-19 12:32:50|dotnet-624104|INFO|bot|OnLoggedOn() 成功以 76561198320394747/left024 的身份登录。
2023-10-19 12:32:55|dotnet-624104|INFO|bot|StartFarming() 该帐户已经无卡可挂!
2023-10-19 12:32:57|dotnet-624104|INFO|bot|ResetGamesPlayed() 正在运行 GamesPlayedWhileIdle 所选:313340
2023-10-19 12:33:51|dotnet-624104|WARN|bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 12:33:51|dotnet-624104|INFO|bot|Connect() 正在连接……
2023-10-19 12:33:51|dotnet-624104|INFO|bot|OnDisconnected() 已从 Steam 断开连接!
2023-10-19 12:33:51|dotnet-624104|INFO|bot|OnConnected() 已连接到 Steam!
2023-10-19 12:33:51|dotnet-624104|INFO|bot|OnConnected() 登录中……
2023-10-19 12:33:52|dotnet-624104|INFO|bot|OnLoggedOn() 成功以 76561198320394747/left024 的身份登录。
2023-10-19 12:33:57|dotnet-624104|INFO|bot|StartFarming() 该帐户已经无卡可挂!
2023-10-19 12:33:59|dotnet-624104|INFO|bot|ResetGamesPlayed() 正在运行 GamesPlayedWhileIdle 所选:313340
same problem on my Openwrt Docker (Version 24.0.5) and two x64 Windows10 PCs
my asf set Paused
as true
(no fetch badge page)
log
2023-10-19 12:35:57|ArchiSteamFarm-19264|WARN|test|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled. at ArchiSteamFarm.Steam.Bot.RefreshSession() 2023-10-19 12:35:57|ArchiSteamFarm-19264|INFO|test|Connect() Connecting... 2023-10-19 12:35:57|ArchiSteamFarm-19264|INFO|test|OnDisconnected() Disconnected from Steam! 2023-10-19 12:35:57|ArchiSteamFarm-19264|INFO|test|OnConnected() Connected to Steam! 2023-10-19 12:35:57|ArchiSteamFarm-19264|INFO|test|OnConnected() Logging in... 2023-10-19 12:35:58|ArchiSteamFarm-19264|INFO|test|OnLoggedOn() Successfully logged on as 76561198824860690/AquaAquaA_KU_A. 2023-10-19 12:36:58|ArchiSteamFarm-19264|WARN|test|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled. at ArchiSteamFarm.Steam.Bot.RefreshSession() 2023-10-19 12:36:58|ArchiSteamFarm-19264|INFO|test|Connect() Connecting... 2023-10-19 12:36:58|ArchiSteamFarm-19264|INFO|test|OnDisconnected() Disconnected from Steam! 2023-10-19 12:36:59|ArchiSteamFarm-19264|INFO|test|OnConnected() Connected to Steam! 2023-10-19 12:36:59|ArchiSteamFarm-19264|INFO|test|OnConnected() Logging in... 2023-10-19 12:36:59|ArchiSteamFarm-19264|INFO|test|OnLoggedOn() Successfully logged on as 76561198824860690/AquaAquaA_KU_A. 2023-10-19 12:38:00|ArchiSteamFarm-19264|WARN|test|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled. at ArchiSteamFarm.Steam.Bot.RefreshSession()
Debug log
2023-10-19 11:42:12|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | <- Recv'd EMsg: ClientPersonaState (766) 2023-10-19 11:42:12|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | <- Recv'd EMsg: ClientPersonaState (766) 2023-10-19 11:42:12|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | <- Recv'd EMsg: ClientPersonaState (766) 2023-10-19 11:42:12|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | <- Recv'd EMsg: ClientPersonaState (766) 2023-10-19 11:42:12|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | <- Recv'd EMsg: ClientPersonaState (766) 2023-10-19 11:42:12|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | <- Recv'd EMsg: ClientPersonaState (766) 2023-10-19 11:42:16|ArchiSteamFarm-16772|TRACE|test|OnLicenseList() Refreshing packages data... 2023-10-19 11:42:16|ArchiSteamFarm-16772|TRACE|test|OnLicenseList() Done! 2023-10-19 11:42:20|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | Sent -> EMsg: ClientHeartBeat (703) 2023-10-19 11:42:29|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | Sent -> EMsg: ClientHeartBeat (703) 2023-10-19 11:42:38|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | Sent -> EMsg: ClientHeartBeat (703) 2023-10-19 11:42:47|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | Sent -> EMsg: ClientHeartBeat (703) 2023-10-19 11:42:56|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | Sent -> EMsg: ClientHeartBeat (703) 2023-10-19 11:43:05|ArchiSteamFarm-16772|DEBUG|ASF|WriteLine() test/NetHook | Sent -> EMsg: ClientHeartBeat (703) 2023-10-19 11:43:12|ArchiSteamFarm-16772|WARN|test|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled. at ArchiSteamFarm.Steam.Bot.RefreshSession()
same issue here. LOG
[22:49:40] INFO Microsoft.Hosting.Lifetime > Now listening on: http://localhost:1242
[22:49:40] INFO Microsoft.Hosting.Lifetime > Application started. Press Ctrl+C to shut down.
[22:49:40] INFO Microsoft.Hosting.Lifetime > Hosting environment: Production
[22:49:40] INFO Microsoft.Hosting.Lifetime > Content root path: C:\apps\asf
[22:49:40] INFO ASF > Start() IPC server ready!
[22:49:40] INFO bot > Start() Starting...
[22:49:40] INFO bot > Connect() Connecting...
[22:49:40] WARN ASF > Load() Your Steam password for 'bot' seems to be weak. Consider choosing a stronger one for increased security. Details: Add another word or two. Uncommon words are better.
[22:49:45] INFO bot > OnDisconnected() Disconnected from Steam!
[22:49:51] INFO bot > OnDisconnected() Reconnecting...
[22:49:51] INFO bot > Connect() Connecting...
[22:49:52] INFO bot > OnConnected() Connected to Steam!
[22:49:52] INFO bot > OnConnected() Logging in...
[22:49:52] INFO bot > OnLoggedOn() Successfully logged on as .
[22:49:57] INFO bot > IsAnythingToFarm() Checking first badge page...
[22:50:53] WARN bot > RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled. at ArchiSteamFarm.Steam.Bot.RefreshSession()
[22:50:53] INFO bot > Connect() Connecting...
[22:50:53] INFO bot > OnDisconnected() Disconnected from Steam!
[22:50:53] INFO bot > OnConnected() Connected to Steam!
[22:50:53] INFO bot > OnConnected() Logging in...
[22:50:53] INFO bot > OnLoggedOn() Successfully logged on as .
[22:51:28] WARN bot > UrlGetToHtmlDocumentWithSession() Failed!
[22:51:28] DEBUG bot > UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
[22:51:28] WARN bot > IsAnythingToFarm() Could not get badges' information, we will try again later!
[22:51:28] INFO bot > IsAnythingToFarm() Checking first badge page...
[22:51:54] WARN bot > RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled. at ArchiSteamFarm.Steam.Bot.RefreshSession()
[22:51:54] INFO bot > Connect() Connecting...
[22:51:54] INFO bot > OnDisconnected() Disconnected from Steam!
[22:51:54] WARN bot > UrlGetToHtmlDocumentWithSession() Failed!
[22:51:54] DEBUG bot > UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
[22:51:54] WARN bot > IsAnythingToFarm() Could not get badges' information, we will try again later!
[22:51:54] INFO bot > OnConnected() Connected to Steam!
[22:51:54] INFO bot > OnConnected() Logging in...
[22:51:54] INFO bot > OnLoggedOn() Successfully logged on as .
[22:51:59] INFO bot > IsAnythingToFarm() Checking first badge page...
EnableRiskyCardsDiscovery does not fix this issue either.
here we go again
Ditto, but I am not using the risky method as far as I know: it is the exact same ASF config as yesterday before the patch of:
Issue happens to me also freshly started 5.4.11.4 (default config). I did not find and workaround yet with any settings - not sure if this is related to risky method.
GetConfirmations() Failed! Unable to confirm sale of item. In addition i have to the problem with badge, confirmations have stopped working in the current version of the program. Although yesterday, immediately after the release of the 5.4.11.4 fix, they were still working. Anyone else have this problem?
Looks like https://github.com/JustArchiNET/ArchiSteamFarm/issues/3037 happened earlier than I expected: Valve completely killed session mechanism that ASF used and we need to rewrite everything we have in regards to establishing a web session - this can take some time.
Yes, that's second breaking chnage they did in the last 48 hours.
I'm working on it.
ASF V5.4.12.1 has fix for this issue and web session works again. I've scheduled a release, plan is for brief (15 minutes) pre-release just to make sure it works at all, and then a stable release.
Also big thanks to all the people that sent me extra donations for pizzas and energy drinks across those last two days, much appreciated :slightly_smiling_face:
Thank you! Just in time to !addlicense ASF 949992
. 😎 👍
Checklist
ASF version
Latest stable release
ASF variant
win-x64
Bug description
I had ASF running for many hours using my patched version for #3029, decided to update to the official latest release and now neither of them work, requests for badge pages fail with status 400 Bad Request.
I've tried on all 3 of my devices, with clean new installs, issue persists. I've waited some time, doesn't appear to be a steam issue because I can manually view the badges page aswell as the 2 pages ASF requests with the risky method. EnableRiskyCardsDiscovery does not fix this issue either.
Others seem to have the same issue #3042
Expected behavior
ASF should request badge page, parse it and determine what games to farm.
Actual behavior
ASF fails to fetch the badge page, resulting in an endless loop of logging in and out.
Steps to reproduce
Start ASF with one config, default settings including OR excluding EnableRiskyCardsDiscovery.
Possible reason/solution
Maybe steam changed something required in the get request?
Can you help us with this bug report?
Yes, I can code the solution myself and send a pull request
Full log.txt recorded during reproducing the problem
Global ASF.json config file
BotName.json config of all affected bot instances
Additional info
No response