I am getting a timeout with the following code at readUTF. Any idea why?
hc = (HttpConnection) Connector.open("http://twitter.com/statuses/user_timeline/" + username + ".json");
int rc = hc.getResponseCode();
if (rc != HttpConnection.HTTP_OK) {
throw new IOException("HTTP response code: " + rc);
}
DataInputStream dataInputStream = hc.openDataInputStream();
String list = dataInputStream.readUTF();