简体   繁体   English

Google Cloud Run 404 服务之间的内部流量错误

[英]Google Cloud Run 404 Error on internal traffic between services

I am currently trying to connect two Google Cloud Run services.我目前正在尝试连接两个 Google Cloud Run 服务。 Both use the default service account, are deployed in europe-west1 , require no IAM-authentication and only accept internal traffic (and load balancing traffic).两者都使用默认服务帐户,部署在europe-west1 ,不需要 IAM 身份验证,只接受内部流量(和负载平衡流量)。 I have following architecture我有以下架构

Load Balancer
    |
    ` /service -------> service-0 -------> service-1

service-0 acts as reverse proxy that adds some authentication headers and is connected to service-1 via its https://<service-1>.run.app url. service-0充当反向代理,添加一些身份验证标头,并通过其https://<service-1>.run.app url 连接到service-1 Whenever I try to connect to service-1 from the Internet (via Load Balancer and service-0 ) I get a 404 error from the ingress sitting in front of service-1 .每当我尝试从 Internet 连接到service-1时(通过负载均衡器和service-0 ),我都会从service-1前面的入口处收到 404 错误。 I can verify that service-0 forwards the request correctly.我可以验证service-0是否正确转发了请求。

However when I expose service-1 to the internet, I reach the service without any problems.但是,当我将service-1公开到 Internet 时,我可以毫无问题地访问该服务。

This post Google Load Balancer to Cloud Run giving 404 suggests that it is an issue with europe-west1 region, but I cannot simply switch the region.这篇Google Load Balancer to Cloud Run 的帖子给出 404表明这是 europe-west1 区域的问题,但我不能简单地切换区域。 Any help would be appreciated.任何帮助,将不胜感激。

After some time now, it turned out to be a Problem with Google Cloud Run in europe-west1.一段时间后,事实证明这是欧洲西部 Google Cloud Run 的问题1。 We contacted support and switched to GKE.我们联系了支持人员并切换到 GKE。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 具有内部流量的 Cloud Run 中的 Nginx 有效但出现连接错误 - Nginx in Cloud Run with internal traffic works but gives connect errors 允许在其他项目中访问具有内部流量入口的云运行服务 - Allowing cloud run service with internal traffic ingress to be accessible in other projects 如何知道 Google Cloud Run 实例何时停止提供流量 - How to Know When a Google Cloud Run Instance Stops Serving Traffic HTTP 404 将 Google 的 Cloud Run 连接到 Firebase 主机时出错 - HTTP 404 Error setting hooking up Google's Cloud Run to Firebase Hosting 执行容器运行状况检查时发生 Google Cloud Run 内部错误 - Google Cloud Run Internal error occurred while performing container health check Cloud Run 错误:内部系统错误。 缺少必要的权限 - Cloud Run error: Internal system error. Missing necessary permission 502 / 503 / 404 HTTP 错误:GKE ingress-nginx 将来自其他命名空间的流量提供给错误的服务 - 502 / 503 / 404 HTTP error : GKE ingress-nginx serving traffic to the wrong services, from other namespaces 尝试向 Cloud Run 容器发出 HTTP 请求时出现 404 错误 - 404 error when trying to make HTTP request to Cloud Run Container 如何从不同的项目和他自己的项目中获取内部云运行服务? - How to reach internal cloud run services from a different project and his own? 无法部署到 Cloud Run,“遇到内部错误”,建议? - Cannot deploy to Cloud Run, `Internal error encountered`, suggestions?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM