spring-cloud / spring-cloud-gateway

An API Gateway built on Spring Framework and Spring Boot providing routing and more.
http://cloud.spring.io
Apache License 2.0
4.55k stars 3.33k forks source link

Spring-Cloud-Gateway start giving 400 Bad Request response after few requests. #3602

Open syedhaider opened 17 hours ago

syedhaider commented 17 hours ago

I have migrated our gateway code from zuul-gateway to Spring-Cloud-Gateway to support Spring boot 3 and JDK17. Everything work fine for some time. Then suddenly it start giving Bad request 400 for any uri.

Here is the error which I see in the log. It doesn't provide more Information in the log then below.

[tor-http-nio-31] o.s.w.s.adapter.HttpWebHandlerAdapter : [c4a4dd5] Completed 400 BAD_REQUEST

Any help in this regards is appreciated.

Spring Boot:3.2.5

org.springframework.cloud:spring-cloud-starter-gateway:4.1.1'

spencergibb commented 17 hours ago

If you'd like us to spend some time investigating, please take the time to provide a complete, minimal, verifiable sample (something that we can unzip attached to this issue or git clone, build, and deploy) that reproduces the problem.

syedhaider commented 17 hours ago

what information from the code due need? The is the production code which I can't provide. If you need some yml config or what are filter we are using I can provide here.

spencergibb commented 15 hours ago

I need a way to replicate the problem