java.net.UnknownHostException: api.cloudfoundry.com

Spring JIRA | Juan Carlos García del Canto | 2 years ago
  1. 0

    When try to use "cloud foundry" commands with email and password, appears the following error: {code} api.cloudfoundry.com java.net.UnknownHostException: api.cloudfoundry.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:411) at sun.net.www.http.HttpClient.openServer(HttpClient.java:525) Complete! at sun.net.www.http.HttpClient.<init>(HttpClient.java:208) at sun.net.www.http.HttpClient.New(HttpClient.java:291) at sun.net.www.http.HttpClient.New(HttpClient.java:310) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841) at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:73) at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:46) at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:49) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:446) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:409) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:287) at com.vmware.appcloud.client.AppCloudClient.login(AppCloudClient.java:180) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.login(UaaAwareAppCloudClient.java:529) at com.vmware.appcloud.client.AppCloudClient.loginIfNeeded(AppCloudClient.java:194) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.loginIfNeeded(UaaAwareAppCloudClient.java:545) at org.springframework.roo.addon.cloud.foundry.CloudFoundrySessionImpl.login(CloudFoundrySessionImpl.java:206) at org.springframework.roo.addon.cloud.foundry.CloudFoundrySessionImpl.login(CloudFoundrySessionImpl.java:218) at org.springframework.roo.addon.cloud.foundry.CloudFoundryOperationsImpl$11.execute(CloudFoundryOperationsImpl.java:392) at org.springframework.roo.addon.cloud.foundry.CloudFoundryOperationsImpl.executeCommand(CloudFoundryOperationsImpl.java:247) at org.springframework.roo.addon.cloud.foundry.CloudFoundryOperationsImpl.login(CloudFoundryOperationsImpl.java:389) at org.springframework.roo.addon.cloud.foundry.CloudFoundryCommands.login(CloudFoundryCommands.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:283) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:64) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java at org.springframework.roo.shell.AbstractShell.executeCommandImpl(AbstractShell.java:226) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:146) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:421) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:539) at java.lang.Thread.run(Thread.java:662) {code} api.cloudfoundry.com is a default URL value that not exists yet. Change with new one api.run.pivotal.io and review addon functionalities.

    Spring JIRA | 2 years ago | Juan Carlos García del Canto
    java.net.UnknownHostException: api.cloudfoundry.com
  2. 0

    When try to use "cloud foundry" commands with email and password, appears the following error: {code} api.cloudfoundry.com java.net.UnknownHostException: api.cloudfoundry.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:411) at sun.net.www.http.HttpClient.openServer(HttpClient.java:525) Complete! at sun.net.www.http.HttpClient.<init>(HttpClient.java:208) at sun.net.www.http.HttpClient.New(HttpClient.java:291) at sun.net.www.http.HttpClient.New(HttpClient.java:310) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841) at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:73) at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:46) at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:49) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:446) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:409) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:287) at com.vmware.appcloud.client.AppCloudClient.login(AppCloudClient.java:180) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.login(UaaAwareAppCloudClient.java:529) at com.vmware.appcloud.client.AppCloudClient.loginIfNeeded(AppCloudClient.java:194) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.loginIfNeeded(UaaAwareAppCloudClient.java:545) at org.springframework.roo.addon.cloud.foundry.CloudFoundrySessionImpl.login(CloudFoundrySessionImpl.java:206) at org.springframework.roo.addon.cloud.foundry.CloudFoundrySessionImpl.login(CloudFoundrySessionImpl.java:218) at org.springframework.roo.addon.cloud.foundry.CloudFoundryOperationsImpl$11.execute(CloudFoundryOperationsImpl.java:392) at org.springframework.roo.addon.cloud.foundry.CloudFoundryOperationsImpl.executeCommand(CloudFoundryOperationsImpl.java:247) at org.springframework.roo.addon.cloud.foundry.CloudFoundryOperationsImpl.login(CloudFoundryOperationsImpl.java:389) at org.springframework.roo.addon.cloud.foundry.CloudFoundryCommands.login(CloudFoundryCommands.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:283) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:64) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java at org.springframework.roo.shell.AbstractShell.executeCommandImpl(AbstractShell.java:226) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:146) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:421) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:539) at java.lang.Thread.run(Thread.java:662) {code} api.cloudfoundry.com is a default URL value that not exists yet. Change with new one api.run.pivotal.io and review addon functionalities.

    Spring JIRA | 2 years ago | Juan Carlos García del Canto
    java.net.UnknownHostException: api.cloudfoundry.com
  3. 0

    Java openStream error

    Stack Overflow | 6 years ago
    java.net.UnknownHostException: dev.virtualearth.net
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build errors in Spring.io REST tutorial

    Stack Overflow | 3 years ago | am6sigma
    java.net.UnknownHostException: services.gradle.org
  6. 0

    Freebase reconciliation problem

    GitHub | 4 years ago | tfmorris
    java.net.UnknownHostException: 4.standard-reconcile.dfhuynh.user.dev.freebaseapps.com

    1 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.UnknownHostException

      api.cloudfoundry.com

      at java.net.PlainSocketImpl.connect()
    2. Java RT
      HttpClient.openServer
      1. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
      2. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      3. java.net.Socket.connect(Socket.java:529)
      4. java.net.Socket.connect(Socket.java:478)
      5. sun.net.NetworkClient.doConnect(NetworkClient.java:163)
      6. sun.net.www.http.HttpClient.openServer(HttpClient.java:411)
      6 frames