Comments (8)
Please try with the latest versions as there have been a number of fixes made in this area
from spring-cloud-gateway.
We tried with 4.0.9, we still see the same issue.
We will build a sample app and share it.
from spring-cloud-gateway.
The latest version is 4.1.3
from spring-cloud-gateway.
We cannot accept 4.1.3 as yet coz as per the dependency of SCG it needs Spring Boot 3.2.x and our applications are not ready with SB 3.2.x as it has many changes.
We are currently on SB 3.1.x.
from spring-cloud-gateway.
Hi,
I am attaching the applications that I build to reproduce the issues.
demoMemoryLeak1 application have the webclient for sending the request running on port 8080
demo2 is the SCG application running on port 8089
stub-app2 is the stub application the on port 8087
Start all three application and send the curl request attached below
while true; do curl --http2-prior-knowledge --request GET 'http://localhost:8080/instances' --header 'x-http2-scheme: http' -H "Content-Type: application/json"; done
demoMemoryLeak1 2.zip
demo 2.zip
stub-app 2.zip
from spring-cloud-gateway.
I am also attaching the results of my test run for the simulation of this issue. As per my assessment the issue is arising because the SCG is not able to handle the DATA packet which is having the length as zero. I am attaching the screenshot of tcpdump along with tcpdump file and the logs which shows that Data Leak is happening.
![Screenshot 2024-05-21 at 12 02 20 PM](https:
Archive.zip
//github.com/spring-cloud/spring-cloud-gateway/assets/60240577/552250df-48d6-4fc6-a18e-b78122091401)
from spring-cloud-gateway.
The communication is on http2 please apply this filter to see the traffic for demo2 application.
tcp.port==8089 && http2
from spring-cloud-gateway.
Hi Folks, Can you please give a update regarding until when the fix will be delivered for this.
from spring-cloud-gateway.
Related Issues (20)
- 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 1
- Gateway gives error while reading response from GRPC requests "ResponseFacade cannot be cast to class HttpServerResponse"
- Spring Cloud Gateway MVC: Request headers intermittently dropped.
- How can I configure different RedisRateLimiter to apply to different routes? HOT 1
- [SpringCloudGateway]: Netty HttpClient failed to connect with SSLHandshakeException after establishing HTTPS connection with endpoint HOT 13
- LEAK: ByteBuf.release() was not called before it's garbage-collected. HOT 1
- ProxyExchange function for pass-through forwarding of HTTP methods HOT 4
- GatewayMetricsFilter should have Ordered.HIGHEST_PRECEDENCE
- Max Header Size above 8KB seems in-configurable
- is there any plans to support Token Exchange? maybe An TokenExchangeGatewayFilterFactory or something else
- application run failed while built with native-image
- Spring cloud gateway MVC fails when adding a custom filter using yaml annotations HOT 4
- Request for SCG Team's suggestions- Using custom thread pool for SCG layer processing
- Property use-insecure-trust-manager not working on spring cloud gateway MVC HOT 1
- JsonToGrpc Filter doesn't work without jackson-dataformats-binary dependency
- Declarative Gateway Filter Factory for MVC HOT 1
- RemoveRequestParameterGatewayFilterFactory not support RFC 3986
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.