-
Notifications
You must be signed in to change notification settings - Fork 523
Open
Labels
Description
What did you expect to happen?
When you call GetAuthSessionTicket multiple times, it should work every time
Instead of that, what actually happened?
After the steam downtime this week, GetAuthSessionTicket times out when you call it a 2nd time for the same appid. If you switch to another appid for the 2nd call, it will have a crc error. I tried removing TicketChangeLock and it still happens.
It was working prior to this.
Which operating system are you running on?
Linux and windows tested
Which .NET Runtime are you running on?
.NET Framework
Version
8.0
Relevant log output
Example Code
static async void OnLoggedOn(SteamUser.LoggedOnCallback callback)
{
if (callback.Result != EResult.OK)
{
Program.Log("Unable to logon to Steam: {0} / {1}", callback.Result, callback.ExtendedResult);
if (callback.Result == EResult.AccountLogonDenied)
{
Environment.Exit(-1);
return;
}
if (callback.Result == EResult.RateLimitExceeded)
{
await Task.Delay(60 * 1000);
}
// OnDisconnected should fire
return;
}
Program.Log("Logged on Steam");
var ticketTask = ticketManager.GetAuthSessionTicket(2923300);
if (await Task.WhenAny(ticketTask, Task.Delay(10 * 1000)) != ticketTask)
{
throw new TimeoutException("GetAuthSessionTicket Timeout");
}
Program.Log("ticket", ticketTask.Result.Ticket);
ticketTask = ticketManager.GetAuthSessionTicket(2923300);
if (await Task.WhenAny(ticketTask, Task.Delay(10 * 1000)) != ticketTask)
{
throw new TimeoutException("GetAuthSessionTicket Timeout");
}
Program.Log("ticket", ticketTask.Result.Ticket);
}