[Mono-dev] WebRequest time out error

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Sat Jan 30 19:02:58 UTC 2016


> It failed immediately with Time Out error. The code is crashing on the line:
> `HttpWebResponse response = (HttpWebResponse)request.GetResponse();`
>
> What is causing this to happen and how can I fix it?
This reminds me of some issue I had some years ago.
But I could not reproduce it anymore with Mono 3.12.0
https://bugzilla.xamarin.com/show_bug.cgi?id=11833

Perhaps the patch
https://github.com/mono/mono/commit/8c2167d52cb9acf9582647ebb5f99c92d9127fbd
would work for you? I have not checked if that patch still applies, or
if the code has been replaced by the reference code...
I have not tested my use case for a while, that was making use of the
httpwebrequest.

Timotheus


More information about the Mono-devel-list mailing list