org.apache.http.conn.HttpHostConnectException

Connection to https://www.inaturalist.org refused

Samebug tips2

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

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web821

  • Connection to https://www.inaturalist.org refused
  • via JIRA by Ken kato, 1 year ago
    Connection to https://forgeapi.puppetlabs.com refused
  • via JIRA by Ken kato, 1 year ago
    Connection to https://forgeapi.puppetlabs.com refused
  • Stack trace

    • org.apache.http.conn.HttpHostConnectException: Connection to https://www.inaturalist.org refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) at org.inaturalist.android.INaturalistService.request(INaturalistService.java:2625) at org.inaturalist.android.INaturalistService.delete(INaturalistService.java:2509) at org.inaturalist.android.INaturalistService.deleteObservationPhotos(INaturalistService.java:1096) at org.inaturalist.android.INaturalistService.syncObservations(INaturalistService.java:800) at org.inaturalist.android.INaturalistService.onHandleIntent(INaturalistService.java:758) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:157) at android.os.HandlerThread.run(HandlerThread.java:61) Caused by: java.net.ConnectException: failed to connect to /166.78.84.170 (port 443): connect failed: EHOSTUNREACH (No route to host) at libcore.io.IoBridge.connect(IoBridge.java:114) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:460) at java.net.Socket.connect(Socket.java:833) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144) ... 15 more Caused by: libcore.io.ErrnoException: connect failed: EHOSTUNREACH (No route to host) at libcore.io.Posix.connect(Native Method) at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85) at libcore.io.IoBridge.connectErrno(IoBridge.java:127) at libcore.io.IoBridge.connect(IoBridge.java:112) ... 20 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

    2 times, 3 months ago
    4 times, 8 months ago
    40 times, 9 months ago
    12 times, 11 months ago
    30 times, 1 year ago
    24 more bugmates