Ingress-nginx: Websocket connection closing after a minute of being idle

Created on 9 Aug 2018  路  1Comment  路  Source: kubernetes/ingress-nginx

NGINX Ingress controller version:0.17.1

Kubernetes version (use kubectl version):1,10.5

My application is a flask web app, I deployed it with gunicorn, In development environment(without nginx), it works well, but after deployed to kubernetes, the websocket connection is closed after about one minute of being idle. any advice for this problem?

Most helpful comment

Closing. You need to update the proxy-read-timeout setting using https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#custom-timeouts
By default this is 60s

>All comments

Closing. You need to update the proxy-read-timeout setting using https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#custom-timeouts
By default this is 60s

Was this page helpful?
0 / 5 - 0 ratings