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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.

,
Expert tip

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Solutions on the web

via JIRA by Ken kato, 1 year ago
Connection to https://forgeapi.puppetlabs.com refused
via JIRA by Ken kato, 1 year ago
Connection to https://forgeapi.puppetlabs.com refused
via microsoft.com by Unknown author, 1 year ago
Connection to https://api.datamarket.azure.com refused
via microsoft.com by Unknown author, 2 years ago
Connection to https://api.datamarket.azure.com refused
via microsoft.com by Unknown author, 2 years ago
Connection to https://api.datamarket.azure.com refused
via Stack Overflow by Sheikh Zubair
, 2 years ago
Connection to https://login.salesforce.com refused
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 org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:414)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
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 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)

Users with the same issue

3 times, 11 hours ago
4 times, 17 hours ago
335 times, 17 hours ago
39 times, 1 week ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.