While attempting to go through the 3.2 ARD Hub manual upgrade procedures, I am getting an Internal Server (500) error when attempting to launch any of the Web UIs, including Keycloak. The service starts without issue, as does the microservices in Tomcat, I only noticed a problem when attempting to launch the UIs.
I followed the steps as documented in the ARD 3.2 documentation - https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/agile-requirements-designer/3-2/installing/install-ard-hub/install-ard-hub-manually.html
However, it is possible I missed a step. The error I am seeing in the server.log, after trying to reach the Keycloak Web UI is as follows:
2021-09-01 13:29:08,734 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-1) Uncaught server error: javax.ws.rs.core.UriBuilderException: RESTEASY003330: Failed to create URI: {{server}}.bpc.broadcom.net:
at [email protected]//org.jboss.resteasy.specimpl.ResteasyUriBuilder.buildFromValues(ResteasyUriBuilder.java:829)
at [email protected]//org.jboss.resteasy.specimpl.ResteasyUriBuilder.build(ResteasyUriBuilder.java:811)
at [email protected]//org.keycloak.models.KeycloakUriInfo.getBaseUri(KeycloakUriInfo.java:93)
at [email protected]//org.keycloak.protocol.AuthorizationEndpointBase.checkSsl(AuthorizationEndpointBase.java:163)
at [email protected]//org.keycloak.protocol.oidc.endpoints.AuthorizationEndpoint.process(AuthorizationEndpoint.java:133)
....
Caused by: java.net.URISyntaxException: Expected scheme-specific part at index 31: {{server}}.bpc.broadcom.net:
at java.base/java.net.URI$Parser.fail(URI.java:2915)
at java.base/java.net.URI$Parser.failExpecting(URI.java:2921)
at java.base/java.net.URI$Parser.parse(URI.java:3121)
at java.base/java.net.URI.<init>(URI.java:600)
at [email protected]//org.jboss.resteasy.specimpl.ResteasyUriBuilder.buildFromValues(ResteasyUriBuilder.java:820)
... 81 more
Windows and Linux (Non Docker Images)
Prior to ARD 3.2, ARD Hub used Keycloak v 5.0.0. However, with ARD 3.2, you must install Keycloak v 13.0.1, which requires that you properly configure the frontendURL in the standalone.xml file. This error is seen when the frontendURL is not properly configured or contains a typo.
The ARD 3.2 Hub upgrade steps can be found at https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/agile-requirements-designer/3-2/installing/install-ard-hub/upgrade-or-reconfigure-ard-hub.html