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 web820

Solution icon of github
Connection to https://www.inaturalist.org refused

Solution icon of github
Connection to https://carelink.richert.nrw refused

Solution icon of web
via JIRA by Ken kato, 1 year ago
Connection to https://forgeapi.puppetlabs.com refused

Solution icon of web
via JIRA by Ken kato, 1 year ago
Connection to https://forgeapi.puppetlabs.com refused

Solution icon of stackexchange-serverfault
via Server Fault by dod
, 1 year ago
Connection to https://example.domain.edu refused

Solution icon of stackoverflow
via Stack Overflow by Rikki Tikki Tavi
, 1 year ago
Connection to https://192.168.0.250 refused

Solution icon of stackoverflow
via Stack Overflow by Lucas Merencia
, 1 year ago
Connection to https://my.webservice.url.com refused

Solution icon of stackoverflow
Connection to https://checkout.teledit.com refused

Solution icon of stackoverflow
Connection to https://android.googleapis.com refused

Solution icon of coderanch
via Coderanch by Manju Havald, 8 months ago
Connection to https://.....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.get(INaturalistService.java:2530) at org.inaturalist.android.INaturalistService.getUserObservations(INaturalistService.java:2261) at org.inaturalist.android.INaturalistService.syncObservations(INaturalistService.java:797) 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, 4 months ago
4 times, 8 months ago
40 times, 10 months ago
12 times, 1 year ago
30 times, 1 year ago
24 more bugmates