Stack Trace
System.AggregateException: One or more errors occurred. ---> System.FormatException: Bad steamID64 at RandomTF2Loadout.Steam_Interface.SteamInventory.GetInventory(String steamID64) at RandomTF2Loadout.WebServer.Session.updateInventoryThread() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at RandomTF2Loadout.Program.WaitForItemPull(Session sesh) at RandomTF2Loadout.Program.HttpFunction(HttpListenerContext hlc) at RandomTF2Loadout.WebServer.WebServer.b__4_1(Object c) ---> (Inner Exception #0) System.FormatException: Bad steamID64 at RandomTF2Loadout.Steam_Interface.SteamInventory.GetInventory(String steamID64) at RandomTF2Loadout.WebServer.Session.updateInventoryThread() at # System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()<---
Method(s) to reproduce
Method 1
- Log into a steam account
- Refresh until crash.
Details
At random times, the website fails for an individual. Accessing the website with another session doesn't produce the error suggesting that it has something to do with the sessions.
Judging by the stack trace, it's attempting to parse a SteamID after parsing this.
After waiting awhile it goes back to normal.
It appears to be a failure to wait for a thread. Perhaps a try catch block can fix this? Will try to see if I can get it to work without a try-catch block.
Functions to look at
RandomTF2Loadout.Program.WaitForItemPull(Session sesh)
RandomTF2Loadout.Program.HttpFunction(HttpListenerContext hlc)
RandomTF2Loadout.Steam_Interface.SteamInventory.GetInventory(String steamID64)
RandomTF2Loadout.WebServer.Session.updateInventoryThread()
Stack Trace
Method(s) to reproduce
Method 1
Details
At random times, the website fails for an individual. Accessing the website with another session doesn't produce the error suggesting that it has something to do with the sessions.
Judging by the stack trace, it's attempting to parse a SteamID after parsing this.
After waiting awhile it goes back to normal.
It appears to be a failure to wait for a thread. Perhaps a try catch block can fix this? Will try to see if I can get it to work without a try-catch block.
Functions to look at
RandomTF2Loadout.Program.WaitForItemPull(Session sesh)
RandomTF2Loadout.Program.HttpFunction(HttpListenerContext hlc)
RandomTF2Loadout.Steam_Interface.SteamInventory.GetInventory(String steamID64)
RandomTF2Loadout.WebServer.Session.updateInventoryThread()