After upgrade to v25.0.0, out Keycloak service can no longer start. We have defined KC_HOSTNAME to an IPv6 URL and we get the following error on startup
ERROR: Unexpected error when starting the server in (production) mode
ERROR: Failed to start quarkus
ERROR: Provided hostname is neither a plain hostname or a valid URL
We have our URL defined as such (ive altered some of the values, but the format is the same):
https://[1111:2222:3333:4444:5555:0002:0000:0000]/
This is a valid URL so I am not sure why we are getting this error. I have configured the JVM to have these settings and we still get the error:
-Djava.net.preferIPv4Stack=false
-Djava.net.preferIPv6Addresses=true
Ive also tried:
-Djava.net.preferIPv4Stack=false
-Djava.net.preferIPv6Stack=true
This address has worked with previous versions of Keycloak and we have only hit this issue after upgrade to v25.0.0.
Has anyone else run into this or have a solution on how to configure? I dont see anything in the docs, community, or issue log on Github. Could this be a regression?