org.apache.http.conn.HttpHostConnectException

Connection to https://api.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 web828

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

Solution icon of coderanch
via Coderanch by Manju Havald, 8 months ago
Connection to https://.....com refused

Solution icon of github
Connection to https://api.github.com refused

Solution icon of googlegroups
via Google Groups by Unknown author, 10 months ago
Connection to https://accounts.google.com refused

Solution icon of googlegroups
via Google Groups by tamas....@thomsonreuters.com, 1 year ago
Connection to https://github.com refused

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

Solution icon of web
via microsoft.com by Unknown author, 1 year ago
Connection to https://api.datamarket.azure.com refused

Solution icon of github
via GitHub by CGTGauravk
, 1 year ago
Connection to https://mobileclient.sandbox.paypal.com refused

Solution icon of github
via GitHub by argilo
, 7 months ago
Connection to https://www.google.com refused

Solution icon of googlegroups
via Google Groups by D KYON, 1 year ago
Connection to https://android.apis.google.com refused

Stack trace

  • org.apache.http.conn.HttpHostConnectException: Connection to https://api.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.post(INaturalistService.java:2521) at org.inaturalist.android.INaturalistService.postObservations(INaturalistService.java:1392) at org.inaturalist.android.INaturalistService.syncObservations(INaturalistService.java:798) 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 /23.253.221.72 (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