本文介绍了在GKE上托管的Eclipse CHE仪表板上出现404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在GKE上托管的Eclipse-che仪表板上收到404错误。PFA屏幕截图
我已使用以下链接在GKE上安装了Eclipse-che:
https://www.eclipse.org/che/docs/che-7/installation-guide/installing-che-on-google-cloud-platform/
这安装了多个服务,如CHE仪表板、键盘遮罩、插件注册表等。其中只有CHE仪表板没有加载。睡觉所有URL工作正常。pfb inress-nginx-Controller日志:
122.175.207.163 - - [24/Jun/2021:06:24:44 +0000] "GET /dashboard/ HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 392 0.003 [eclipse-che-che-dashboard-8080] [] 10.112.2.2:8080 0 0.003 304 1c4a4882d31e464f404716dddca417d4
122.175.207.163 - - [24/Jun/2021:06:24:45 +0000] "GET /dashboard/assets/branding/branding.css HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 117 0.000 [eclipse-che-che-dashboard-8080] [] - - - - a6f48841b0eaf5135fbe12a3996e33a1
122.175.207.163 - - [24/Jun/2021:06:24:45 +0000] "GET /dashboard/assets/branding/loader.svg HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 76 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 1f006d0af83f50a08bd77765880bbe95
122.175.207.163 - - [24/Jun/2021:06:24:45 +0000] "GET /dashboard/monaco.11cc4e4084a2c0e4e596.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 52 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 2e0e0c60b5c7197129b2103fcf1fdc38
122.175.207.163 - - [24/Jun/2021:06:24:45 +0000] "GET /dashboard/vendor.c969b02c53d99bb77562.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 43 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 1815c91a1900b9354efe024cfa37a56b
122.175.207.163 - - [24/Jun/2021:06:24:45 +0000] "GET /dashboard/client.9121c736a72949f90045.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 42 0.000 [eclipse-che-che-dashboard-8080] [] - - - - ccde33e64a256bb1e8e99af2badd0863
122.175.207.163 - - [24/Jun/2021:06:24:54 +0000] "GET /dashboard/ HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 25 0.001 [eclipse-che-che-dashboard-8080] [] 10.112.2.2:8080 0 0.001 304 39b78c0228c7dd747645eff6138fea47
122.175.207.163 - - [24/Jun/2021:06:24:54 +0000] "GET /dashboard/assets/branding/branding.css HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 41 0.000 [eclipse-che-che-dashboard-8080] [] - - - - c211ae32e0e57d05c8d540b67b9078b0
122.175.207.163 - - [24/Jun/2021:06:24:54 +0000] "GET /dashboard/assets/branding/loader.svg HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 39 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 4a263c63680bec043ebb031063e6581d
122.175.207.163 - - [24/Jun/2021:06:24:55 +0000] "GET /dashboard/monaco.11cc4e4084a2c0e4e596.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 42 0.000 [eclipse-che-che-dashboard-8080] [] - - - - bf5b25a3b34c1576f405d3a76ba23f96
122.175.207.163 - - [24/Jun/2021:06:24:55 +0000] "GET /dashboard/vendor.c969b02c53d99bb77562.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 43 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 29ba29737982c2073521ab58412cd7ef
122.175.207.163 - - [24/Jun/2021:06:24:55 +0000] "GET /dashboard/client.9121c736a72949f90045.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 42 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 3dd2f904fd517e2c9e6854f34ef2d626
122.175.207.163 - - [24/Jun/2021:06:25:21 +0000] "GET /dashboard/ HTTP/2.0" 200 696 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 327 0.004 [eclipse-che-che-dashboard-8080] [] 10.112.2.2:8080 696 0.003 200 bc6b62ef78ed151b65f21420447db7bb
122.175.207.163 - - [24/Jun/2021:06:25:21 +0000] "GET /dashboard/assets/branding/branding.css HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 117 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 12d95a6cd384505d0e601fdf7e60ec7b
122.175.207.163 - - [24/Jun/2021:06:25:21 +0000] "GET /dashboard/monaco.11cc4e4084a2c0e4e596.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 52 0.000 [eclipse-che-che-dashboard-8080] [] - - - - 773a6a94eec8c435b48f7be2c50ece8a
122.175.207.163 - - [24/Jun/2021:06:25:21 +0000] "GET /dashboard/vendor.c969b02c53d99bb77562.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 43 0.000 [eclipse-che-che-dashboard-8080] [] - - - - c7a8c2beefc42106d9d94dd6acc28563
122.175.207.163 - - [24/Jun/2021:06:25:21 +0000] "GET /dashboard/assets/branding/loader.svg HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 76 0.000 [eclipse-che-che-dashboard-8080] [] - - - - a5edd02999071f7397dcaf0124259086
122.175.207.163 - - [24/Jun/2021:06:25:21 +0000] "GET /dashboard/client.9121c736a72949f90045.js HTTP/2.0" 404 548 "https://che-eclipse-che.peryton-ide.cloud/dashboard/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36" 42 0.000 [eclipse-che-che-dashboard-8080] [] - - - - bc0d9b881f53074e9d0eda5f6873a735
我已经尝试通过删除提供Che-dashboard的Pod来重新启动它,Kubernetes重新启动了它。此外,我已将Inress中的路径从/更改为/*,但没有成功。
请帮我修一下这个。如果需要,我可以提供更多信息。
推荐答案
原因是仪表板部署不可访问,可能是由于入口配置错误。
哪一个?如果没有,请尝试https://stackoverflow.com/a/68080963/9365723。如果不起作用,请让我知道,我们将尝试找到解决方案。
这篇关于在GKE上托管的Eclipse CHE仪表板上出现404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!