JustArchiNET / ArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
Apache License 2.0
11.27k stars 1.05k forks source link

System.Net.WebException: The remote server returned an error: (504) Gateway Timeout. #341

Closed NotTsunami closed 8 years ago

NotTsunami commented 8 years ago

This is probably an issue regarding Steam servers or something on my end, but in the case that it's not, here is the log:

2016-09-14 13:34:38|INFO|ASF|Init() ASF V2.1.4.9
2016-09-14 13:34:38|INFO|ASF|IsRuntimeSupported() Your .NET version is OK. Required: 4.6.1 | Found: 4.6.2
2016-09-14 13:34:39|INFO|ASF|CheckForUpdate() ASF will automatically check for new versions every 24 hours
2016-09-14 13:34:39|INFO|ASF|CheckForUpdate() Checking new version...
2016-09-14 13:34:39|INFO|ASF|CheckForUpdate() Local version: 2.1.4.9 | Remote version: 2.1.4.5
2016-09-14 13:34:39|INFO|Tsunami|Start() Starting...
2016-09-14 13:34:40|INFO|Tsunami|OnConnected() Connected to Steam!
2016-09-14 13:34:40|INFO|Tsunami|OnConnected() Logging in...
2016-09-14 13:34:40|INFO|Tsunami|OnLoggedOn() Successfully logged on!
2016-09-14 13:34:40|INFO|Tsunami|Init() Logging in to ISteamUserAuth...
2016-09-14 13:35:01|ERROR|Tsunami|Init() System.Net.WebException: The remote server returned an error: (504) Gateway Timeout.

Server stack trace: 
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadData(Uri address, String method, Byte[] data)
   at SteamKit2.WebAPI.AsyncInterface.<>c__DisplayClass6_0.<Call>b__1()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]: 
   at SteamKit2.WebAPI.Interface.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result)
   at CallSite.Target(Closure , CallSite , Object , UInt64 , String , String , String , Boolean )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute6[T0,T1,T2,T3,T4,T5,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
   at ArchiSteamFarm.ArchiWebHandler.<Init>d__20.MoveNext() 
2016-09-14 13:35:02|INFO|Tsunami|Init() Logging in to ISteamUserAuth...
2016-09-14 13:35:22|ERROR|Tsunami|Init() System.Net.WebException: The remote server returned an error: (504) Gateway Timeout.

Server stack trace: 
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadData(Uri address, String method, Byte[] data)
   at SteamKit2.WebAPI.AsyncInterface.<>c__DisplayClass6_0.<Call>b__1()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]: 
   at SteamKit2.WebAPI.Interface.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result)
   at CallSite.Target(Closure , CallSite , Object , UInt64 , String , String , String , Boolean )
   at ArchiSteamFarm.ArchiWebHandler.<Init>d__20.MoveNext() 
2016-09-14 13:35:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:36:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:37:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:38:49|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:39:49|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:40:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:41:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:42:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:43:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
2016-09-14 13:44:50|WARN|Tsunami|HeartBeat() Connection to Steam Network lost, reconnecting...
NotTsunami commented 8 years ago

Never mind, I see 5a267eb225015059646abfe7a97c0d53a75c0238, and https://steamstat.us/ reports some things are down. My bad!

JustArchi commented 8 years ago

2016-09-14 13:35:01|ERROR|Tsunami|Init() System.Net.WebException: The remote server returned an error: (504) Gateway Timeout.

This is never ASF issue, and the commit you linked fixes totally different thing and doesn't help with this case. As you guessed right, this is because Steam API is down.