org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:54129 refused I/TestRunner( 760): System info: os.name: 'Linux', os.arch: 'armv5tejl', os.version: '2.6.29-00261-g0097074-dirty', java.version: '0' I/TestRunner( 760): Driver info: driver.version: AndroidNativeDriver

Google Groups | rasanga | 5 years ago
  1. 0

    Unable to get going with native driver with android

    Google Groups | 5 years ago | rasanga
    org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:54129 refused I/TestRunner( 760): System info: os.name: 'Linux', os.arch: 'armv5tejl', os.version: '2.6.29-00261-g0097074-dirty', java.version: '0' I/TestRunner( 760): Driver info: driver.version: AndroidNativeDriver
  2. 0

    Connection to http://localhost:54129 refused

    Google Groups | 5 years ago | canjian 杨
    org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:54129 refused System info: os.name: 'Linux', os.arch: 'armv5tejl', os.version: '2.6.29-00261-g0097074-dirty', java.version: '0' Driver info: driver.version: AndroidNativeDriver
  3. 0

    AdMob tries to connect at 127.0.0.1 and fails. Always fires onFailedToReceiveAd(A network error occurred.)

    Stack Overflow | 5 years ago | Stan
    java.net.ConnectException: r.admob.com/127.0.0.1:80 - Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Parsing JSON from url then show it to TextView

    Stack Overflow | 4 years ago
    java.net.ConnectException: /127.0.0.1:80 - Connection refused
  6. 0

    Unable to reach remote server when running Android app via Trigger.io

    Stack Overflow | 3 years ago | Zhen
    java.net.ConnectException: localhost/127.0.0.1:9000 - Connection refused

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      / 127.0.0.1:54129 - Connection refused

      at org.apache.harmony.luni.net.PlainSocketImpl.connect()
    2. org.apache.harmony
      PlainSocketImpl.connect
      1. org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:254)
      2. org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:533)
      2 frames
    3. Java RT
      Socket.connect
      1. java.net.Socket.connect(Socket.java:1055)
      1 frame
    4. Selenium
      ReusingSocketSocketFactory.connectSocket
      1. org.openqa.selenium.remote.ReusingSocketSocketFactory.connectSocket(ReusingSocketSocketFactory.java:122)
      1 frame
    5. Apache HttpClient
      AbstractHttpClient.execute
      1. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:143)
      2. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
      3. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
      4. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:348)
      5. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
      5 frames
    6. Selenium
      RemoteWebDriver.<init>
      1. org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:272)
      2. org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:252)
      3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:389)
      4. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:103)
      5. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:86)
      5 frames
    7. com.google.android
      AndroidNativeDriverBuilder.build
      1. com.google.android.testing.nativedriver.client.AndroidNativeDriver.<init>(UnknownSource)
      2. com.google.android.testing.nativedriver.client.AndroidNativeDriverBuilder.build(UnknownSource)
      2 frames
    8. com.rasanga.testColomboBusRoutes
      LoginActivityTest.setUp
      1. com.rasanga.testColomboBusRoutes.LoginActivityTest.getDriver(LoginActivityTest.java:40)
      2. com.rasanga.testColomboBusRoutes.LoginActivityTest.setUp(LoginActivityTest.java:31)
      2 frames
    9. JUnit
      TestCase.run
      1. junit.framework.TestCase.runBare(TestCase.java:125)
      2. junit.framework.TestResult$1.protect(TestResult.java:106)
      3. junit.framework.TestResult.runProtected(TestResult.java:124)
      4. junit.framework.TestResult.run(TestResult.java:109)
      5. junit.framework.TestCase.run(TestCase.java:118)
      5 frames
    10. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
      2. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
      3. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:520)
      4. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)
      4 frames