title: Getting TwitterException while trying to post a tweet from code within eclipse
body: <ul>
  <li><p>I am a newbie to twitter4j.</p></li>
  <li><p>I have registered an app with twitter, got ConsumerKey, ConsumerSecret, Accesstoken and AccesstokenSecret.</p></li>
  <li><p>I followed steps mentioned <a href="http://twitter4j.org/en/configuration.html" rel="nofollow">here</a>, <a href="http://twitter4j.org/en/code-examples.html" rel="nofollow">here</a> and came with below code and tried to run from eclipse (JDK 1.7).</p>
  
  <pre><code>import twitter4j.Status;
  import twitter4j.Twitter;
  import twitter4j.TwitterException;
  import twitter4j.TwitterFactory;
  import twitter4j.conf.ConfigurationBuilder;
  
  public class TweetMain {
  public static void main(String[] args) {
      ConfigurationBuilder cb = new ConfigurationBuilder();
      cb.setDebugEnabled(true)
        .setOAuthConsumerKey("key")
        .setOAuthConsumerSecret("secret")
        .setOAuthAccessToken("token")
        .setOAuthAccessTokenSecret("tokensecret");
      TwitterFactory tf = new TwitterFactory(cb.build());
      Twitter twitter = tf.getInstance();     
      Status status;
      try {
          status = twitter.updateStatus("First Tweet from within Java code @java,@twitter, @twitter4j");
          System.out.println("Successfully updated the status to [" + status.getText() + "].");
      } catch (TwitterException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>}</p></li>
  <li><p>I got below exception:</p></li>
  </ul>
  
  <p><em>Read timed out
  Relevant discussions can be found on the Internet at:
      <a href="http://www.google.co.jp/search?q=2fc5b7cb" rel="nofollow">http://www.google.co.jp/search?q=2fc5b7cb</a> or
      <a href="http://www.google.co.jp/search?q=0ea287e1" rel="nofollow">http://www.google.co.jp/search?q=0ea287e1</a>
  TwitterException{exceptionCode=[2fc5b7cb-0ea287e1 2fc5b7cb-0ea287b7], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.4}</em></p>
  
  <ul>
  <li>Please let me know where I have gone wrong. Thanks.</li>
  </ul>
  
  <p>[UPDATE]: I am able to execute successfully from another system(debian). I shall recheck whether things go fine with my earlier system(windows7). Will update on what had gone wrong. Meanwhile, if anyone is aware of the Exception based on exception code, please answer/comment. Thanks.</p>