为什么我无法使用最新的SDK连接到SAP Cloud控制台客户端

2020-08-31 01:47发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) 2019-10-31 17:4...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


2019-10-31 17:44:59,018信息[main] com.sap.jpaas.infrastructure.console.ConsoleLogger:参数:--account <> --user <> --host <> 2019-10- 31 17:44:59,524 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger:开始执行命令[list-ssl-hosts] 2019-10-31 17:44:59,538 INFO [pool-2-thread -1] com.sap.jpaas.infrastructure.console.ConsoleLogger:找不到用于配置的SDK状态文件。 正在创建新的状态文件... 2019-10-31 17:45:00,099信息[main] com.sap.jpaas.infrastructure.console.ConsoleLogger:主机<>上没有可用的工具页面。 将改为使用主机 hana.ondemand.com 上的默认工具页面。 这是预期的行为,因为某些主机没有相应的工具页面2019-10-31 17:45:00,104 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger:版本有效性检查已完成2019-10-31 17 :45:00,105信息[主] com.sap.jpaas.infrastructure.console.ConsoleLogger:命令[list-ssl-hosts] init()完成[581]毫秒[ms] 2019-10-31 17:45:26,808错误[主 ] com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand:验证错误:com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(com.sap.jpaas.infrastructure.console.exception.ValidationException 在com.sap.core.certificate.manager.cmd.commands.BaseConsoleCommand.getRestClient(BaseConsoleCommand.java:177)处的com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand.run( ListSslHostsCommand.java:42)位于com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:185)位于com.sap.jpaas.infrastructure.console.CommandManager.run(CommandMana com.sap.jpaas.infrastructure.console.ConsoleClient.executeCommand(ger.java:146)位于com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:185) .sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:80)原因:com.sap.core.utils.infrastructure.validation.HostValidationException:org.apache.http.client.ClientProtocolException at com.sap。 com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:96)处的core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:381)... 7另外的原因:org org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:867)处的.apache.http.client.ClientProtocolException org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:115)处的.apache.http.client.ClientProtocolException 在com.sap.core.utils.infrastructure.validation.L的org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) andscapeHostValidator.getHttpClient(LandscapeHostValidator.java:348)...另外8个原因:com.sap.core.utils.infrastructure.validation.NoSAPCertificateFoundException:不是有效的SAP Cloud Platform区域主机:com.sap.core上的<>。 org.apache.http上的com.sap.core.utils.infrastructure.validation.certificate.CertificatesFinder.process(CertificatesFinder.java:48)上的utils.infrastructure.validation.certificate.certificatesfinder.validate(CertificatesFinder.java:58)。 org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:165)上的protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:131)在org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 485)at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)... 11更多2019-10-31 17:45:26,810 INFO [main] com.sap.jpaas.infrastructure。 console.ConsoleLogger:命令[list-ssl-hosts] cleanup()完成[0]毫秒,时间为2019-10-31 17:45:26,810致命[mai n] com.sap.jpaas.infrastructure.console.ConsoleLogger:(!)错误; 不是有效的SAP Cloud Platform区域主机:位于com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand.run(ListSslHostsCommand.java:60)的<> com.sap.jpaas.infrastructure.console.exception.CommandException com.sap.jpaas.infrastructure的com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:185)com.sap.jpaas.infrastructure的com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:146) 在com.sap.jpaas.infrastructure.console.Console.ConsoleClient.main(ConsoleClient.com)处的com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:185)处的console.ConsoleClient.executeCommand(ConsoleClient.java:243) java:80)由以下原因引起:com.sap.core.utils.infrastructure.validation.HostValidationException:org.apache.http.client.ClientProtocolException com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java :381),位于com.sap.core.c上的com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:96) ertificate.manager.cmd.commands.BaseConsoleCommand.getRestClient(BaseConsoleCommand.java:177)位于com.sap.core.certificate.manager.cmd.commands.ListSslHostsCommand.run(ListSslHostsCommand.java:42)... 5造成原因 :org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:867)上的org.apache.http.client.ClientProtocolException org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java: 115)org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:348)... 8 更多原因:com.sap.core.utils.infrastructure.validation.NoSAPCertificateFoundException:不是有效的SAP Cloud Platform区域主机:com.sap.core.utils.infrastructure.validation.certificate.CertificatesFinder.validate(CertificatesFinder。 java:58),位于com.sap.core.utils.infrastructure.validation.certificate.CertificatesFinder.process(Ce org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:131)的rtificatesFinder.java:48)org.apache.http的org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:165)的rtificatesFinder.java:48) org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)上的.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:485)... 11更多

SDK版本:neo-java-web-sdk-3-2