在我重新部署的任何服务上获得 302 重定向

Getting 302 redirects on any service that i redeploy

我们的云 运行 服务中突然出现递归 302 重定向。我们现在部署的任何服务都会遇到同样的问题。

我们 运行 一个包含大约 8 项云服务的小型应用程序 运行,最近其中一项由于 302 重定向而开始无法访问。我们在过去 40 分钟内重新部署的任何服务都存在同样的问题。

截至 8 月 28 日,Cloud 运行 现在在每个区域仅接受 HTTPS 请求。 HTTP 请求收到 302 重定向。

已发送以下强制服务公告,其中包含更多信息:

Hello Google Cloud Run Customer,

We are writing to let you know that in order to make Cloud Run secured by default, Cloud Run services will only be accessible via HTTPS.

What do I need to know? Any HTTP requests to Cloud Run services will receive a 302 "Moved Temporarily" status code that redirects to the HTTPS location. Web browsers follow this redirection.

Requests to Cloud Run services invoked via HTTP from clients which do not follow 302 redirects will start failing. To avoid any service disruption, please ensure your Cloud Run services are invoked using HTTPS (URLs that start with ‘https://’). This applies to both *.run.app endpoints and endpoints using custom domains.

What do I need to do? If your Cloud Run service is invoked via HTTP from clients that do not follow redirects, please ensure the clients making the requests use HTTPS by August 19, 2019.