Code Monkey home page Code Monkey logo

Comments (8)

spencergibb avatar spencergibb commented on June 9, 2024

Please try with the latest versions as there have been a number of fixes made in this area

from spring-cloud-gateway.

gaurav8628 avatar gaurav8628 commented on June 9, 2024

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.

spencergibb avatar spencergibb commented on June 9, 2024

The latest version is 4.1.3

from spring-cloud-gateway.

gaurav8628 avatar gaurav8628 commented on June 9, 2024

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.

gaurav8628 avatar gaurav8628 commented on June 9, 2024

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.

gaurav8628 avatar gaurav8628 commented on June 9, 2024

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.

gaurav8628 avatar gaurav8628 commented on June 9, 2024

The communication is on http2 please apply this filter to see the traffic for demo2 application.
tcp.port==8089 && http2

from spring-cloud-gateway.

gaurav8628 avatar gaurav8628 commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.