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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by vikas singh
, 1 year ago
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.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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.