java.net.ConnectException: failed to connect to /169.254.80.80 (port 8324): connect failed: ETIMEDOUT (Connection timed out)

Appcelerator JIRA | Josh Longton | 7 months ago
  1. 0

    *Steps to reproduce:* # Create an application using the SDK above # Run the application with live view selected *Actual :* An error is shown {code:java} [ERROR] : TiExceptionHandler: (main) [10001,10001] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [0,10001] - In app.js:567,13 [ERROR] : TiExceptionHandler: (main) [0,10001] - Message: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 169.254.80.80:8324 [ERROR] : TiExceptionHandler: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked. [ERROR] : TiExceptionHandler: (main) [0,10001] - Source: throw new Error('[LiveView] File Server unavailable. Host Unreachable @ [ERROR] : V8Exception: Exception occurred at app.js:567: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 169.254.80.80:8324 [ERROR] : V8Exception: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked. [ERROR] : TiHTTPClient: (TiHttpClient-1) [53177,63178] HTTP Error (java.net.ConnectException): failed to connect to /169.254.80.80 (port 8324): connect failed: ETIMEDOUT (Connection timed out) [ERROR] : TiHTTPClient: java.net.ConnectException: failed to connect to /169.254.80.80 (port 8324): connect failed: ETIMEDOUT (Connection timed out) [ERROR] : TiHTTPClient: at libcore.io.IoBridge.connect(IoBridge.java:124) [ERROR] : TiHTTPClient: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) [ERROR] : TiHTTPClient: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) [ERROR] : TiHTTPClient: at java.net.Socket.connect(Socket.java:884) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.Platform.connectSocket(Platform.java:117) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.SocketConnector.connectRawSocket(SocketConnector.java:160) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.SocketConnector.connectCleartext(SocketConnector.java:67) [ERROR] : TiHTTPClient: at com.android.okhttp.Connection.connect(Connection.java:152) [ERROR] : TiHTTPClient: at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185) [ERROR] : TiHTTPClient: at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:341) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:248) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaders(HttpURLConnectionImpl.java:150) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:194) [ERROR] : TiHTTPClient: at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:543) [ERROR] : TiHTTPClient: at java.net.URLConnection.getContentLength(URLConnection.java:315) [ERROR] : TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.handleResponse(TiHTTPClient.java:159) [ERROR] : TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.access$1200(TiHTTPClient.java:85) [ERROR] : TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1207) [ERROR] : TiHTTPClient: at java.lang.Thread.run(Thread.java:818) [ERROR] : TiHTTPClient: Caused by: android.system.ErrnoException: connect failed: ETIMEDOUT (Connection timed out) [ERROR] : TiHTTPClient: at libcore.io.Posix.connect(Native Method) [ERROR] : TiHTTPClient: at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:111) [ERROR] : TiHTTPClient: at libcore.io.IoBridge.connectErrno(IoBridge.java:137) [ERROR] : TiHTTPClient: at libcore.io.IoBridge.connect(IoBridge.java:122) [ERROR] : TiHTTPClient: ... 22 more {code} *Expected:* No error is show and the app builds correctly.

    Appcelerator JIRA | 7 months ago | Josh Longton
    java.net.ConnectException: failed to connect to /169.254.80.80 (port 8324): connect failed: ETIMEDOUT (Connection timed out)
  2. 0

    *Steps to reproduce:* # Create an application using the SDK above # Run the application with live view selected *Actual :* An error is shown {code:java} [ERROR] : TiExceptionHandler: (main) [10001,10001] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [0,10001] - In app.js:567,13 [ERROR] : TiExceptionHandler: (main) [0,10001] - Message: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 169.254.80.80:8324 [ERROR] : TiExceptionHandler: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked. [ERROR] : TiExceptionHandler: (main) [0,10001] - Source: throw new Error('[LiveView] File Server unavailable. Host Unreachable @ [ERROR] : V8Exception: Exception occurred at app.js:567: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 169.254.80.80:8324 [ERROR] : V8Exception: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked. [ERROR] : TiHTTPClient: (TiHttpClient-1) [53177,63178] HTTP Error (java.net.ConnectException): failed to connect to /169.254.80.80 (port 8324): connect failed: ETIMEDOUT (Connection timed out) [ERROR] : TiHTTPClient: java.net.ConnectException: failed to connect to /169.254.80.80 (port 8324): connect failed: ETIMEDOUT (Connection timed out) [ERROR] : TiHTTPClient: at libcore.io.IoBridge.connect(IoBridge.java:124) [ERROR] : TiHTTPClient: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) [ERROR] : TiHTTPClient: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) [ERROR] : TiHTTPClient: at java.net.Socket.connect(Socket.java:884) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.Platform.connectSocket(Platform.java:117) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.SocketConnector.connectRawSocket(SocketConnector.java:160) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.SocketConnector.connectCleartext(SocketConnector.java:67) [ERROR] : TiHTTPClient: at com.android.okhttp.Connection.connect(Connection.java:152) [ERROR] : TiHTTPClient: at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185) [ERROR] : TiHTTPClient: at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:341) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:248) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaders(HttpURLConnectionImpl.java:150) [ERROR] : TiHTTPClient: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:194) [ERROR] : TiHTTPClient: at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:543) [ERROR] : TiHTTPClient: at java.net.URLConnection.getContentLength(URLConnection.java:315) [ERROR] : TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.handleResponse(TiHTTPClient.java:159) [ERROR] : TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.access$1200(TiHTTPClient.java:85) [ERROR] : TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1207) [ERROR] : TiHTTPClient: at java.lang.Thread.run(Thread.java:818) [ERROR] : TiHTTPClient: Caused by: android.system.ErrnoException: connect failed: ETIMEDOUT (Connection timed out) [ERROR] : TiHTTPClient: at libcore.io.Posix.connect(Native Method) [ERROR] : TiHTTPClient: at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:111) [ERROR] : TiHTTPClient: at libcore.io.IoBridge.connectErrno(IoBridge.java:137) [ERROR] : TiHTTPClient: at libcore.io.IoBridge.connect(IoBridge.java:122) [ERROR] : TiHTTPClient: ... 22 more {code} *Expected:* No error is show and the app builds correctly.

    Appcelerator JIRA | 7 months ago | Josh Longton
    java.net.ConnectException: failed to connect to /169.254.80.80 (port 8324): connect failed: ETIMEDOUT (Connection timed out)
  3. 0

    AsyncTask HttpsUrlConnection throws IOException at getOutputStream()

    Stack Overflow | 8 months ago | H.Dibsee
    java.net.ConnectException: failed to connect to /190.218.0.3 (port 80): connect failed: ETIMEDOUT (Connection timed out)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Internet not working in android emulator in android studio

    Stack Overflow | 2 weeks ago | Ram Koti
    com.vave.getbike.exception.GetBikeException: java.net.ConnectException: failed to connect to videos.meritcampus.com/192.34.59.210 (port 9000): connect failed: ETIMEDOUT (Connection timed out)
  6. 0

    Android: doPost to server does not work

    Stack Overflow | 1 week ago | Federico
    java.net.ConnectException: failed to connect to /192.168.1.4 (port 8080): connect failed: ETIMEDOUT (Connection timed out)

  1. malhobayyeb 2 times, last 2 weeks ago
  2. bmacedo 1 times, last 3 weeks ago
  3. Alexandru Popa 4 times, last 3 weeks ago
  4. bluebunnty 1 times, last 1 month ago
  5. ajinkya_w 2 times, last 2 months ago
47 more registered users
16 unregistered visitors
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. android.system.ErrnoException

    connect failed: ETIMEDOUT (Connection timed out)

    at libcore.io.Posix.connect()
  2. Android
    IoBridge.connect
    1. libcore.io.Posix.connect(Native Method)
    2. libcore.io.BlockGuardOs.connect(BlockGuardOs.java:111)
    3. libcore.io.IoBridge.connectErrno(IoBridge.java:137)
    4. libcore.io.IoBridge.connect(IoBridge.java:122)
    4 frames
  3. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    2. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452)
    3. java.net.Socket.connect(Socket.java:884)
    3 frames
  4. Android
    HttpEngine.sendRequest
    1. com.android.okhttp.internal.Platform.connectSocket(Platform.java:117)
    2. com.android.okhttp.internal.http.SocketConnector.connectRawSocket(SocketConnector.java:160)
    3. com.android.okhttp.internal.http.SocketConnector.connectCleartext(SocketConnector.java:67)
    4. com.android.okhttp.Connection.connect(Connection.java:152)
    5. com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185)
    6. com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
    7. com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:341)
    8. com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330)
    9. com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)
    9 frames
  5. com.android.okhttp
    HttpURLConnectionImpl.getHeaderField
    1. com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437)
    2. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)
    3. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaders(HttpURLConnectionImpl.java:150)
    4. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:194)
    4 frames
  6. Java RT
    URLConnection.getContentLength
    1. java.net.URLConnection.getHeaderFieldInt(URLConnection.java:543)
    2. java.net.URLConnection.getContentLength(URLConnection.java:315)
    2 frames
  7. ti.modules.titanium
    TiHTTPClient$ClientRunnable.run
    1. ti.modules.titanium.network.TiHTTPClient.handleResponse(TiHTTPClient.java:159)
    2. ti.modules.titanium.network.TiHTTPClient.access$1200(TiHTTPClient.java:85)
    3. ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1207)
    3 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame