org.apache.http.conn.HttpHostConnectException: Connect to master.mesos:80 [master.mesos/192.168.1.4] failed: Connection refused

GitHub | luhkevin | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    kafka package -- master.mesos port 80?

    GitHub | 6 months ago | luhkevin
    org.apache.http.conn.HttpHostConnectException: Connect to master.mesos:80 [master.mesos/192.168.1.4] failed: Connection refused
  2. 0

    apache httpclient 4.5.1 making only SSL conections to non-ssl sites, and failing

    Stack Overflow | 1 year ago | Praveen
    java.lang.Exception: Connect to 189.219.54.22:10000 [/189.219.54.22] failed: Connection timed out: connect ...
  3. 0

    Connecting a 2nd jube to master jube, and killing client spams logs on master

    GitHub | 2 years ago | davsclaus
    org.apache.http.conn.HttpHostConnectException: Connect to localhost:8282 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclispe: REST Connection is refused in Oozie Java action node but succeeds in Eclipse and command line - EclPeople.com

    eclpeople.com | 2 years ago
    org.apache.http.conn.HttpHostConnectException: Connect to www.thomas-bayer.com:80 [www.thomas-bayer.com/80.152.243.114] failed: Connection refused
  6. 0

    GitHub comment 140#138051444

    GitHub | 1 year ago | princes1
    org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:8080 [/127.0.0.1] failed: 拒绝连接
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.http.conn.HttpHostConnectException

    Connect to master.mesos:80 [master.mesos/192.168.1.4] failed: Connection refused

    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect()
  2. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)[httpclient-4.5.2.jar:4.5.2]
    2. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)[httpclient-4.5.2.jar:4.5.2]
    3. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)[httpclient-4.5.2.jar:4.5.2]
    4. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)[httpclient-4.5.2.jar:4.5.2]
    5. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)[httpclient-4.5.2.jar:4.5.2]
    6. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[httpclient-4.5.2.jar:4.5.2]
    7. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[httpclient-4.5.2.jar:4.5.2]
    8. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[httpclient-4.5.2.jar:4.5.2]
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[httpclient-4.5.2.jar:4.5.2]
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)[httpclient-4.5.2.jar:4.5.2]
    10 frames
  3. Apache HttpClient Fluent API
    Request.execute
    1. org.apache.http.client.fluent.Request.internalExecute(Request.java:173)[fluent-hc-4.5.2.jar:4.5.2]
    2. org.apache.http.client.fluent.Request.execute(Request.java:177)[fluent-hc-4.5.2.jar:4.5.2]
    2 frames
  4. org.apache.mesos
    Capabilities.supportsNamedVips
    1. org.apache.mesos.dcos.DcosCluster.getDcosVersion(DcosCluster.java:37)[dcos-commons-0.4.29-SNAPSHOT.jar:na]
    2. org.apache.mesos.dcos.Capabilities.supportsNamedVips(Capabilities.java:17)[dcos-commons-0.4.29-SNAPSHOT.jar:na]
    2 frames
  5. com.mesosphere.dcos
    KafkaUpdateBlock.start
    1. com.mesosphere.dcos.kafka.offer.PersistentOfferRequirementProvider.getNewOfferRequirementInternal(PersistentOfferRequirementProvider.java:408)[kafka-scheduler.jar:na]
    2. com.mesosphere.dcos.kafka.offer.PersistentOfferRequirementProvider.getNewOfferRequirement(PersistentOfferRequirementProvider.java:52)[kafka-scheduler.jar:na]
    3. com.mesosphere.dcos.kafka.plan.KafkaUpdateBlock.getOfferRequirement(KafkaUpdateBlock.java:208)[kafka-scheduler.jar:na]
    4. com.mesosphere.dcos.kafka.plan.KafkaUpdateBlock.start(KafkaUpdateBlock.java:85)[kafka-scheduler.jar:na]
    4 frames
  6. org.apache.mesos
    DefaultStageScheduler.resourceOffers
    1. org.apache.mesos.scheduler.plan.DefaultStageScheduler.resourceOffers(DefaultStageScheduler.java:59)[dcos-commons-0.4.29-SNAPSHOT.jar:na]
    1 frame
  7. com.mesosphere.dcos
    KafkaScheduler.resourceOffers
    1. com.mesosphere.dcos.kafka.scheduler.KafkaScheduler.resourceOffers(KafkaScheduler.java:232)[kafka-scheduler.jar:na]
    1 frame