Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.3.0.RELEASE
    • Fix Version/s: 1.3.0.RELEASE
    • Component/s: None
    • Labels:
      None

      Description

      When try to use "cloud foundry" commands with email and password, appears the following error:

      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)
      

      api.cloudfoundry.com is a default URL value that not exists yet. Change with new one api.run.pivotal.io and review addon functionalities.

        Attachments

          Activity

            People

            • Assignee:
              jcgarcia Juan Carlos García del Canto
              Reporter:
              jcgarcia Juan Carlos García del Canto
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: