Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google app engine Google应用程序引擎配额错误,但未超过配额_Google App Engine_Google Cloud Platform - Fatal编程技术网

Google app engine Google应用程序引擎配额错误,但未超过配额

Google app engine Google应用程序引擎配额错误,但未超过配额,google-app-engine,google-cloud-platform,Google App Engine,Google Cloud Platform,尝试使用gcloud app deploy将我的应用部署到Google app Engine时,我遇到以下错误 error [INTERNAL]: An internal error occurred while processing task /appengine-flex-v1/insert_flex_deployment/flex_create_resources>2020-05-22T15:14:57.416Z3210.jc.5: Deployment Manager operat

尝试使用gcloud app deploy将我的应用部署到Google app Engine时,我遇到以下错误

error [INTERNAL]: An internal error occurred while processing task /appengine-flex-v1/insert_flex_deployment/flex_create_resources>2020-05-22T15:14:57.416Z3210.jc.5: Deployment Manager operation thesis-lock/operation-1590160497681-5a63e1799a578-3c148be2-663d8bc4 errors: [code: "RESOURCE_ERROR"
location: "/deployments/aef-flex-20200522t171231/resources/aef-flex-20200522t171231"
message: "{\"ResourceType\":\"compute.beta.regionAutoscaler\",\"ResourceErrorCode\":\"403\",\"ResourceErrorMessage\":{\"code\":403,\"errors\":[{\"domain\":\"usageLimits\",\"message\":\"Exceeded limit \'QUOTA_FOR_INSTANCES\' on resource \'aef-flex-20200522t171231\'. Limit: 8.0\",\"reason\":\"limitExceeded\"}],\"message\":\"Exceeded limit \'QUOTA_FOR_INSTANCES\' on resource \'aef-flex-20200522t171231\'. Limit: 8.0\",\"statusMessage\":\"Forbidden\",\"requestPath\":\"https://compute.googleapis.com/compute/beta/projects/.../regions/europe-west1/autoscalers\",\"httpMethod\":\"POST\"}}"
我以前能够以完全相同的方式部署,没有任何问题或错误。我没有更改我的应用程序。yaml。我已经在控制台中检查了我的配额,但是我找不到超过的配额。该文件没有提供任何见解

关于我能做什么有什么想法吗


我发现了一些类似的问题,但似乎没有一个具体指向这个问题,而且针对这些问题提出的解决方案似乎都不起作用。

我也经历过同样的问题。挖了3天后。我找到了一个对我有效的解决办法。我选择使用标准环境而不是env:flex(flex环境)。我已经更改了我的配置文件,即app.yaml,如下所示

a detailed form with each file type.

 runtime: python27
 threadsafe: true
 api_version: 1

 handlers:
 - url: /(.+\.js)
   static_files: app/\1
   upload: app/(.+\.js)

 - url: /(.+\.css)
   static_files: app/\1
   upload: app/(.+\.css)

 - url: /(.+\.png)
   static_files: app/\1
   upload: app/(.+\.png)

 - url: /(.+\.jpg)
   static_files: app/\1
   upload: app/(.+\.jpg)

 - url: /(.+\.svg)
   static_files: app/\1
   upload: app/(.+\.svg)

 - url: /favicon.ico
   static_files: app/favicon.ico
   upload: app/favicon.ico

 - url: /(.+\.json)
   static_files: app/\1
   upload: app/(.+\.json)

 - url: /(.+)
   static_files: app/index.html
   upload: app/index.html

 - url: /
   static_files: app/index.html
   upload: app/index.html

如果要部署nodejs应用程序,请将运行时更改为nodejs(版本),删除threaddSafe和api_版本,其余版本相同

我也经历过同样的经历。挖了3天后。我找到了一个对我有效的解决办法。我选择使用标准环境而不是env:flex(flex环境)。我已经更改了我的配置文件,即app.yaml,如下所示

a detailed form with each file type.

 runtime: python27
 threadsafe: true
 api_version: 1

 handlers:
 - url: /(.+\.js)
   static_files: app/\1
   upload: app/(.+\.js)

 - url: /(.+\.css)
   static_files: app/\1
   upload: app/(.+\.css)

 - url: /(.+\.png)
   static_files: app/\1
   upload: app/(.+\.png)

 - url: /(.+\.jpg)
   static_files: app/\1
   upload: app/(.+\.jpg)

 - url: /(.+\.svg)
   static_files: app/\1
   upload: app/(.+\.svg)

 - url: /favicon.ico
   static_files: app/favicon.ico
   upload: app/favicon.ico

 - url: /(.+\.json)
   static_files: app/\1
   upload: app/(.+\.json)

 - url: /(.+)
   static_files: app/index.html
   upload: app/index.html

 - url: /
   static_files: app/index.html
   upload: app/index.html

如果要部署nodejs应用程序,请将运行时更改为nodejs(版本),删除threaddSafe和api_版本,其余版本相同

您最有可能达到应用程序引擎区域的“正在使用的IP地址”配额。你可能想看看这个答案,以获得解释和可能的解决方案:你可以在这里检查你的配额:你最有可能达到你的应用引擎区域的“正在使用的IP地址”配额。您可能需要查看该答案,以便了解解释和可能的解决方案:您可以在此处检查配额: