[Mono-bugs] [Bug 676804] New: mono 2.10 under windows vista sp1 HttpWebRequest always throws time out exception
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Mar 3 14:48:55 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=676804
https://bugzilla.novell.com/show_bug.cgi?id=676804#c0
Summary: mono 2.10 under windows vista sp1 HttpWebRequest
always throws time out exception
Classification: Mono
Product: Mono: Runtime
Version: 2.10.x
Platform: x86
OS/Version: Windows Vista
Status: NEW
Severity: Major
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: d.kucinskas at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0b12) Gecko/20100101
Firefox/4.0b12
string url =
"http://maps.googleapis.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false";
try {
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
StreamReader reader = new
StreamReader(request.GetResponse().GetResponseStream());
Console.WriteLine(reader.ReadToEnd());
} catch (Exception ex){
Console.WriteLine(ex.Message);
}
If I run the same program under Microsoft .Net it work fine.
Reproducible: Always
Steps to Reproduce:
1. create new console app project
2. paste code provided into main method
3. run program
Actual Results:
time out exception
Expected Results:
<?xml version="1.0" encoding="UTF-8"?>
<GeocodeResponse>
<status>OK</status>
<result>
<type>street_address</type>
<formatted_address>1600 Amphitheatre Pkwy, Mountain View, CA 94043,
USA</formatted_address>
<address_component>
<long_name>1600</long_name>
<short_name>1600</short_name>
<type>street_number</type>
</address_component>
<address_component>
<long_name>Amphitheatre Pkwy</long_name>
<short_name>Amphitheatre Pkwy</short_name>
<type>route</type>
</address_component>
<address_component>
<long_name>Mountain View</long_name>
<short_name>Mountain View</short_name>
<type>locality</type>
<type>political</type>
</address_component>
<address_component>
<long_name>San Jose</long_name>
<short_name>San Jose</short_name>
<type>administrative_area_level_3</type>
<type>political</type>
</address_component>
<address_component>
<long_name>Santa Clara</long_name>
<short_name>Santa Clara</short_name>
<type>administrative_area_level_2</type>
<type>political</type>
</address_component>
<address_component>
<long_name>California</long_name>
<short_name>CA</short_name>
<type>administrative_area_level_1</type>
<type>political</type>
</address_component>
<address_component>
<long_name>United States</long_name>
<short_name>US</short_name>
<type>country</type>
<type>political</type>
</address_component>
<address_component>
<long_name>94043</long_name>
<short_name>94043</short_name>
<type>postal_code</type>
</address_component>
<geometry>
<location>
<lat>37.4216227</lat>
<lng>-122.0840263</lng>
</location>
<location_type>ROOFTOP</location_type>
<viewport>
<southwest>
<lat>37.4184751</lat>
<lng>-122.0871739</lng>
</southwest>
<northeast>
<lat>37.4247703</lat>
<lng>-122.0808787</lng>
</northeast>
</viewport>
</geometry>
</result>
</GeocodeResponse>
--
Configure bugmail: https://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.
More information about the mono-bugs
mailing list