apisix-ingress-controller
apisix-ingress-controller copied to clipboard
request help: large file upload not work
Issue description
I configured an apisixroute and connected it to the apache service with backends
Normal operation is fine, but it does not work normally when uploading large files (> 2GB).
It looks like timeout and it's weird. Applying request_buffering: false to the proxy-control to plugin will cause more errors. Is there a solution?
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: route
spec:
http:
- name: route-upload
match:
hosts:
- aaa.com
paths:
- /upload/*
upstreams:
- name: web-upload
timeout:
connect: "8h"
send: "8h"
read: "8h"
plugins:
- name: proxy-control
enable: true
config:
request_buffering: false
Environment
- apisix ingress-controller 1.8.0
- kubectl 1.28.2 (output of kubectl version):
- Rocky Linux release 8.8
apisix has limiting for request body size. you need to use client-control plugin to change the max size of the request body.
https://apisix.apache.org/docs/apisix/plugins/client-control/
This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.