Difference between operation has time out and (504) Gateway Timeout
问题 I am using HttpWebRequest in my application which is checking some URI's in multiple threads. I am getting multiple types of time out exceptions. The operation has timed out The remote server returned an error: (504) Gateway Timeout. Their details are like: System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at ...... and System.Net.WebException: The remote server returned an error: (504) Gateway Timeout. at System.Net.HttpWebRequest.GetResponse()