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)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web821

  • 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
  • org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) 11-12 15:20:44.863 1585-1585/com.infinidea.loginapplication I/ChoreographerSkipped 49 frames! The application may be doing too much work on its main thread. 11-12 15:20:45.173 1585-1598
  • via Stack Overflow by Adi
    , 1 year ago
    Connection to http://192.168.56.1:8080 refused 07-16 12:30:29.728: W/System.err(1096): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) 07-16 12:30:29.796: W/System.err(1096
  • Stack trace

    • 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(JSONHttpClient.java:48) at com.survey.survey.JSONHttpClient.PostParams(JSONHttpClient.java:76) at com.survey.survey.MainActivity$NewUserRegistrationForm.doInBackground(MainActivity.java:107) at com.survey.survey.MainActivity$NewUserRegistrationForm.doInBackground(MainActivity.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.