-
Notifications
You must be signed in to change notification settings - Fork 646
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
unexpected message type: io.netty.handler.codec.http.DefaultHttpContent (expected: HttpResponse) #292
Comments
Did you have the |
Yes |
when I run the test with spring boot RC1 it hangs |
How did you run it with RC1? |
I'd expect current snapshots to fail with RC1 since there are incompatibilities. If I checkout v2.0.0.M6 (which brings in boot 2 RC1) the test passes. reactor-core-3.1.3.RELEASE |
Reset compression threshold filter on handler terminated Related to issue #292
Previously the logic was not updating the buffer pending bytes. Thus would prevent flush logic to operate correctly. Also A convoluted FilteringCompressor was used.
Previously the logic was not updating the buffer pending bytes. Thus would prevent flush logic to operate correctly. Also A convoluted FilteringCompressor was used.
@violetagg Does your PR #294 resolve this issue ? Or is there any workaround or combination of versions of reactor-core, reactor-netty spring-boot that will solve this issue temporarily ? |
We are still working on this. You can expect a solution later today. |
@violetagg @smaldini Maybe you are already aware of that, but this issue is also present when using Stack-trace:
Versions:
Please let me know if you want some more info / code for reproducing it. |
Any chance to provide some reproducible scenario? |
Yes, today I will share a repo with test |
Add HttpServerResponse#compression to control per response compression.
Add HttpServerResponse#compression to control per response compression.
Add HttpServerResponse#compression to control per response compression.
Expected behavior
Not throw the error. (This worked with spring boot RC1)
Actual behavior
Steps to reproduce
https://github.com/spring-cloud/spring-cloud-netflix/blob/master/spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/hystrix/HystrixWebfluxEndpointTests.java
https://jenkins.spring.io/view/Spring%20Cloud/view/CI/job/spring-cloud-netflix-master-ci/5244/console
just remove
@Ignore
Shared
Flux
created here https://github.com/spring-cloud/spring-cloud-netflix/blob/master/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/hystrix/HystrixWebfluxEndpoint.javaUsing this
Publisher
https://github.com/spring-cloud/spring-cloud-netflix/blob/1080a1dc8305c9a044d6a86be21eeeaabd02c4da/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/hystrix/HystrixAutoConfiguration.java#L97-L100Reactor Core version
reactor-core-3.1.4.RELEASE.
JVM version (e.g.
java -version
)8u152-zulu
The text was updated successfully, but these errors were encountered: