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

Fetching badge page fails even while using risky method #3043

Closed KillerCatLion closed 11 months ago

KillerCatLion commented 11 months ago

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

Left024 commented 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
AquaMT commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

here we go again

woctezuma commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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.

JustArchi commented 11 months ago

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 commented 11 months ago

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:

woctezuma commented 11 months ago

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