Skip to Content
0
Nov 01, 2019 at 05:12 PM

why can't I connect to SAP Cloud console client using the latest SDK

246 Views Last edit Nov 04, 2019 at 12:42 PM 2 rev

2019-10-31 17:44:59,018 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Arguments: --account <> --user <> --host <> 2019-10-31 17:44:59,524 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Starting execution of command [list-ssl-hosts] 2019-10-31 17:44:59,538 INFO [pool-2-thread-1] com.sap.jpaas.infrastructure.console.ConsoleLogger: No SDK status file for your configuration was found. Creating a new status file... 2019-10-31 17:45:00,099 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: There is no tools page available on host <>. The default tools page on host hana.ondemand.com will be used instead. This is expected behaviour as some hosts do not have corresponding tools pages 2019-10-31 17:45:00,104 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Version validity check is completed 2019-10-31 17:45:00,105 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [list-ssl-hosts] init() finished for [581] ms 2019-10-31 17:45:26,808 ERROR [main] com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand: Validation error: com.sap.jpaas.infrastructure.console.exception.ValidationException at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:98) at com.sap.core.certificate.manager.cmd.commands.BaseConsoleCommand.getRestClient(BaseConsoleCommand.java:177) at com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand.run(ListSslHostsCommand.java:42) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:185) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:146) at com.sap.jpaas.infrastructure.console.ConsoleClient.executeCommand(ConsoleClient.java:243) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:185) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:80) Caused by: com.sap.core.utils.infrastructure.validation.HostValidationException: org.apache.http.client.ClientProtocolException at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:381) at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:96) ... 7 more Caused by: org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:867) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:115) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:348) ... 8 more Caused by: com.sap.core.utils.infrastructure.validation.NoSAPCertificateFoundException: Not a valid SAP Cloud Platform region host: <> at com.sap.core.utils.infrastructure.validation.certificate.CertificatesFinder.validate(CertificatesFinder.java:58) at com.sap.core.utils.infrastructure.validation.certificate.CertificatesFinder.process(CertificatesFinder.java:48) at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:131) at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:165) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:485) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ... 11 more 2019-10-31 17:45:26,810 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [list-ssl-hosts] cleanup() finished for [0] ms 2019-10-31 17:45:26,810 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: (!) ERROR; Not a valid SAP Cloud Platform region host: <> com.sap.jpaas.infrastructure.console.exception.CommandException at com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand.run(ListSslHostsCommand.java:60) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:185) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:146) at com.sap.jpaas.infrastructure.console.ConsoleClient.executeCommand(ConsoleClient.java:243) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:185) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:80) Caused by: com.sap.core.utils.infrastructure.validation.HostValidationException: org.apache.http.client.ClientProtocolException at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:381) at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:96) at com.sap.core.certificate.manager.cmd.commands.BaseConsoleCommand.getRestClient(BaseConsoleCommand.java:177) at com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand.run(ListSslHostsCommand.java:42) ... 5 more Caused by: org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:867) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:115) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:348) ... 8 more Caused by: com.sap.core.utils.infrastructure.validation.NoSAPCertificateFoundException: Not a valid SAP Cloud Platform region host: <> at com.sap.core.utils.infrastructure.validation.certificate.CertificatesFinder.validate(CertificatesFinder.java:58) at com.sap.core.utils.infrastructure.validation.certificate.CertificatesFinder.process(CertificatesFinder.java:48) at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:131) at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:165) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:485) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ... 11 more

SDK version: neo-java-web-sdk-3-2