Unable to Load Dashboard Page #21143
Labels
area/dashboard
kind/bug
Outline of a bug - must adhere to the bug report template.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P1
Has a major impact to usage or development of the system.
Describe the bug
Che Dashboard crashes due to errors on the front end.
Che Dashboard redirects to keycloak, logs user in, and redirects back to che daskboard, here the user's token (/api/token) is valid and the user's (api/user) is also populated properly. These are the logs in the front end:
client.f26467f483f9ac419981.js:1 Skip keycloak settings field: che.oidc.auth_server_url client.f26467f483f9ac419981.js:1 Skip keycloak settings field: che.oidc.username_claim client.f26467f483f9ac419981.js:1 Skip keycloak settings field: che.oidc.oidc_provider
vendor.591bfce3d6abac540979.js:66 WebSocket connection to 'wss://code.url.com/api/websocket?token={token}' failed:
react_devtools_backend.js:4061 UD: preload data failed. undefined
react_devtools_backend.js:4061 TypeError: Cannot read properties of undefined (reading 'email') at Xe.render (client.f26467f483f9ac419981.js:1:86930) at Bi (vendor.591bfce3d6abac540979.js:115:69877) at Vi (vendor.591bfce3d6abac540979.js:115:69672) at gs (vendor.591bfce3d6abac540979.js:115:105471) at lc (vendor.591bfce3d6abac540979.js:115:96718) at sc (vendor.591bfce3d6abac540979.js:115:96643) at Qs (vendor.591bfce3d6abac540979.js:115:93673) at Zs (vendor.591bfce3d6abac540979.js:115:90437) at Nc (vendor.591bfce3d6abac540979.js:115:111885) at vendor.591bfce3d6abac540979.js:115:113128
After that the websocket keeps trying to connect and failing.
Within my setup, I am using an external keycloak service.
Che version
7.42@latest
Steps to reproduce
CHE_KEYCLOAK_JS__ADAPTER__URL: {{ .Values.customOidcUrl }}/js/keycloak.js
Expected behavior
Dashboard to not show a white, empty screen.
Runtime
Kubernetes (vanilla)
Screenshots
No response
Installation method
other (please specify in additional context)
Environment
Amazon
Eclipse Che Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: