Thank you for the fast response.
Perhaps there is another related bug, when all available network adapters are disabled or disconnected.
With the Windows-integrated HTTP library, we get a WebException
with the Status WebExceptionStatus.ConnectFailure
and the following stack:
System.Net.WebException: Network is unreachable.
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at [Our Code]
With the Rebex HTTPS library, we get a WebException
with the status WebExceptionStatus.SendFailure
and the following stack:
System.Net.WebException: Error while processing request. ---> vsdb: Error while processing request. ---> Rebex.Net.ProxySocketException: Unable to resolve hostname. ---> System.Net.Sockets.SocketException: Could not resolve host
at System.Net.Dns.ResolveInternal(String hostName)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at vsdh.lkaw(String dt)
at mgvc.ahoo(String gg, Int32 gh, ProxySocketExceptionStatus gi)
at mgve.wtep(EndPoint awi)
at Rebex.Net.ProxySocket.Connect(EndPoint remoteEP)
at Rebex.Net.ProxySocket.Connect(String serverName, Int32 serverPort)
at mguh.idbx(String bci, Int32 bcj, Boolean bck)
at vscy.fjbv()
at vscy.fjbz(Boolean aj)
at vscy.fjcb()
at Rebex.Net.HttpRequest.lrbj()
at Rebex.Net.HttpRequest.lrbi()
at Rebex.Net.HttpRequest.lrbh()
at Rebex.Net.HttpRequest.GetResponse()
at [Our Code]
The Rebex-internal Rebex.Net.ProxySocketException
points to a problem resolving the hostname, but there is obviously no one who could resolve it.
We would expect WebExceptionStatus.ConnectFailure
as the value of WebException.Status
when there is no network adapter or IP configuration available.
We would expect WebExceptionStatus.NameResolutionFailure
as the value of WebException.Status
when there is no DNS server in the IP configuration or the configured DNS server does not answer or the DNS server cannot resolve the hostname.
We would expect WebExceptionStatus.SendFailure
as the value of WebException.Status
when there is a problem sending POST data to the host.
We would expect WebExceptionStatus.ReceiveFailure
as the value of WebException.Status
when there is a problem receiving data from the host.