Webservice returns invalid response containing Empty Headers (":") (2) #15738
Labels
status: waiting-for-feedback
We need additional information before we can continue
type: bug
A general bug
This is the follow-up of #15384. I have been ping-ponged between spring-framework and spring-security, I think after all there should be some interest to have some working solution no matter were exactly the problem is caused?
Original Issue:
Our Webservice that uses WebFlux returns sometimes responses like:
As you can see, there is an invalid header
:
.The WebClient call (Netty) fails with:
IllegalArgumentException: empty headers are not allowed []
On server side nothing is logged.
Here you can find an example that reproduces that problem (It will not always fail and sometimes fail with other errors that sound related): https://github.com/david0/mre-spring-empty-header/blob/main/src/test/java/com/github/david0/streamedheaderproblem/FooControllerTest.java
The text was updated successfully, but these errors were encountered: