Comments (6)
Is this still an issue with the supported version of spring cloud 4.1.1?
from spring-cloud-gateway.
Is this still an issue with the supported version of spring cloud 4.1.1?
yes, the issue still exists.
Please mainly focus on the impact of my changes to the source code NettyWriteResponseFilter
.
I added comments to the sample code.
from spring-cloud-gateway.
Can you tell me how to reproduce it?
from spring-cloud-gateway.
Test topology:
- Jmeter (Constructing HTTP post requests,100 qps is enough)->
- Spring Cloud Gateway( version 4.1.1 can reproduce and make the modifications according to my previous comments in
NettyWriteResponseFilter
)-> - DownStream Services(a netty http server Or a springboot server)
Notes:
- Jmeter runs on Windows10 ,The number of threads in the testing group should be greater than 1
- Every other service runs on a 2-core 4GB Ubuntu virtual machine
- If the number of errors occurring is positively correlated with QPS, then it represents a reproduction
- the errors is
Connection has been closed BEFORE response, while sending request body
,Or You can supplement the logs indoOnCancel(() -> cleanup(exchange))
,which also represents a reproduction
from spring-cloud-gateway.
The issue I asked is related to this one?
reactor/reactor-netty#741
from spring-cloud-gateway.
Does the question subject have a solution?
I have also been troubled by this issue in my project for a long time..
from spring-cloud-gateway.
Related Issues (20)
- direct memory always increases when adding custom filter to get request body size
- Spring Cloud Gateway not allowing Encoded URL paths after Update HOT 2
- Documentation Link on spring.io for 4.1.3 does not work.
- Spring Cloud Gateway MVC, order of before and after functions. HOT 6
- Unable to integrate grpc with spring cloud gateway HOT 4
- Can't have @PostRequest with formdata in spring-cloud-gateway-mvc application HOT 1
- How can i intergrate central swagger for all microservices from gateway
- problem with URL encoding
- how to use JsonToGrpc GatewayFilter HOT 5
- Noticing leaks in release of byte buffers HOT 8
- Doesn't load p12
- Gateway MVC: space character in POSTed JSON leads to IOException: insufficient data written HOT 1
- Unbale to call writeWith(Publisher<? extends DataBuffer> body) method from a filter which extends AbstractGatewayFilterFactory HOT 1
- requests can affect each other between route HOT 2
- some button in dashboard does not work if we have Spring Cloud Gateway(enabled with basic auth) set in front of SCDF HOT 2
- Make client response input stream available in request attribute
- Field routesToCache inner class AdaptCachedBodyGlobalFilter maybe should be modified
- Race condition deletes routes from Gateway when invoking /actuator/gateway/refresh for a subset of routes
- Server Side event Responses from an server behind Spring-clod-gateway-mvc HOT 14
- Gateway gives error while reading response from GRPC requests "ResponseFacade cannot be cast to class HttpServerResponse"
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 spring-cloud-gateway.