-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gateway MVC: Path seems not passing through the request body #3183
Comments
i alse meet the same problem, my springboot version is 3.2.0 and the gateway version is |
the sample was missing a |
I just tested the sample with |
the sample was missing a `@RequestBody on the body parameter |
I don't follow, where exactly should I put the
There is no |
I'll look after the holidays |
I face similar problem when using |
Any updates on this issue? |
looking now |
If I remove rest-assured and wiremock and send it to httpbin, the body is sent just fine. |
If anyone can recreate this without wiremock and rest-assured, 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. No Kotlin please. |
@spencergibb Thanks for spending time debugging this issue. You are right, Spring Cloud Gateway is working fine, I changed the HTTP client that it uses, from the JDK client to Apache client, and works fine. I just added this property to the application.yml:
Seems like the JDK HTTP client has some problems connecting with Wiremock over HTTP2, as for the stacktrace here #3183 (comment) |
Anyone else able to recreate the issue without wiremock? |
Describe the bug
Path seems not passing through the request body, for instance:
http://localhost:8089 is a Wiremock server. The following is the Wiremock logs:
And there is the following exception:
Sample
The following is a sample where you can find a test GatewayissueApplicationTests that is failing.
The text was updated successfully, but these errors were encountered: