java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:9205 [/127.0.0.1] failed: Connection refused

GitHub | ghost | 4 months ago
  1. 0

    GitHub comment 41#248329118

    GitHub | 4 months ago | ghost
    java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:9205 [/127.0.0.1] failed: Connection refused
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    You should access rundeck using that 'grails.serverURL' from the config file 'rundeck-config.properties'.
    via GitHub by gschueler
  4. 0
    Create the HttpClient with setting the credentials in the builder
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. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
    2. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
    3. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    4. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    5. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    6. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    7. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    8. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    9. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    11 frames
  4. io.searchbox.client
    JestHttpClient.execute
    1. io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:47)
    1 frame
  5. com.graphaware.module
    BaseMapping.lambda$createIndexAndMapping$9
    1. com.graphaware.module.es.mapping.BaseMapping.createIndexAndMapping(BaseMapping.java:187)
    2. com.graphaware.module.es.mapping.BaseMapping.lambda$createIndexAndMapping$9(BaseMapping.java:179)
    2 frames
  6. Java RT
    ReferencePipeline.forEach
    1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
    2. java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:175)
    3. java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
    4. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    5. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    6. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
    7. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
    8. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    9. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
    9 frames
  7. com.graphaware.module
    ElasticSearchWriter.start
    1. com.graphaware.module.es.mapping.BaseMapping.createIndexAndMapping(BaseMapping.java:177)
    2. com.graphaware.module.es.ElasticSearchWriter.createIndexIfNotExist(ElasticSearchWriter.java:156)
    3. com.graphaware.module.es.ElasticSearchWriter.start(ElasticSearchWriter.java:77)
    3 frames
  8. com.graphaware.runtime
    WriterBasedThirdPartyIntegrationModule.start
    1. com.graphaware.runtime.module.thirdparty.WriterBasedThirdPartyIntegrationModule.start(WriterBasedThirdPartyIntegrationModule.java:61)
    1 frame
  9. com.graphaware.module
    ElasticSearchModule.start
    1. com.graphaware.module.es.ElasticSearchModule.start(ElasticSearchModule.java:84)
    1 frame
  10. com.graphaware.runtime
    RuntimeKernelExtension.lambda$start$1
    1. com.graphaware.runtime.manager.ProductionTxDrivenModuleManager.start(ProductionTxDrivenModuleManager.java:48)
    2. com.graphaware.runtime.manager.BaseTxDrivenModuleManager.startModules(BaseTxDrivenModuleManager.java:107)
    3. com.graphaware.runtime.TxDrivenRuntime.startModules(TxDrivenRuntime.java:147)
    4. com.graphaware.runtime.ProductionRuntime.startModules(ProductionRuntime.java:70)
    5. com.graphaware.runtime.BaseGraphAwareRuntime.start(BaseGraphAwareRuntime.java:134)
    6. com.graphaware.runtime.bootstrap.RuntimeKernelExtension.lambda$start$1(RuntimeKernelExtension.java:117)
    6 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame