Got connection lost with self host n8n on k8s contour envoy proxy

Describe the issue/error/question

I try to deploy n8n on k8s with contour envoy http proxy. However on UI I frequently get error message “Connection lost”

What is the error message (if any)?

Connection lost

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:: docker latest
  • **Database you’re using (default: SQLite): Mysql
  • Running n8n with the execution process [own(default), main]:
  • **Running n8n via [Docker, npm, n8n.cloud, desktop app]:k8s

Hey @thanhpd56, welcome to the community!

The UI would show the connection lost message when it’s unable to reach the server. Are your containers perhaps crashing or is your proxy service interrupting the connections for any reasons?

Hi, thanks for your help.
I deployed n8n on k8s, and sure that container still working as normal.
Maybe the issue comes from contour envoy proxy, I have tried to reconfig with connection iddle timeout = infinity, but it still not working. :frowning: Documentation
Do you have any experience with it.
Thanks in advanced.