org.apache.http.conn.HttpHostConnectException: Connection to https://forgeapi.puppetlabs.com refused

JIRA | Ken kato | 2 years ago
  1. 0

    Running Geppetto 4.3.0 on WIn 7 x64 behind proxy. Proxy settings are set in Eclipse for http and https and with SOCKS cleared. When I try to add a module from the forge, it fails trying to connect to the forgeapi site directly and appears to ignore the proxy settings in Eclipse. I've attached an image of my config. Below is the error from the log file; !ENTRY org.apache.log4j 4 0 2014-11-21 09:09:03.439 !MESSAGE com.puppetlabs.geppetto.ui.wizard.ImportPuppetModuleFromForgeWizard - Error while communicating with the ForgeAPI !STACK 0 org.apache.http.conn.HttpHostConnectException: Connection to https://forgeapi.puppetlabs.com refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1138) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1076) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1050) at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.executeRequest(ForgeHttpClient.java:250) at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.doGet(ForgeHttpClient.java:208) at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.get(ForgeHttpClient.java:259) at com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.list(AbstractForgeService.java:130) at com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.listAll(AbstractForgeService.java:138) at com.puppetlabs.geppetto.ui.wizard.ImportPuppetModuleFromForgeWizard$PuppetProjectFromForgeCreationPage$3$1.run(ImportPuppetModuleFromForgeWizard.java:161) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:414) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ... 13 more

    JIRA | 2 years ago | Ken kato
    org.apache.http.conn.HttpHostConnectException: Connection to https://forgeapi.puppetlabs.com refused
  2. 0

    Running Geppetto 4.3.0 on WIn 7 x64 behind proxy. Proxy settings are set in Eclipse for http and https and with SOCKS cleared. When I try to add a module from the forge, it fails trying to connect to the forgeapi site directly and appears to ignore the proxy settings in Eclipse. I've attached an image of my config. Below is the error from the log file; !ENTRY org.apache.log4j 4 0 2014-11-21 09:09:03.439 !MESSAGE com.puppetlabs.geppetto.ui.wizard.ImportPuppetModuleFromForgeWizard - Error while communicating with the ForgeAPI !STACK 0 org.apache.http.conn.HttpHostConnectException: Connection to https://forgeapi.puppetlabs.com refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1138) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1076) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1050) at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.executeRequest(ForgeHttpClient.java:250) at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.doGet(ForgeHttpClient.java:208) at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.get(ForgeHttpClient.java:259) at com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.list(AbstractForgeService.java:130) at com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.listAll(AbstractForgeService.java:138) at com.puppetlabs.geppetto.ui.wizard.ImportPuppetModuleFromForgeWizard$PuppetProjectFromForgeCreationPage$3$1.run(ImportPuppetModuleFromForgeWizard.java:161) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:414) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ... 13 more

    JIRA | 2 years ago | Ken kato
    org.apache.http.conn.HttpHostConnectException: Connection to https://forgeapi.puppetlabs.com refused
  3. 0

    [lantern] Seeing a fair amount of "Unable to do a safe PublicIp Lookup" in the Loggly logs

    GitHub | 2 years ago | oxtoacart
    org.apache.http.conn.HttpHostConnectException: Connection to https://nastygal.com:443 refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception While using Proxy in Http Rest Client

    Stack Overflow | 2 years ago | Sheikh Zubair
    org.apache.http.conn.HttpHostConnectException: Connection to https://login.salesforce.com refused
  6. 0

    GCM Timeout & Connection Refused after 5000 push notifications sent

    Stack Overflow | 6 months ago | Anton Rey
    org.apache.http.conn.HttpHostConnectException: Connection to https://android.googleapis.com refused

  1. Andreas Häber 9 times, last 3 weeks ago
  2. mortalman7 1 times, last 4 months ago
  3. kid 5 times, last 8 months ago
  4. richard77 2 times, last 1 week ago
  5. treefolk 1 times, last 2 weeks ago
45 more registered users
49 unregistered visitors
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 timed out: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    8 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    1 frame
  4. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:414)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
    3. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
    4. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
    6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1138)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1076)
    9. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1050)
    9 frames
  5. com.puppetlabs.geppetto
    ImportPuppetModuleFromForgeWizard$PuppetProjectFromForgeCreationPage$3$1.run
    1. com.puppetlabs.geppetto.forge.client.ForgeHttpClient.executeRequest(ForgeHttpClient.java:250)
    2. com.puppetlabs.geppetto.forge.client.ForgeHttpClient.doGet(ForgeHttpClient.java:208)
    3. com.puppetlabs.geppetto.forge.client.ForgeHttpClient.get(ForgeHttpClient.java:259)
    4. com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.list(AbstractForgeService.java:130)
    5. com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.listAll(AbstractForgeService.java:138)
    6. com.puppetlabs.geppetto.ui.wizard.ImportPuppetModuleFromForgeWizard$PuppetProjectFromForgeCreationPage$3$1.run(ImportPuppetModuleFromForgeWizard.java:161)
    6 frames