Skip to content
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

Fetching badge page fails even while using risky method #3043

Closed
7 tasks done
KillerCatLion opened this issue Oct 19, 2023 · 11 comments · Fixed by #3044
Closed
7 tasks done

Fetching badge page fails even while using risky method #3043

KillerCatLion opened this issue Oct 19, 2023 · 11 comments · Fixed by #3044
Labels
🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 🔴 High priority Issues marked with this label indicate the most serious problems, especially security-related.

Comments

@KillerCatLion
Copy link

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

2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitCore() ArchiSteamFarm V5.4.11.4 (win-x64/be9aa393-489d-40db-9293-dfe7d1003d8b | .NET 7.0.12; win10-x64; Microsoft Windows 10.0.19045)
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitCore() Copyright © 2015-2023 JustArchiNET
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitPlugins() Initializing Plugins...
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V5.4.11.4...
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V5.4.11.4...
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.4.11.4...
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2023-10-18 23:58:53|ArchiSteamFarm-18816|INFO|ASF|Update() Checking for new version...
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|ASF|Update() Local version: 5.4.11.4 | Remote version: 5.4.11.4
2023-10-18 23:58:54|ArchiSteamFarm-18816|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 23:58:54|ArchiSteamFarm-18816|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|ASF|Start() Starting IPC server...
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|Microsoft.Hosting.Lifetime|Content root path: C:\Users\root\Desktop\ASF
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|ASF|Start() IPC server ready!
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|Alexa|Start() Starting...
2023-10-18 23:58:54|ArchiSteamFarm-18816|INFO|Alexa|Connect() Connecting...
2023-10-18 23:58:55|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Connected to Steam!
2023-10-18 23:58:55|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Logging in...
2023-10-18 23:58:55|ArchiSteamFarm-18816|INFO|Alexa|OnLoggedOn() Successfully logged on as 76561199068792860/cawwo.
2023-10-18 23:59:00|ArchiSteamFarm-18816|INFO|Alexa|IsAnythingToFarm() Checking first badge page...
2023-10-18 23:59:56|ArchiSteamFarm-18816|WARN|Alexa|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-18 23:59:56|ArchiSteamFarm-18816|INFO|Alexa|Connect() Connecting...
2023-10-18 23:59:56|ArchiSteamFarm-18816|INFO|Alexa|OnDisconnected() Disconnected from Steam!
2023-10-18 23:59:56|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-18 23:59:56|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
2023-10-18 23:59:56|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarm() Could not get badges' information, we will try again later!
2023-10-18 23:59:56|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-18 23:59:56|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/tradingcards/boostercreator
2023-10-18 23:59:56|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-18 23:59:56|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/ajaxgetboostereligibility
2023-10-18 23:59:56|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarmRisky() Could not get badges' information, we will try again later!
2023-10-18 23:59:56|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Connected to Steam!
2023-10-18 23:59:56|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Logging in...
2023-10-18 23:59:57|ArchiSteamFarm-18816|INFO|Alexa|OnLoggedOn() Successfully logged on as 76561199068792860/cawwo.
2023-10-19 00:00:02|ArchiSteamFarm-18816|INFO|Alexa|IsAnythingToFarm() Checking first badge page...
2023-10-19 00:00:57|ArchiSteamFarm-18816|WARN|Alexa|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 00:00:57|ArchiSteamFarm-18816|INFO|Alexa|Connect() Connecting...
2023-10-19 00:00:57|ArchiSteamFarm-18816|INFO|Alexa|OnDisconnected() Disconnected from Steam!
2023-10-19 00:00:57|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:00:57|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
2023-10-19 00:00:57|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarm() Could not get badges' information, we will try again later!
2023-10-19 00:00:57|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:00:57|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/tradingcards/boostercreator
2023-10-19 00:00:57|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:00:57|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/ajaxgetboostereligibility
2023-10-19 00:00:57|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarmRisky() Could not get badges' information, we will try again later!
2023-10-19 00:00:58|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Connected to Steam!
2023-10-19 00:00:58|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Logging in...
2023-10-19 00:00:58|ArchiSteamFarm-18816|INFO|Alexa|OnLoggedOn() Successfully logged on as 76561199068792860/cawwo.
2023-10-19 00:01:03|ArchiSteamFarm-18816|INFO|Alexa|IsAnythingToFarm() Checking first badge page...
2023-10-19 00:01:59|ArchiSteamFarm-18816|WARN|Alexa|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 00:01:59|ArchiSteamFarm-18816|INFO|Alexa|Connect() Connecting...
2023-10-19 00:01:59|ArchiSteamFarm-18816|INFO|Alexa|OnDisconnected() Disconnected from Steam!
2023-10-19 00:01:59|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:01:59|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
2023-10-19 00:01:59|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarm() Could not get badges' information, we will try again later!
2023-10-19 00:01:59|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:01:59|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/tradingcards/boostercreator
2023-10-19 00:01:59|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:01:59|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/ajaxgetboostereligibility
2023-10-19 00:01:59|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarmRisky() Could not get badges' information, we will try again later!
2023-10-19 00:01:59|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Connected to Steam!
2023-10-19 00:01:59|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Logging in...
2023-10-19 00:02:00|ArchiSteamFarm-18816|INFO|Alexa|OnLoggedOn() Successfully logged on as 76561199068792860/cawwo.
2023-10-19 00:02:05|ArchiSteamFarm-18816|INFO|Alexa|IsAnythingToFarm() Checking first badge page...
2023-10-19 00:03:00|ArchiSteamFarm-18816|WARN|Alexa|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 00:03:00|ArchiSteamFarm-18816|INFO|Alexa|Connect() Connecting...
2023-10-19 00:03:00|ArchiSteamFarm-18816|INFO|Alexa|OnDisconnected() Disconnected from Steam!
2023-10-19 00:03:00|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:03:00|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
2023-10-19 00:03:00|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarm() Could not get badges' information, we will try again later!
2023-10-19 00:03:00|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:03:00|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/tradingcards/boostercreator
2023-10-19 00:03:00|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:03:00|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/ajaxgetboostereligibility
2023-10-19 00:03:00|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarmRisky() Could not get badges' information, we will try again later!
2023-10-19 00:03:00|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Connected to Steam!
2023-10-19 00:03:00|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Logging in...
2023-10-19 00:03:01|ArchiSteamFarm-18816|INFO|Alexa|OnLoggedOn() Successfully logged on as 76561199068792860/cawwo.
2023-10-19 00:03:06|ArchiSteamFarm-18816|INFO|Alexa|IsAnythingToFarm() Checking first badge page...
2023-10-19 00:04:01|ArchiSteamFarm-18816|WARN|Alexa|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 00:04:01|ArchiSteamFarm-18816|INFO|Alexa|Connect() Connecting...
2023-10-19 00:04:01|ArchiSteamFarm-18816|INFO|Alexa|OnDisconnected() Disconnected from Steam!
2023-10-19 00:04:02|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:04:02|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
2023-10-19 00:04:02|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarm() Could not get badges' information, we will try again later!
2023-10-19 00:04:02|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:04:02|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/tradingcards/boostercreator
2023-10-19 00:04:02|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:04:02|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/ajaxgetboostereligibility
2023-10-19 00:04:02|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarmRisky() Could not get badges' information, we will try again later!
2023-10-19 00:04:02|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Connected to Steam!
2023-10-19 00:04:02|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Logging in...
2023-10-19 00:04:02|ArchiSteamFarm-18816|INFO|Alexa|OnLoggedOn() Successfully logged on as 76561199068792860/cawwo.
2023-10-19 00:04:08|ArchiSteamFarm-18816|INFO|Alexa|IsAnythingToFarm() Checking first badge page...
2023-10-19 00:05:03|ArchiSteamFarm-18816|WARN|Alexa|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 00:05:03|ArchiSteamFarm-18816|INFO|Alexa|Connect() Connecting...
2023-10-19 00:05:03|ArchiSteamFarm-18816|INFO|Alexa|OnDisconnected() Disconnected from Steam!
2023-10-19 00:05:03|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:05:03|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/badges?l=english&p=1
2023-10-19 00:05:03|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarm() Could not get badges' information, we will try again later!
2023-10-19 00:05:03|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:05:03|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/tradingcards/boostercreator
2023-10-19 00:05:03|ArchiSteamFarm-18816|WARN|Alexa|UrlGetToHtmlDocumentWithSession() Failed!
2023-10-19 00:05:03|ArchiSteamFarm-18816|DEBUG|Alexa|UrlGetToHtmlDocumentWithSession() Request failing: https://steamcommunity.com/my/ajaxgetboostereligibility
2023-10-19 00:05:03|ArchiSteamFarm-18816|WARN|Alexa|IsAnythingToFarmRisky() Could not get badges' information, we will try again later!
2023-10-19 00:05:03|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Connected to Steam!
2023-10-19 00:05:03|ArchiSteamFarm-18816|INFO|Alexa|OnConnected() Logging in...
2023-10-19 00:05:04|ArchiSteamFarm-18816|INFO|Alexa|OnLoggedOn() Successfully logged on as 76561199068792860/cawwo.
2023-10-19 00:05:09|ArchiSteamFarm-18816|INFO|Alexa|IsAnythingToFarm() Checking first badge page...
2023-10-19 00:05:10|ArchiSteamFarm-18816|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...

Global ASF.json config file

N/A

BotName.json config of all affected bot instances

N/A

Additional info

No response

@KillerCatLion KillerCatLion added 🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. 👀 Evaluation Issues marked with this label are currently being evaluated if they're going to be considered. labels Oct 19, 2023
@Left024
Copy link

Left024 commented Oct 19, 2023

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

@AquaMT
Copy link

AquaMT commented Oct 19, 2023

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()

@aruedas
Copy link

aruedas commented Oct 19, 2023

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.

@swoleasf
Copy link

here we go again

@woctezuma
Copy link

woctezuma commented Oct 19, 2023

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:

@DamianZyngier
Copy link

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.

@darioq303
Copy link

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?

@JustArchi JustArchi added ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 🟡 Medium priority Issues marked with this label have a priority, unless there is something even more important. and removed 👀 Evaluation Issues marked with this label are currently being evaluated if they're going to be considered. labels Oct 19, 2023
@JustArchi
Copy link
Member

JustArchi commented Oct 19, 2023

Looks like #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.

@JustArchi JustArchi added 🔴 High priority Issues marked with this label indicate the most serious problems, especially security-related. and removed 🟡 Medium priority Issues marked with this label have a priority, unless there is something even more important. labels Oct 19, 2023
JustArchi added a commit that referenced this issue Oct 19, 2023
* Implement support for access tokens

A bit more work and testing is needed

* Make ValidUntil computed, fix netf, among others

* netf fixes as always

* Allow AWH to forcefully refresh session

* Unify access token lifetime
@JustArchi
Copy link
Member

JustArchi commented Oct 19, 2023

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.

@JustArchi
Copy link
Member

Also big thanks to all the people that sent me extra donations for pizzas and energy drinks across those last two days, much appreciated 🙂

@woctezuma
Copy link

Thank you! Just in time to !addlicense ASF 949992. 😎 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 🔴 High priority Issues marked with this label indicate the most serious problems, especially security-related.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants