http://bugzilla.novell.com/show_bug.cgi?id=500074
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=500074#c2 Peter Grace <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|[email protected] | --- Comment #2 from Peter Grace <[email protected]> 2009-05-02 09:45:58 MDT --- Problem does appear to be in System.Net.HttpWebRequest: pgr...@garden:~/mete$ mono httpwebreq.exe Unhandled Exception: System.Net.WebException: Error: NameResolutionFailure at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] at System.Net.HttpWebRequest.GetResponse () [0x00000] at HttpWebReqTestCase.MaybeDNSError.Main (System.String[] args) [0x00000] Code used: using System; using System.Net; namespace HttpWebReqTestCase { class MaybeDNSError { public static void Main(string[] args) { HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://www.google.com"); HttpWebResponse resp = (HttpWebResponse)req.GetResponse(); string[] names = resp.Headers.AllKeys; Console.WriteLine("{0,-20}{1}\n", "Name", "Value"); foreach (string n in names) Console.WriteLine("{0,-20}{1}", n, resp.Headers[n]); resp.Close(); Console.ReadLine(); } } } And to show that dns does in fact work on this system: pgr...@garden:~/mete$ host www.google.com www.google.com is an alias for www.l.google.com. www.l.google.com has address 66.102.1.104 www.l.google.com has address 66.102.1.147 www.l.google.com has address 66.102.1.99 www.l.google.com has address 66.102.1.103 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
