iStio -Gunicorn -Python在标题之前获得503上游连接错误或断开连接/重置。重置原因:连接故障

发布于 2025-01-21 20:10:34 字数 181 浏览 1 评论 0原文

我正在运行一个ISTIO设置,我的Python烧瓶服务在Gunicorn后面运行。 从服务调试日志时,烧瓶服务在调用客户端从其其余呼叫中收到503错误时成功执行了API调用。我怀疑这可能是在处理请求的侧车代理或枪支服务器的问题。 另外,我直接从命名空间中的另一个吊舱进行服务,因此无法通过Ingress Gateway和VirtualService

I am running a Istio setup where my python flask service running behind gunicorn.
when debugging the logs from the service, the flask service successfully execute the api call while the calling client is receiving 503 error from the rest call. I suspect this might be some issue with side car proxy or gunicorn server where it is processing the request.
Also, I am hitting the service directly from another pod in the namespace and hence not going through ingress gateway and virtualservice

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

九公里浅绿 2025-01-28 20:10:34

就我而言,这是Google前端(ILB)和ISTIO服务网格之间的SSL。以某种方式,GFE和ISTIO网关在TLS上的连接并不可靠。我将其从HTTP2(HTTPS)转换为HTTP,然后开始工作。

稍后,我将调试为什么这两个之间的HTTP不起作用,而是将HTTP2移至HTTP解决了我的问题。

In my case it was the SSL between Google Front End (ILB) and Istio service mesh. Somehow the connection between GFE and Istio gateway over TLS was not reliable. I converted that to HTTP from HTTP2(https) and it started working.

I will debug later why this https between those 2 was not working but moving HTTP2 to HTTP solved my issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文