-
Notifications
You must be signed in to change notification settings - Fork 672
Returning Mono.empty causes controller to halt #518
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
Comments
This looks like the same issue as https://jira.spring.io/browse/SPR-17506. The fix on the WebFlux side, was to call |
FYI I can't reproduce this issue anymore with Spring Boot 2.1.1.RELEASE, i.e. reactor netty 0.8.3.RELEASE (I can reproduce it with 2.1.0.RELEASE, i.e. 0.8.2.RELEASE). |
@bclozel try with spring framework 5.1.2.RELEASE and Spring Boot 2.1.1.RELEASE |
You're right @violetagg, this was fixed in spring-projects/spring-framework@abf9ce8a34 |
This has been fixed in the Spring Framework. See https://jira.spring.io/browse/SPR-17609. |
Hello Team, I am new to Flux, and i am streaming the file using Flux, however, my subsequent requests from browser is getting stuck, and here is my code: @RequestMapping (value="/downloadReactive", produces=MediaType.TEXT_EVENT_STREAM_VALUE)
POM.xml:
I am stuck here, It would be great, if someone shares the solution. |
My issue is exactly same (Spring FrameworkSPR-17506). Your quick reply is highly appreciated. |
Uh oh!
There was an error while loading. Please reload this page.
The following code used to work on SpringBoot 2.0.2
After upgrading to SpringBoot 2.1.0 calling
causes any subsequent requests to this endpoint to be stalled.
Please check out test
org.springtest.EmptyMonoFailureTest#testMono
in repository https://github.com/bazusaladra/spring-mono-test.SpringBoot team advised this issue may be related to Reactor Netty: spring-projects/spring-boot#15214
The text was updated successfully, but these errors were encountered: