404 page not found when i open the dashboard after successfully deplying Che
See original GitHub issueDescribe the bug
after successfully deploying Eclipse Che, when I open the dashboard URL, nothing happens expect a blank page with 404 page not found .
Che version
7.44@latest
Steps to reproduce
- chectl server:deploy --domain=osama.oc-perf.eu --platform=k8s --che-operator-cr-patch-yaml=checluster.yml --skip-oidc-provider-check --che-operator-image=quay.io/eclipse/che-operator:next
Expected behavior
I see the dashboard.
Runtime
Kubernetes (vanilla)
Screenshots
PS C:\Users\Oussema Mhiri\Downloads> kubectl get all -n eclipse-che
NAME READY STATUS RESTARTS AGE
pod/che-65c9597c5d-69v4l 1/1 Running 0 5m20s
pod/che-dashboard-6f46f4f97-ggvz5 1/1 Running 0 11m
pod/che-gateway-cdbcfddc5-88zrv 4/4 Running 0 6m25s
pod/che-operator-546774698d-cl6ks 1/1 Running 0 13m
pod/che-tls-job--1-6s7lq 0/1 Completed 0 60m
pod/che-tls-job--1-d5st9 0/1 Completed 0 75m
pod/che-tls-job--1-lsh94 0/1 Completed 0 12m
pod/devfile-registry-7bb4759bf8-8mbq7 1/1 Running 0 11m
pod/keycloak-development-d58954797-wc44x 1/1 Running 0 8m53s
pod/plugin-registry-cc67bcd45-hr89r 1/1 Running 0 11m
pod/postgres-768c969658-k4pzn 1/1 Running 0 12m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/che-dashboard ClusterIP 10.3.203.155 <none> 8080/TCP 11m
service/che-gateway ClusterIP 10.3.81.22 <none> 8080/TCP,8089/TCP 11m
service/che-host ClusterIP 10.3.78.189 <none> 8080/TCP,8087/TCP 12m
service/devfile-registry ClusterIP 10.3.19.68 <none> 8080/TCP 11m
service/keycloak-development LoadBalancer 10.3.126.164 51.210.211.139 443:32549/TCP 15m
service/plugin-registry ClusterIP 10.3.17.228 <none> 8080/TCP 11m
service/postgres ClusterIP 10.3.106.135 <none> 5432/TCP 12m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/che 1/1 1 1 11m
deployment.apps/che-dashboard 1/1 1 1 11m
deployment.apps/che-gateway 1/1 1 1 11m
deployment.apps/che-operator 1/1 1 1 13m
deployment.apps/devfile-registry 1/1 1 1 11m
deployment.apps/keycloak-development 1/1 1 1 15m
deployment.apps/plugin-registry 1/1 1 1 11m
deployment.apps/postgres 1/1 1 1 12m
NAME DESIRED CURRENT READY AGE
replicaset.apps/che-65c9597c5d 1 1 1 11m
replicaset.apps/che-dashboard-6f46f4f97 1 1 1 11m
replicaset.apps/che-gateway-cdbcfddc5 1 1 1 11m
replicaset.apps/che-operator-546774698d 1 1 1 13m
replicaset.apps/devfile-registry-7bb4759bf8 1 1 1 11m
replicaset.apps/keycloak-development-d58954797 1 1 1 15m
replicaset.apps/plugin-registry-cc67bcd45 1 1 1 11m
replicaset.apps/postgres-768c969658 1 1 1 12m
Installation method
chectl/latest
Environment
Windows
Eclipse Che Logs
PS C:\Users\Oussema Mhiri\Downloads> chectl server:deploy --domain=osama.oc-perf.eu --platform=k8s --che-operator-cr-patch-yaml=checluster.yml --skip-oidc-provider-check --che-operator-image=quay.io/eclipse/che-operator:next
βΊ Installer type is set to: 'operator'
βΊ Current Kubernetes context: 'kubernetes-admin@perf'
β Verify Kubernetes API...OK
β π Looking for an already existing Eclipse Che instance
β Verify if Eclipse Che is deployed into namespace "eclipse-che"...it is not
β π§ͺ DevWorkspace engine
β Verify cert-manager installation
β Check Cert Manager deployment...already deployed
β Wait for Cert Manager...ready
β βοΈ Kubernetes preflight checklist
β Verify if kubectl is installed
β Verify remote kubernetes status...done.
β Check Kubernetes version: Found v1.22.2.
β Verify domain is set...set to osama.oc-perf.eu.
β Check if cluster accessible [skipped]
β Following Eclipse Che logs
β Start following Operator logs...done
β Start following Eclipse Che Server logs...done
β Start following PostgreSQL logs...done
β Start following Keycloak logs...done
β Start following Plug-in Registry logs...done
β Start following Devfile Registry logs...done
β Start following Eclipse Che Dashboard logs...done
β Start following namespace events...done
β Create Namespace eclipse-che...[Exists]
β Create Namespace eclipse-che...[Exists]
β πβ Running the Eclipse Che operator
β Create ServiceAccount che-operator in namespace eclipse-che...done.
β Read Roles and Bindings...done.
β Creating Roles and Bindings...done.
β Create CRD checlusters.org.eclipse.che...It already exists.
β Waiting 5 seconds for the new Kubernetes resources to get flushed...done.
β Create deployment che-operator in namespace eclipse-che...done.
β Operator pod bootstrap
β Scheduling...done
β Downloading images...done
β Starting...done
β Prepare Eclipse Che cluster CR...Done.
β Create the Custom Resource of type checlusters.org.eclipse.che in the namespace eclipse-che...done.
β β
Post installation checklist
β PostgreSQL pod bootstrap
β Scheduling...done
β Downloading images...done
β Starting...done
β Devfile Registry pod bootstrap
β Scheduling...done
β Downloading images...done
β Starting...done
β Plug-in Registry pod bootstrap
β Scheduling...done
β Downloading images...done
β Starting...done
β Eclipse Che Dashboard pod bootstrap
β Scheduling...done
β Downloading images...done
β Starting...done
β Eclipse Che Server pod bootstrap
β Scheduling...done
β Downloading images...done
β Starting...done
β Eclipse Che status check...done
β Retrieving Che self-signed CA certificate...OK
β Prepare post installation output...done
β Show important messages
β Eclipse Che '7.45.0' has been successfully deployed.
β Documentation : https://www.eclipse.org/che/docs/
β -------------------------------------------------------------------------------
β Users Dashboard : https://osama.oc-perf.eu/dashboard/
β -------------------------------------------------------------------------------
β Plug-in Registry : https://osama.oc-perf.eu/plugin-registry/v3/
β Devfile Registry : https://osama.oc-perf.eu/devfile-registry/
β -------------------------------------------------------------------------------
Command server:deploy has completed successfully in 09:32.
Additional context
checluster.yml file
apiVersion: org.eclipse.che/v1
kind: CheCluster
metadata:
name: eclipse-che
spec:
auth:
externalIdentityProvider: true
identityProviderClientId: kubernetes
identityProviderRealm: git-dev
identityProviderURL: http://51.210.211.139:443/auth/realms/git-dev
openShiftoAuth: false
updateAdminPassword: false
server:
customCheProperties:
CHE_OIDC_USERNAME__CLAIM: "email"
keycloak.yml file
---
apiVersion: "apps/v1"
kind: "Deployment"
metadata:
name: "keycloak-development"
#namespace: "che"
spec:
selector:
matchLabels:
app: "keycloak-development"
replicas: 1
strategy:
type: "RollingUpdate"
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
minReadySeconds: 5
template:
metadata:
labels:
app: "keycloak-development"
spec:
containers:
-
name: "keycloak-development"
image: "quay.io/keycloak/keycloak:10.0.0"
#args: ["start-dev"]
#args: ["standalone.sh --start-mode=admin-only "]
imagePullPolicy: "Always"
env:
-
name: "KEYCLOAK_USER"
value: "admin"
-
name: "KEYCLOAK_PASSWORD"
value: "admin"
-
name: "PROXY_ADDRESS_FORWARDING"
value: "true"
-
name: "DB_ADDR"
value: "postgres"
-
name: "DB_VENDOR"
value: "POSTGRES"
-
name: DB_USER
value: "postgres"
-
name: DB_PASSWORD
value: "postgres"
-
name: DB_DATABASE
value: keycloak
-
name : KEYCLOAK_HTTP_PORT
value : "80"
-
name: KEYCLOAK_HTTPS_PORT
value: "443"
-
name: VIRTUAL_PORT
value: "8080"
-
name: JDBC_PARAMS
value: useSSL=false
ports:
- name: "http"
containerPort: 8080
- name: "https"
containerPort: 8443
readinessProbe:
httpGet:
path: "/auth/realms/master"
port: 8080
---
apiVersion: v1
kind: Service
metadata:
name: keycloak-development
#namespace: "che"
labels:
app: keycloak-development
spec:
ports:
- name: http
port: 443
targetPort: 8080
selector:
app: keycloak-development
type: LoadBalancer
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Error 404: 4 Ways to Fix It - Hostinger
Error 404 is a response code, meaning the server could not locate the requested content. Check this article to learn 4 steps to...
Read more >How to Fix Error 404 Not Found on Your WordPress Site - Kinsta
The Error 404 Not Found status code indicates that the origin server did not find the target resource. Check out these common causes...
Read more >404 Error Eclipse Che on GCP - URL Dashboard Blank Screen
After you archived that - please drop an issue to make Che Operator supporting custom dashboard ingress path to work on different ingress...
Read more >How to Fix WordPress 404 Not Found Error [8 Easy Solutions]
You have changed your URL's permalink structure and haven't redirected the old URL. You don't have file permissions. You have opened anΒ ...
Read more >Stuck trying to set up Eclipse Che as an in-browser IDE
The cluster is all on localhost for development, so to deploy Che I am ... a plain "404 page not found" message, over...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tolusha maybe you have some ideas smth. What caught my attention is the keycloak deployment which I think we removed in 7.42 https://github.com/eclipse/che/issues/21036
I left the configuration running and when checked after two days, it seems now I am able to access the dashboard. Not sure what happened, but as is it working, will not file a new issue as of now.