http://code.google.com/p/android/issues/detail?id=2764




On Thu, Oct 15, 2009 at 4:40 AM, [email protected] <
[email protected]> wrote:

>
> Hello,
>
> This happens only when my G1 phone is on T-Mobile network:
>
> I found that when I try to go to the browser, and type the address
>
>    http://i0.sinaimg.cn/
>
> The browser tries to load the page, but no progress is shown for more
> than 2 minutes.
>
> (I have full 3G signal; all other addresses work just fine)
>
> Eventually when I tried to access this URL in my Java code, I found a
> similar long delay when I try to open the HttpUrlConnection, and
> eventually I get this exception:
>
> I/InetAddress( 1940): Unknown host i0.sinaimg.cn, throwing
> UnknownHostException
> W/System.err( 1940): java.net.UnknownHostException: Host is
> unresolved: i0.sinaimg.cn:80
> W/System.err( 1940):    at java.net.Socket.connect(Socket.java:1002)
>
> Why would DNS take so long? Also, if my program tries to issue the
> same HTTP request again, the same 2+ minute blocking happened.
>
> Is this an Android bug or a T-Mobile infrastructure bug? It seems the
> Android API should try to time-out faster, especially on the second
> attempt.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to