-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
Spring Boot WebFlux 3.0.3 results in the hostname "0:0:0:0:0:0:0:1" #2090
Comments
I have the same problem but I reproduce it a little bit different. My properties:
When I open url
Temurin JDK17, URLDecoder.java:235, param |
This might be caused by spring-projects/spring-framework@5847454. |
Hi everyone ! I have exactly the same issue with Spring Boot 3.0.3, running on Ubuntu 20.04.5 LTS. Additionnaly, it causes some issues with actuator/prometheus, as the URLs are shown in my browser with IPV6 localhost resolution : {
"_links": {
"self": {
"href": "http://[0:0:0:0:0:0:0:1%250]:9321/metrics",
"templated": false
},
...
} I was able to quick fix this by adding these properties to my server.address: 127.0.0.1
management.server.address: 127.0.0.1 Another solution is to add a command line argument to the JVM : Does anyone openend an issue to Spring Framework repository or find a "real" fix ? Edit : just found the related issue spring-projects/spring-framework#30033 |
Just upgrade Spring Boot 3.0.4 to solve this problem. |
It's a spring-boot issue. |
Describe the bug
After upgrading from Spring Boot WebFlux 3.0.2 to Spring Boot WebFlux 3.0.3 I am getting an odd hostname:
To Reproduce
I have a super simple spring boot 3.0.3 project in https://github.com/davidmelia/open-api-issues-hostname
Navigating to http://localhost:8080/webjars/swagger-ui/index.html#/home-controller/home you can see the odd hostname
Expected behavior
if you downgrade to boot 3.0.2 in the pom you get the usual hostname:
The text was updated successfully, but these errors were encountered: