Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File transmission reset every one minute. #592

Open
Ivy9898 opened this issue Dec 14, 2023 · 5 comments
Open

File transmission reset every one minute. #592

Ivy9898 opened this issue Dec 14, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Ivy9898
Copy link

Ivy9898 commented Dec 14, 2023

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:

  1. Upload large file without haproxy, the transmission was successfully.
  2. Upload large file with haproxy on either http or https, none of them was successfully.
  3. 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?

@ivanmatmati
Copy link
Collaborator

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 ?

@Ivy9898
Copy link
Author

Ivy9898 commented Dec 14, 2023

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

@ivanmatmati ivanmatmati added the bug Something isn't working label Dec 21, 2023
@ivanmatmati
Copy link
Collaborator

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.

@Ivy9898
Copy link
Author

Ivy9898 commented Dec 29, 2023

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!

@Ivy9898
Copy link
Author

Ivy9898 commented Jan 8, 2024

Hi Ivan,
Here is my haproxy.cfg:
haproxy.cfg.txt

@ivanmatmati ivanmatmati self-assigned this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants