[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



           Summary: XmlDocument.Load(url) throws WebException when using
    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
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 
() [0x00006] in
(System.Object o) [0x00000] in <filename unknown>:0 
() [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