新鲜的ASP.NET Core 2.1 App Engine项目返回503错误

时间:2018-11-28 03:58:12

标签: google-app-engine asp.net-web-api

我刚刚安装了适用于Visual Studio的Cloud Tools,并使用该云工具创建了针对Google App Engine的新默认ASP.NET Core 2.1产品。

在本地运行新的默认应用程序时,默认控制器将返回样本值。但是,当部署到App Engine时,Web服务会返回503错误。

https://my-project-nam.appspot.com/api/values

503. That’s an error.
The service you requested is not available at this time.
Service error -27. That’s all we know.

我错过了一步吗?如何在App Engine生产站点上访问API值?

1 个答案:

答案 0 :(得分:0)

根据wikipedia,出现503服务不可用错误表示: 服务器当前不可用(因为服务器过载或停机以进行维护)。通常,这是一个临时状态。

错误消息也非常明确:The service you requested is not available at this time

如果再次出现该错误,建议您等待5-10分钟,然后重试。如果错误仍然存​​在,请联系支持。