title: Android ICS connection via 3G getting 403 response but OK via Wifi
body: <p>I'm getting a strange issue on Android ICS, I have the following code to stablish a connection to read an xml file:</p>
  
  <pre><code>// previous code......
  
  URL url = new URL("https://urltomyxmlfile.com/xmlfile");
  SAXParserFactory spf = SAXParserFactory.newInstance();
  SAXParser sp = spf.newSAXParser();
  XMLReader xr = sp.getXMLReader();
  XML_handler myXML_handler = new XML_handler();
  xr.setContentHandler(myXML_handler);
  
  HttpURLConnection connection = (HttpURLConnection) url.openConnection();
  connection.setConnectTimeout(5000);
  connection.setReadTimeout(25000);
  connection.setDoInput(true);
  connection.connect();
  InputStream input = connection.getInputStream();
  xr.parse(new InputSource(input));
  
  //more code....
  </code></pre>
  
  <p>This code works properly in all android versions both wifi and 3G but in Android ICS only works with wifi, on a 3G connection I'm getting a 403 response.</p>
  
  <p>I can't figure the origin of this issue, Am I not properly configuring the connection? Is there any new restriction in Android ICS? problems with https?</p>
  
  <p>Extra info: this code is not running in the UI-thread</p>
  
  <p>Thanks for your help!</p>
  
  <p>New Extra info: I have discovered that only Samsung Galaxy SII users are experiencing the issue.</p>