本篇内容主要讲解“SAP部署应用时遇到的502错误怎么解决”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“SAP部署应用时遇到的502错误怎么解决”吧!
我在SAP云平台的WebIDE里创建了一个新的UI5应用,添加了一个HTML5 module:
试图将其部署到SAP云平台时,
遇到如下错误:
> Service operation failed: Controller operation failed: 502 Updating service "dest_tutorial" failed: Bad Gateway:
> Error creating service "dest_tutorial" from offering "destination" and plan "lite": Service broker error: Service broker destination-service-broker failed with: Quota limit exceeded. Instance creation not allowed. To download logs of the process, use the multi-target application plug-in for the Cloud Foundry CLI command "cf dmol -i 4dd8405e-4e41-11ea-a7fb-eeee0a981a17" directly in your Cloud Foundry space.For more information see SAP Help Portal failed.
我的mta.yaml文件如下:
```yaml
ID: tutorial_schema-version: '2.1'version: 0.0.1modules: - name: ui type: html5 path: ui parameters: disk-quota: 256M memory: 256M build-parameters: builder: grunt requires: - name: uaa_tutorial - name: dest_tutorialresources: - name: uaa_tutorial parameters: path: ./xs-security.json service-plan: application service: xsuaa type: org.cloudfoundry.managed-service - name: dest_tutorial parameters: service-plan: lite service: destination type: org.cloudfoundry.managed-service
```
错误消息的核心是这一行:
> Service broker destination-service-broker failed with: Quota limit exceeded.
在quota分配里,增加Destination service的quota即可:
到此,相信大家对“SAP部署应用时遇到的502错误怎么解决”有了更深的了解,不妨来实际操作一番吧!这里是编程网网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!