steam-lancache-prefill: Timeout connecting to Steam network

It’s been working fine for months but all of a sudden it stop being able to connect to steam. Every 4 hours I had a script run ./SteamPrefill prefill just to keep everything up to date.

I’m not sure if I’m updating to frequently and steam has limited me or if something else it going on here.

[10:28:04 AM] Already disconnected from Steam
SteamPrefill.Models.Exceptions.SteamConnectionException: Timeout connecting to Steam...  Try again in a few moments
  at void SteamPrefill.Handlers.Steam.Steam3Session.ConnectToSteam()
  at void SteamPrefill.Handlers.Steam.Steam3Session.<>c__DisplayClass16_0.<<LoginToSteamAsync>b__0>d.MoveNext()
  at void Spectre.Console.Status.<>c__DisplayClass16_0.<<StartAsync>b__0>d.MoveNext() in Status.cs:79
  at void Spectre.Console.Status.<>c__DisplayClass17_0`1.<<StartAsync>b__0>d.MoveNext() in Status.cs:120
  at void Spectre.Console.Progress.<>c__DisplayClass28_0`1.<<StartAsync>b__0>d.MoveNext() in Progress.cs:133
  at async Task<T> Spectre.Console.Internal.DefaultExclusivityMode.RunAsync<T>(Func<Task<T>> func) in
     DefaultExclusivityMode.cs:40
  at async Task<T> Spectre.Console.Progress.StartAsync<T>(Func<ProgressContext, Task<T>> action) in Progress.cs:116
  at async Task<T> Spectre.Console.Status.StartAsync<T>(string status, Func<StatusContext, Task<T>> func) in Status.cs:
     117
  at async Task Spectre.Console.Status.StartAsync(string status, Func<StatusContext, Task> action) in Status.cs:77
  at async Task SteamPrefill.Handlers.Steam.Steam3Session.LoginToSteamAsync()
  at async Task SteamPrefill.SteamManager.InitializeAsync()
  at async ValueTask SteamPrefill.CliCommands.SelectAppsCommand.ExecuteAsync(IConsole console)
  at async ValueTask<int> CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput)
     in CliApplication.cs:148
  at async ValueTask<int> CliFx.CliApplication.RunAsync(IReadOnlyList<string> commandLineArguments,
     IReadOnlyDictionary<string, string> environmentVariables) in CliApplication.cs:190
  at async ValueTask<int> CliFx.CliApplication.RunAsync(IReadOnlyList<string> commandLineArguments) in CliApplication.cs
     :202
  at async Task<int> SteamPrefill.Program.Main()

app.log

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 38 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Thank you for your passionate work!

I pushed up a test build for everyone to try. You can download it at the bottom of this page when you are logged into Github : https://github.com/tpill90/steam-lancache-prefill/actions/runs/11389097563

When testing this build, please run the following commands:

.\SteamPrefill clear-temp -y
.\SteamPrefill prefill

Since there are a lot of people following this thread and it is likely to generate a lot of replies that could cause messages to get lost in the volume, I would please ask you to report whether or not the build worked for you using emojis. Please use 👍 if SteamPrefill was able to connect and function as normal, otherwise use 👎 .

I’ve pushed up a new version that should include the fix v2.9.0

I’m going to leave this issue open for now so that it can keep tracking whether the new build is working as intended or not.

It appears that the Steam network is no longer allowing WebSocket connections in multiple regions. So far some of the affected regions that I’m aware of are :

Failing regions Regions that can connect
Cell Id Short City
1 ord Chicago
4 lhr London
5 fra Frankfurt
15 ams Amsterdam
31 sea Seattle
33 hkg Hong Kong
50 atl Atlanta
63 iad Washington, DC
64 lax Los Angeles
65 dfw Dallas Fort-Worth
92 vie Vienna
Cell Id Short City
14 par Paris
25 gru Sao Paulo
32 tyo Japan
35 sgp Singapore
38 waw Poland
40 mad Madrid
52 syd Sydney
66 sto Stockholm

Thank you for the report! Re-opening.

As a temporary workaround for anyone experiencing this, try appending --cellid 66 to any SteamPrefill commands you are running. So for example to prefill use ./SteamPrefill prefill --cellid 66 or to select apps ./SteamPrefill select-apps --cellid 66