CodeReady with Keycloak errors

Posted on

I used the Code Ready deploy script to run code ready and have given routes to keycloak and codeready, but when I go to launch the code ready console I receive an error Authorization Token is missing

Looking at the Chrome console the following errors are given.

Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
app-de6c205124.js:126645 Mixed Content: The page at 'https://codeready.openshift.xxx,xxx/dashboard/' was loaded over HTTPS, but requested an insecure script 'http://keycloak-workspaces.router.default.svc.cluster.local/auth/js/keycloak.js'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ app-de6c205124.js:126645
i @ app-de6c205124.js:126634
(anonymous) @ app-de6c205124.js:126720
Promise.then (async)
(anonymous) @ app-de6c205124.js:126717
l @ app-de6c205124.js:3630
u @ app-de6c205124.js:3698
setTimeout (async)
(anonymous) @ app-de6c205124.js:3736
l @ app-de6c205124.js:3364
fireWith @ app-de6c205124.js:3494
fire @ app-de6c205124.js:3502
l @ app-de6c205124.js:3364
fireWith @ app-de6c205124.js:3494
ready @ app-de6c205124.js:3974
g @ app-de6c205124.js:3984
app-de6c205124.js:126739 Keycloak initialization failed with error: Error loading script.

if I click on the route that I gave keycloak, it opens the authorization console and I can login with the default username and password. But for some reason inside the codeready deployment it's not seeing the actual HTTPS with the actual link to the correct site.

Am I missing something in what I did or do I need to configure something else?

Responses