-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
WebFlux auto-configuration should only configure the blocking executor when virtual threads are enabled #39469
Comments
It appears that |
There are a few things going on here that are contributing to the problem:
Any one of these should fix the problem. We'll use this issue to address 3. |
…ot-starter-parent to v3.2.3 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.springframework.boot:spring-boot-starter-parent](https://spring.io/projects/spring-boot) ([source](https://github.com/spring-projects/spring-boot)) | parent | patch | `3.2.2` -> `3.2.3` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the logs for more information. --- ### Release Notes <details> <summary>spring-projects/spring-boot (org.springframework.boot:spring-boot-starter-parent)</summary> ### [`v3.2.3`](https://github.com/spring-projects/spring-boot/releases/tag/v3.2.3) [Compare Source](spring-projects/spring-boot@v3.2.2...v3.2.3) ####⚠️ Noteworthy - This release upgrades to Hibernate 6.4.4.Final. While it contains a number of valuable bug fixes, it does not work correctly in a native image. It you are using GraalVM, Hibernate should be temporarily downgraded to 6.4.2.Final using the `hibernate.version` property. #### 🐞 Bug Fixes - Nested jar URLs can not be resolved if the path contains spaces [#​39675](spring-projects/spring-boot#39675) - Image building runs for a long time when a long image name is used and the tag contains an illegal character [#​39638](spring-projects/spring-boot#39638) - Banner printing doesn't respect set charset [#​39621](spring-projects/spring-boot#39621) - "micrometer.observations.\*" configuration properties should be "management.observations.\*" [#​39600](spring-projects/spring-boot#39600) - Metadata reading during configuration class parsing uses the default resource loader rather than the application's resource loader [#​39598](spring-projects/spring-boot#39598) - Several gson properties, including spring.gson.disable-html-escaping, do not behave correctly when set to false [#​39524](spring-projects/spring-boot#39524) - Property placeholders aren't resolved when configuration property binding creates a Map from a property value using a converter [#​39515](spring-projects/spring-boot#39515) - Gradle plugin allows the use of Gradle 7.4 but the documented and tested minimum is 7.5 [#​39513](spring-projects/spring-boot#39513) - WebFlux auto-configuration should only configure the blocking executor when virtual threads are enabled [#​39469](spring-projects/spring-boot#39469) - TestcontainersPropertySource assertion has typo [#​39449](spring-projects/spring-boot#39449) - Webflux actuator endpoints respond with 500 when a parameter is missing [#​39444](spring-projects/spring-boot#39444) - NoSuchMethod error when using the non-shaded Pu...
…ot-starter-parent to v3.2.3 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.springframework.boot:spring-boot-starter-parent](https://spring.io/projects/spring-boot) ([source](https://github.com/spring-projects/spring-boot)) | parent | patch | `3.2.2` -> `3.2.3` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the logs for more information. --- ### Release Notes <details> <summary>spring-projects/spring-boot (org.springframework.boot:spring-boot-starter-parent)</summary> ### [`v3.2.3`](https://github.com/spring-projects/spring-boot/releases/tag/v3.2.3) [Compare Source](spring-projects/spring-boot@v3.2.2...v3.2.3) ####⚠️ Noteworthy - This release upgrades to Hibernate 6.4.4.Final. While it contains a number of valuable bug fixes, it does not work correctly in a native image. It you are using GraalVM, Hibernate should be temporarily downgraded to 6.4.2.Final using the `hibernate.version` property. #### 🐞 Bug Fixes - Nested jar URLs can not be resolved if the path contains spaces [#​39675](spring-projects/spring-boot#39675) - Image building runs for a long time when a long image name is used and the tag contains an illegal character [#​39638](spring-projects/spring-boot#39638) - Banner printing doesn't respect set charset [#​39621](spring-projects/spring-boot#39621) - "micrometer.observations.\*" configuration properties should be "management.observations.\*" [#​39600](spring-projects/spring-boot#39600) - Metadata reading during configuration class parsing uses the default resource loader rather than the application's resource loader [#​39598](spring-projects/spring-boot#39598) - Several gson properties, including spring.gson.disable-html-escaping, do not behave correctly when set to false [#​39524](spring-projects/spring-boot#39524) - Property placeholders aren't resolved when configuration property binding creates a Map from a property value using a converter [#​39515](spring-projects/spring-boot#39515) - Gradle plugin allows the use of Gradle 7.4 but the documented and tested minimum is 7.5 [#​39513](spring-projects/spring-boot#39513) - WebFlux auto-configuration should only configure the blocking executor when virtual threads are enabled [#​39469](spring-projects/spring-boot#39469) - TestcontainersPropertySource assertion has typo [#​39449](spring-projects/spring-boot#39449) - Webflux actuator endpoints respond with 500 when a parameter is missing [#​39444](spring-projects/spring-boot#39444) - NoSuchMethod error when using the non-shaded Pu...
Description of the problem
Incoming http-requests during graceful shutdown throws exceptions and 500 responses to the client.
Expected behavior is "connection refused" or 503 with no exceptions logged.
I'm using:
Example program
The application is configured with:
Application code:
Reproduce
watch -n 0.5 curl -s -v http://localhost:8080/hello
The application responds with 500 internal server errors and logs exceptions.
Logs:
The text was updated successfully, but these errors were encountered: