Comments (3)
Hey @AliaksandrZhloba,
Thanks for reaching out.
Could you provide a minimal reproducible case (for instance, full Kubernetes manifest to reproduce the issue)?
In the meantime, if any community member can help us find verified steps to reproduce and fix the issue if possible, we would love the help.
from traefik.
Hello @nmengin ,
docker-compose.yml:
services:
reverse-proxy:
image: traefik:v2.11.2
command: --api.insecure=true --providers.docker --entryPoints.web.address=:80 --entryPoints.websecure.address=:443
ports:
- "80:80"
- "8080:8080"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
backend:
image: ealen/echo-server
labels:
- traefik.http.routers.backend.rule=Host(`echo.docker.localhost`) || PathPrefix(`/echo`)
- traefik.http.routers.backend.entrypoints=web
- traefik.http.services.backend.loadbalancer.server.port=80
- traefik.http.routers.backend.middlewares=limit@docker
- traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=20000
POST echo.docker.localhost with any large body.
Tried web and websecure entrypoints - the result is the same.
Tried v2.11.2 and v3.0.0 - similar (although v3.0.0 sometimes writes ERR write: total size of 32768 exceeded allowed 20000 entryPointName=web middlewareName=limit@docker middlewareType=Buffer routerName=backend@docker
to log).
When maxResponseBodyBytes=2000 - the response is 500 Internal Server Error
When maxResponseBodyBytes=20000 - the response is 200, by the body is not only trimmed but sometimes contains some trash.
from traefik.
Hey @AliaksandrZhloba,
Thanks for the additional information.
If any community member can help us to move forward on it, we would love the help.
from traefik.
Related Issues (20)
- Traefik v2 does not show client IP address in X-Forwarded-For and/or in X-Real-Ip headers HOT 3
- Improving Documentation for Non-Containerized Environments HOT 4
- logs.compress integer or boolean? HOT 1
- Dashboard displays duplicate entries for IPAllowList's sourceRange/ipStrategy HOT 2
- middleware error is responding with error http response code though it is redirected to error page to client HOT 1
- Docs mention `--tracing.otlp.http=true` flag but it is not accepted HOT 4
- Traefik does not resolve TLS ingress if termination secret created after ingress HOT 1
- More resiliant approach for in-flight requests on terminating Pods
- traefik_open_connections metric drifts down until negative HOT 4
- Service label in traefik_service_server_up metric is not human-readable
- filter query params from logs
- Dual Logging paths
- rate limit middleware to support long latency requests
- Log files not persisted on container restart
- Cannot load rules / directives from config files
- Can't upload docker images larger than 2GB via traefik 3.0 proxy HOT 7
- The final response code of my api service when using traefik error middleware is of main service ? - error service ?
- provider=swarm - Gateway time-out Error code 504
- Kubernetes Ingress With Wildcard Host Doesn't Cover Hosts With Undescores (_)
- Traefik V3 break on TCP Routers filter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traefik.