java.net.ConnectException: failed to connect to bogon/120.192.83.163 (port 7080) after 120000ms: isConnected failed: ECONNREFUSED (Connection refused) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:224) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:161) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:112) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.Socket.connect(Socket.java:842) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:157)

GitHub | about-bob | 9 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

    cz.msebera.android.httpclient are try to connect thridpart host 120.192.83.163.

    GitHub | 9 months ago | about-bob
    java.net.ConnectException: failed to connect to bogon/120.192.83.163 (port 7080) after 120000ms: isConnected failed: ECONNREFUSED (Connection refused) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:224) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:161) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:112) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.Socket.connect(Socket.java:842) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:157)

    Root Cause Analysis

    1. java.net.ConnectException

      failed to connect to bogon/120.192.83.163 (port 7080) after 120000ms: isConnected failed: ECONNREFUSED (Connection refused) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:224) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:161) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:112) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.Socket.connect(Socket.java:842) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:157)

      at cz.msebera.android.httpclient.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket()
    2. cz.msebera.android
      CloseableHttpClient.execute
      1. cz.msebera.android.httpclient.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
      2. cz.msebera.android.httpclient.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
      3. cz.msebera.android.httpclient.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:145)
      4. cz.msebera.android.httpclient.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)
      5. cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
      6. cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
      7. cz.msebera.android.httpclient.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:860)
      8. cz.msebera.android.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
      8 frames
    3. android-async-http Library
      AsyncHttpRequest.makeRequest
      1. com.loopj.android.http.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:146)
      1 frame