[Mono-bugs] [Bug 537077] New: Exception is thrown when executing asynchronous HTTP requests over 3G

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 6 07:08:19 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=537077


           Summary: Exception is thrown when executing asynchronous HTTP
                    requests over 3G
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mark at beaton.co.nz
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer


Created an attachment (id=316935)
 --> (http://bugzilla.novell.com/attachment.cgi?id=316935)
Sample MonoDevelop project

Description of Problem:
When making asynchronous HTTP requests on an iPhone 3G using the System.Net
classes whilst the phone is in 3G mode, a WebException is thrown indicating a
NameResolutionFailure.

Steps to reproduce the problem:
1. Make sure the iPhone is in 3G mode (not WiFi), and hasn't been used to
communicate over the internet for a while (rebooting the iPhone is a good idea)
2. Execute an asynchronous requesting using the System.Net.HttpWebRequest class

Actual Results:
A WebException is immediately thrown.

Expected Results:
The request returns successfully.

How often does this happen? 
Once triggered, every time (i.e. every attempt to make a request).

Additional Information:
This only occurs on an iPhone, not the simulator. Also, if another application
has used the internet over 3G recently, there is no problem. To replicate it,
reboot the device first.

A sample MonoDevelop project is attached.

-- 
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.


More information about the mono-bugs mailing list