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 GitHub by mattheworiordan
, 1 year ago
java.net.UnknownHostException: Unable to resolve host "www.ably.io": No address associated with hostname
android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)	at libcore.io.Posix.android_getaddrinfo(Native Method)	at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)	at java.net.InetAddress.lookupHostByName(InetAddress.java:438)	at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)	at java.net.InetAddress.getAllByName(InetAddress.java:215)	at com.android.okhttp.HostResolver$1.getAllByName(HostResolver.java:29)	at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:232)	at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:124)	at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:272)	at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)	at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382)	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:332)	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:500)	at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)	at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)	at io.ably.lib.http.Http.readResponse(Http.java:408)	at io.ably.lib.http.Http.httpExecute(Http.java:329)	at io.ably.lib.http.Http.getUri(Http.java:194)	at io.ably.lib.rest.Auth.requestToken(Auth.java:381)	at io.ably.lib.http.TokenAuth.authorise(TokenAuth.java:54)	at io.ably.lib.rest.Auth.authorise(Auth.java:325)	at io.ably.lib.rest.Auth.getAuthParams(Auth.java:539)	at io.ably.lib.transport.WebSocketTransport.connect(WebSocketTransport.java:59)	at io.ably.lib.transport.ConnectionManager.connectImpl(ConnectionManager.java:614)	at io.ably.lib.transport.ConnectionManager.handleStateRequest(ConnectionManager.java:421)	at io.ably.lib.transport.ConnectionManager.run(ConnectionManager.java:529)	at java.lang.Thread.run(Thread.java:818)