本篇內(nèi)容主要講解“SAP部署應(yīng)用時(shí)遇到的502錯(cuò)誤怎么解決”,感興趣的朋友不妨來(lái)看看。本文介紹的方法操作簡(jiǎn)單快捷,實(shí)用性強(qiáng)。下面就讓小編來(lái)帶大家學(xué)習(xí)“SAP部署應(yīng)用時(shí)遇到的502錯(cuò)誤怎么解決”吧!
創(chuàng)新互聯(lián)建站是一家專(zhuān)業(yè)提供武陵企業(yè)網(wǎng)站建設(shè),專(zhuān)注與成都做網(wǎng)站、成都網(wǎng)站制作、H5場(chǎng)景定制、小程序制作等業(yè)務(wù)。10年已為武陵眾多企業(yè)、政府機(jī)構(gòu)等服務(wù)。創(chuàng)新互聯(lián)專(zhuān)業(yè)的建站公司優(yōu)惠進(jìn)行中。
我在SAP云平臺(tái)的WebIDE里創(chuàng)建了一個(gè)新的UI5應(yīng)用,添加了一個(gè)HTML5 module:
試圖將其部署到SAP云平臺(tái)時(shí),
遇到如下錯(cuò)誤:
> 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.1 modules: - name: ui type: html5 path: ui parameters: disk-quota: 256M memory: 256M build-parameters: builder: grunt requires: - name: uaa_tutorial - name: dest_tutorial resources: - 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
```
錯(cuò)誤消息的核心是這一行:
> Service broker destination-service-broker failed with: Quota limit exceeded.
在quota分配里,增加Destination service的quota即可:
到此,相信大家對(duì)“SAP部署應(yīng)用時(shí)遇到的502錯(cuò)誤怎么解決”有了更深的了解,不妨來(lái)實(shí)際操作一番吧!這里是創(chuàng)新互聯(lián)網(wǎng)站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢(xún),關(guān)注我們,繼續(xù)學(xué)習(xí)!