点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) Hi CAP社区, 我创建了...
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) Hi CAP社区, 我创建了...
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
Hi CAP社区,
我创建了一个简单的CAP Node.js应用程序,该应用程序使用本地SAP Gateway系统中的外部服务。 当我在本地直接在default-env.json中配置目标的位置运行应用程序时,一切正常。
我已经部署了应用程序的MTA,该应用程序为XSUAA,目标和连接服务创建了实例,以通过SCP通过云连接器将应用程序从SCP连接到本地系统。
在SAP Cloud Platform上运行相同的请求时,日志输出指示已找到目标并使用了连接服务,但与SAP Cloud Platform上的代理的连接失败并发生超时。
{" message":"从目标服务中成功检索到目标。"," level":" info"," custom_fields":{" package":" core"," messageContext":" destination-accessor"}, " logger":" sap-cloud-sdk-logger","时间戳":" 2020-07-15T15:56:57.858Z"," msg":"从目标服务中成功检索到目标。"," write_ts":1594828617858 ," write_at":" 2020-07-15T15:56:57.858Z"} {" message":"将使用来自连接服务的OnPrem目标代理设置。"," level":" info"," custom_fields":{" package":" core"," messageContext":" proxy-util"} ," logger":" sap-cloud-sdk-logger","时间戳":" 2020-07-15T15:56:57.858Z"," msg":"将使用来自连接服务的OnPrem目标代理设置。", " write_ts":1594828617858," write_at":" 2020-07-15T15:56:57.858Z"} {" message":"无法将特定的XSUAA服务实例与给定的JWT匹配。绑定了以下XSUAA实例:ida-odata-proxy!t3647。将选择以下实例:ida-odata-proxy!t3647。 可能会在系统的其他部分产生错误!"," level":" warn"," custom_fields":{" package":" core"," messageContext":" environment-accessor"}," logger":" sap -cloud-sdk-logger"," timestamp":" 2020-07-15T15:56:57.859Z"," msg":"无法将特定的XSUAA服务实例与给定的JWT匹配。绑定了以下XSUAA实例: ida-odata-proxy!t3647。将选择以下内容:ida-odata-proxy!t3647。这可能会在系统的其他部分产生错误!"," write_ts":1594828617859," write_at":" 2020-07 -15T15:56:57.859Z"} {" message":"无法创建\" SAP-Connectivity-Authentication \"标头:在当前请求中找不到JWT。\ n没有标头就可以继续。可能无法连接到本地系统。","级别" :" warn"," custom_fields":{" package":" core"," messageContext":" connectivity-service"}," logger":" sap-cloud-sdk-logger"," timestamp":" 2020- 07-15T15:56:58.115Z"," msg":"无法创建\" SAP-Connectivity-Authentication \"标头:在当前请求中找不到JWT。\ n继续运行而没有标头。可能会连接到本地系统 不可能。"," writed_ts":1594828618115," write_at":" 2020-07-15T15:56:58.115Z"} {" message":"将使用来自连接服务的OnPrem目标代理设置。"," level":" info"," custom_fields":{" package":" core"," messageContext":" proxy-util"} ," logger":" sap-cloud-sdk-logger","时间戳":" 2020-07-15T15:56:58.116Z"," msg":"将使用来自连接服务的OnPrem目标代理设置。", " write_ts":1594828618116," write_at":" 2020-07-15T15:56:58.116Z"} 执行自定义处理程序时出错:对ProxyService.SalesOrders进行读取 [2020-07-15T15:58:13.332Z | 错误| 1727261]:连接ETIMEDOUT 3.124.208.223:20003 [2020-07-15T15:58:13.332Z | 错误| 1727261]:错误堆栈跟踪:错误:在TCPConnectWrap.afterConnect上连接ETIMEDOUT 3.124.208.223:20003 [完成时](net.js:1137:16)
本地系统的目标设置为使用基本身份验证。 因此,我希望缺少的SAP Connectivity Authentication标头不会阻止请求将SCP代理传递到Cloud Connector。
在这种情况下是否必须使用App Router?
抱歉...我知道您在SCP上运行
一周热门 更多>