java.net.UnknownHostException: Unable to resolve host "www.google.com": No address associated with hostname


Samebug tips

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.


5 months ago
Expert tip

Solutions on the web

Solution icon of googlegroups
via Google Groups by Aledis, 4 months ago
Unable to resolve host "www.google.com": No address associated with hostname

Stack trace

java.net.UnknownHostException: Unable to resolve host
"www.google.com": No address associated with hostname
	at com.gc.android.market.api.MarketSession.login(MarketSession.java:170)
	at com.gc.android.market.api.MarketSession.login(MarketSession.java:126)
	at com.vodafone.threads.MarketThread$SearchAppRunnable.run(MarketThread.java:86)
	at android.os.Handler.handleCallback(Handler.java:605)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at com.vodafone.threads.MarketThread.run(MarketThread.java:46)
Caused by: java.net.UnknownHostException: Unable to resolve host
"www.google.com": No address associated with hostname
	at java.net.InetAddress.lookupHostByName(InetAddress.java:400)
	at java.net.InetAddress.getAllByNameImpl(InetAddress.java:242)
	at java.net.InetAddress.getAllByName(InetAddress.java:220)
	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:71)
	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
	at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:351)
	at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:86)
	at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
	at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:308)
	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:460)
	at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:441)
	at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:282)
	at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:232)
	at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:80)
	at libcore.net.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:188)
	at libcore.net.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:280)
	at com.gc.android.market.api.Tools.postUrl(Tools.java:55)
	at com.gc.android.market.api.MarketSession.login(MarketSession.java:139)
	... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 year ago
6 times, 1 year ago
220 times, 2 days ago
675 times, 3 days ago
4262 times, 4 days ago
163 more bugmates