title: java.io.IOException: unexpected end of stream on Connection jsoup
body: <p>I am parsing some lyrics site, and i have error from the header.
  URL, that i give to it (for example):
  <a href="http://www.azlyrics.com/lyrics/linkinpark/intheend.html" rel="nofollow">http://www.azlyrics.com/lyrics/linkinpark/intheend.html</a></p>
  
  <pre><code>class GetLyrics extends AsyncTask&lt;String, Void, String&gt; {
  protected String doInBackground(String... urls) {
      String url = urls[0];
      String output;
      output = "If you see this, some kind of error has occupied";
      try {
          Document document = Jsoup.connect(url).get(); //I dont know how it works, its google
          document.outputSettings(new Document.OutputSettings().prettyPrint(false));//makes html() preserve linebreaks and spacing
          document.select("br").append("\\n");
          Elements lyrics = document.select("b + br + br + div"); //Search for lyrics &lt;div&gt; tag, that after &lt;b&gt; and 2 &lt;br&gt; tags
          String s = lyrics.html().replaceAll("\\\\n", "\n"); //Google again
          output = Jsoup.clean(s, "", Whitelist.none(), new Document.OutputSettings().prettyPrint(false));
          output = output.replace("\n\n", "\n");
          output = output.substring(4); //Remove first enters
      }
      catch (HttpStatusException e) {
          System.err.println("404 error: " + e);
          System.err.println("Check your input data");
          output = "An 404 error has occurred, more info:\n" + e + "\nCheck your input data";
          Log.d("LyricFinder", e.toString());
      }
      catch (Exception e) {
          System.err.println("Some error: " + e);
          output = "An uknown error has occurred\nCheck your internet connection";
          Log.d("LyricFinder", e.toString());
      }
      return output;
  }
  
  protected void onPostExecute(String lyrics) {
      lyricsOutput.setText(lyrics);
  }
  </code></pre>
  
  <p>}
  And logs are:</p>
  
  <pre><code>D/LyricFinder: java.io.IOException: unexpected end of stream on Connection{www.azlyrics.com:80, proxy=DIRECT@ hostAddress=85.17.159.246 cipherSuite=none protocol=http/1.1} (recycle count=0)
  </code></pre>
  
  <p>In eclipse console project this code works perfectly (but without this asynctask :/ )<br>
  Idk what to do, because my question remain unanswered</p>