selective UnknownHostException
<p>I am getting said Exception in my program, but only in certain cases.
First of all, I have the internet permission set:<code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;</code>, and I tried the two method of <a href="http://stackoverflow.com/questions/3514398/android-java-net-unknownhostexception-host-is-unresolved">this</a> and <a href="http://stackoverflow.com/questions/3293659/android-java-net-unknownhostexception-host-is-unresolved-strategy-question">this</a> thread (they don't work in my case).  </p>

<p>The scenario is the following: I send a GET request to a rest service (e.g. <code>http://my.web.site/request.php?attr=blah</code>) and I do get a correct xml back. Now, in this xml there are some resources described, one of which is an url to an image (e.g <code>http://my.web.site/images/img.jpg</code>). Here it's where it fails! Here I consistently receive a UnknownHostException.  </p>

<p>I find it weird, since it's the same domain and everything. Accessing the img url from browser works (both from the emulator browser and pc browser). I tried from a device too but it doesn't get the image anyway.  </p>

<p>Any idea on why this weird behavior?  </p>

<p>EDIT: all my tests were on emulator and device, but connected to a wifi network. I tried also using the internet connection of my provider on the phone (i.e. bypassing home network), and still the behavior is the same...<br>
I found <a href="http://code.google.com/p/android/issues/detail?id=2764" rel="nofollow">this bug</a> which I assume is the source of this problem, but still no solution (after more than 1.5years). Any ideas?  </p>

<p><strong>EDIT</strong>: turns out it was a problem on the server. Now everything works as expected.</p>
