title: Read Timed Out Error in reading URL using java
body: <p>I have return a code to read a web page using jsoup-1.7.3.jar, Its working for some websites but giviing Read timed out error for some of the URls....
  .</p>
  
  <blockquote>
    <p>Exception in thread "main" java.net.SocketTimeoutException: Read timed
    out   at java.net.SocketInputStream.socketRead0(Native Method)    at
    java.net.SocketInputStream.read(SocketInputStream.java:152)   at
    java.net.SocketInputStream.read(SocketInputStream.java:122)   at
    java.io.BufferedInputStream.fill(BufferedInputStream.java:235)    at
    java.io.BufferedInputStream.read1(BufferedInputStream.java:275)   at
    java.io.BufferedInputStream.read(BufferedInputStream.java:334)    at
    sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)  at
    sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)    at
    sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
      at
    java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
      at
    org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:443)
      at
    org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:424)
      at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:178)
      at org.jsoup.helper.HttpConnection.get(HttpConnection.java:167)     at
    Main.main(Main.java:10)</p>
  </blockquote>