org.apache.http.conn.HttpHostConnectException: Connection to http://10.0.2.2:1232 refused 08-12 16:19:28.526: I/Choreographer(2791): Skipped 83 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.589: I/Choreographer(2791): Skipped 75 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.789: I/Choreographer(2791): Skipped 30 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.970: I/Choreographer(2791): Skipped 31 frames! The application may be doing too much work on its main thread. 08-12 16:19:29.207: W/System.err(2791): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)

Stack Overflow | vikas singh | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    org.apache.http.conn.HttpHostConnectException: Connection to http://10.0.2.2:1232 refused

    Stack Overflow | 8 months ago | vikas singh
    org.apache.http.conn.HttpHostConnectException: Connection to http://10.0.2.2:1232 refused 08-12 16:19:28.526: I/Choreographer(2791): Skipped 83 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.589: I/Choreographer(2791): Skipped 75 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.789: I/Choreographer(2791): Skipped 30 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.970: I/Choreographer(2791): Skipped 31 frames! The application may be doing too much work on its main thread. 08-12 16:19:29.207: W/System.err(2791): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)

    Root Cause Analysis

    1. org.apache.http.conn.HttpHostConnectException

      Connection to http://10.0.2.2:1232 refused 08-12 16:19:28.526: I/Choreographer(2791): Skipped 83 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.589: I/Choreographer(2791): Skipped 75 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.789: I/Choreographer(2791): Skipped 30 frames! The application may be doing too much work on its main thread. 08-12 16:19:28.970: I/Choreographer(2791): Skipped 31 frames! The application may be doing too much work on its main thread. 08-12 16:19:29.207: W/System.err(2791): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) 08-12 16:19:29.208: W/System.err(2791): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)

      at com.survey.survey.JSONHttpClient.PostObject()
    2. com.survey.survey
      MainActivity$NewUserRegistrationForm.doInBackground
      1. com.survey.survey.JSONHttpClient.PostObject(JSONHttpClient.java:48)
      2. com.survey.survey.JSONHttpClient.PostParams(JSONHttpClient.java:76)
      3. com.survey.survey.MainActivity$NewUserRegistrationForm.doInBackground(MainActivity.java:107)
      4. com.survey.survey.MainActivity$NewUserRegistrationForm.doInBackground(MainActivity.java:1)
      4 frames
    3. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:288)
      1 frame
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame