Top "System.net.webexception" questions

system.

No connection could be made because the target machine actively refused it?

Sometimes I get the following error while I was doing HttpWebRequest to a WebService. I copied my code below too. …

c# .net asp.net-web-api2 socketexception system.net.webexception
System.Net.WebException: The remote name could not be resolved:

I am testing an endpoint that I am experiencing some issues with. I am simply using HttpClient in a loop …

c# .net system.net.webexception
Error 502 (Bad Gateway) when sending a request with HttpWebRequest over SSL

I have the following snippet in classic ASP, to send a command and retrieve the response over SSL: Dim xmlHTTP …

c# ssl httpwebrequest system.net.webexception
C# System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send

I'm getting this error on just one server running Windows Server 2003: System.Net.WebException: The underlying connection was closed: An …

c# windows-server-2003 system.net.webexception
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF, In WinForms?

I am trying to use a WebClient / HttpWebRequest to download some data from a server. I use the following code …

c# winforms httpwebrequest webclient system.net.webexception
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 …

c# .net system.net.webexception
System.Net.WebException: The request was aborted: the request was cancelled

I have a WCF service that has been giving me this error under load conditions (and I can't seem to …

.net wcf system.net.webexception service-reference communicationexception
The request was aborted: The request was canceled. No solution works

Our console applications are making hundreds of WebRequests to Facebook every minute (with using multiple apps and hundreds of access …

c# http-error system.net.webexception system.net.httpwebrequest
Getting "underlying connection was closed" on HttpWebRequest

I have an application written in VB.NET (NOT asp.net, it is a Windows Console app). I am trying …

httpwebrequest httpwebresponse system.net.webexception