java.net.ConnectException: failed to connect to www.googleadservices.com/127.0.0.1 (port 443) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)

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

Samebug tips

,
Expert tip

The system selects automatically a group owner. The owner is always 192.168.49.1, and maybe it's trying to connect to itself. If you want to select an owner yourself, you can change the value of ownerIntent, more on this here: https://goo.gl/DGEh7K

,
Expert tip

If you're using Retrofit, check if the page you're trying to access doesn't redirect you somewhere else, as it seems to this exception.

Solutions on the web

via GitHub by waqasrana
, 1 year ago
failed to connect to www.googleadservices.com/127.0.0.1 (port 443) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)
via bubuko.com by Unknown author, 1 year ago
failed to connect to /127.0.1.1 (port 8080) after 5000ms: isConnected failed: ECONNREFUSED (Connection refused)
via GitHub by TheDrHax
, 2 months ago
failed to connect to authrad.vmet.ro/10.1.1.5 (port 80) after 2000ms: isConnected failed: ECONNREFUSED (Connection refused)
via GitHub by TheDrHax
, 1 year ago
failed to connect to authrad.vmet.ro/10.1.1.5 (port 80) after 2000ms: isConnected failed: ECONNREFUSED (Connection refused)
via GitHub by wischweh
, 1 year ago
failed to connect to www.google-analytics.com/127.0.0.1 (port 80) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
via GitHub by MatthewLM
, 2 years ago
failed to connect to html.machadocrypto.com/64.57.133.2 (port 80) after 8000ms: isConnected failed: ECONNREFUSED (Connection refused)
java.net.ConnectException: failed to connect to www.googleadservices.com/127.0.0.1 (port 443) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)
at libcore.io.IoBridge.isConnected(IoBridge.java:208)
at libcore.io.IoBridge.connectErrno(IoBridge.java:161)
at libcore.io.IoBridge.connect(IoBridge.java:112)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
at java.net.Socket.connect(Socket.java:843)
at com.android.okhttp.internal.Platform.connectSocket(Platform.java:152)
at com.android.okhttp.Connection.connect(Connection.java:101)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:294)
at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:296)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:503)
at undefined.bqa.a(SourceFile:230)
at undefined.bqd.run(SourceFile:174)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

11 times, 1 year ago
Once, 1 month ago
Once, 1 year ago
2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
32 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.