[Mono-aspnet-list] WebRequests fail with fastcgi-mono-server4 on Windows 7

Bill Thorp bill3000 at gmail.com
Tue Feb 14 17:44:47 UTC 2012


When running an ASP.NET application under fastcgi-mono-server4 under
Windows 7,
any attempt of the server to make HTTP requests fail (EG: HttpWebRequest).
The requests seems to time out without any outgoing traffic (as seen via
Fiddler).
Everything else works fine.  Tested under NGINX and Apache.
XSP4 does not exhibit this problem, but Mod_mono does also.

TEST CODE:

protected void Page_Load(object sender, EventArgs e)
{
  HttpWebRequest imageRequest =
(HttpWebRequest)WebRequest.Create("http://www.google.com/");
  WebResponse webResponse = imageRequest.GetResponse();
  Response.Write(webResponse.ContentLength);
}


Any thoughts / suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20120214/93d5f252/attachment.html>


More information about the Mono-aspnet-list mailing list