[Mono-bugs] [Bug 716515] New: XmlDocument.Load(url) throws WebException when using HTTPS
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Sep 7 18:06:15 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=716515
https://bugzilla.novell.com/show_bug.cgi?id=716515#c0
Summary: XmlDocument.Load(url) throws WebException when using
HTTPS
Classification: Mono
Product: MonoTouch
Version: SVN
Platform: iPhone
OS/Version: Apple iOS 4.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Runtime
AssignedTo: frego at suse.com
ReportedBy: krisow+novell at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1)
AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1
I'm using XmlDocument.Load() with an HTTPS URL. On the simulator it works, but
on the iPhone it throws a WebException. If I change the URL to HTTP it works
fine on both.
This sounds similar to bug 534631, but I filed a separate bug since a different
stack and repros with recent builds.
Using Mono 2.10.5.
Reproducible: Always
Steps to Reproduce:
1. Call
XmlDocument.Load("https://www.google.com/calendar/feeds/en.usa%23holiday%40group.v.calendar.google.com/public/basic")
on iPhone device
Actual Results:
System.Net.WebException: Error: ConnectFailure
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult)
[0x00000] in <filename unknown>:0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String
role, System.Type ofObjectToReturn) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url,
System.String& absoluteUriString) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader..ctor (System.String url, System.Xml.XmlNameTable
nt) [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader..ctor (System.String url, System.Xml.XmlNameTable
nt) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.Load (System.String filename) [0x00000] in
<filename unknown>:0
at
Startcom.GoogleCalendarUtilities+<GetCalendarEventsAsync>c__AnonStorey0.<>m__0
() [0x00006] in
/Users/macbookair/Dropbox/Projects/Apps/Startcom/GoogleCalendarUtilities.cs:24
at
System.Threading.Tasks.TaskFactory+<StartNew>c__AnonStorey16`1[System.Collections.Generic.IEnumerable`1[Startcom.CalendarEvent]].<>m__B
(System.Object o) [0x00000] in <filename unknown>:0
at
System.Threading.Tasks.Task`1[System.Collections.Generic.IEnumerable`1[Startcom.CalendarEvent]].InnerInvoke
() [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename
unknown>:0 ]
Expected Results:
No exception.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list