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.

,
via Stack Overflow by LittlePanda

To restart the Selenium Webdriver mock browser in a testcase, first use driver.close() and then reinstantiate the driver.

Solutions on the web

via JIRA by Ryan Coleman, 1 year ago
Connection to https://forgeapi.puppetlabs.com refused
via JIRA by Ryan Coleman, 1 year ago
Connection to https://forgeapi.puppetlabs.com refused
via Coderanch by Manju Havald, 1 year ago
via nabble.com by Unknown author, 1 year ago
via Stack Overflow by santirivera92
, 2 years ago
Connection to http://www.google.es refused
java.net.ConnectException: Connection refused: 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:375)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:941)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.executeRequest(ForgeHttpClient.java:220)
at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.doGet(ForgeHttpClient.java:193)
at com.puppetlabs.geppetto.forge.client.ForgeHttpClient.get(ForgeHttpClient.java:244)
at com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.list(AbstractForgeService.java:131)
at com.puppetlabs.geppetto.forge.v3.impl.AbstractForgeService.listAll(AbstractForgeService.java:139)
at com.puppetlabs.geppetto.ui.wizard.NewPuppetProjectFromForgeWizard$PuppetProjectFromForgeCreationPage$3$1.run(NewPuppetProjectFromForgeWizard.java:161)

Users with the same issue

344 times, 31 minutes ago
3 times, 1 day ago
4 times, 1 day 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.