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.
You can consult this link for "The operation has timed out" and the issue might be due to the server already busy with some task. And (504) Gateway Timeout means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page or fill another request by the browser.