kubernetes-ingress
kubernetes-ingress copied to clipboard
File transmission reset every one minute.
I am using haproxytech/kubernetes-ingress:1.6.9 to connect my backend server with front ingress traffic. The issues is when I upload large files, the transmission always stopped after one minute and a new transmission was initiated that result in all the files were uncompleted. I have conducted the testings to narrow down the issue:
- Upload large file without haproxy, the transmission was successfully.
- Upload large file with haproxy on either http or https, none of them was successfully.
- Modify the timeout parameters, it did not solve the issue. Here is my configmap snippet:apiVersion: v1
kind: ConfigMap
metadata:
name: haproxy
namespace: haproxy-controller
data:
check: "true"
force-ssl-redirect: "true"
ssl-certificate: "default/tls-secret-vrm"
ssl-redirect: "true"
ssl-redirect-code: "302"
timeout-client: "5m"
timeout-client-fin: "5m"
timeout-connect: "5m"
timeout-http-keep-alive: "5m"
timeout-server: "5m"
timeout-server-fin: "5m"
http-connection-mode: "http-server-close"
rate-limit-period: "2m"
logasap: "true"
nbthread: "16"
backend-config-snippet: | option tcpka
Where was the wrong?
Hi, @Ivy9898 , sorry but your version is way too old and is not supported any more. Please update to the latest one. Do you have any reason to stick to this version ?
Hi ivan, Thanks for the response.
The version is old but worked well before I encountered, that's why I stay on this version. I've upgrade to the latest version 1.10.10 but still the same issue. I traced the log and no transmission error found. Confused where goes wrong. haproxy_ingress_1.10.10.log
Hi @Ivy9898 , can you send the configuration file from the controller ? You can find it under /etc/haproxy/haproxy.cfg. If necessary you can redact sensitive parts. We'd like to know if a parameter (default or not) can create your issue.
Hi Ivan, Thanks for your attention. The office is closed until the middle of Jan 2024. I will collect the haproxy.cfg for you when I am back to office.
Happy new year!
Hi Ivan, Here is my haproxy.cfg: haproxy.cfg.txt