-
Bug
-
Resolution: Unresolved
-
Critical
-
3.16.1.GA
-
False
-
None
-
False
-
Release Notes
-
-
Known Issue
-
Done
-
Workaround Exists
-
-
-
Description of problem:
OpenShift Welcome Page and Ansible content creator tab failed to load because of error loading webview: "Could not register service worker: SecurityError An SSL certificate error occurred when fetching the script"
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create and open Ansible sample
# Make sure Ansible and OpenShift VSX extensions have been installed - Click on OpenShift button in the left panel to open OpenShift Welcome Page
- Go to Ansible view, click Get started button to open Ansible content creator tab
Actual results:
OpenShift Welcome Page and Ansible content creator tab were empty.
VS Code Editor showed error popup:
Error loading webview: Error: Could not register service worker: SecurityError: Failed to register a ServiceWorker for scope ('https://devspaces.apps.ocp416.crw-qe.com/admin/ansible-demo-qlkb/3100/oss-dev/static/out/vs/workbench/contrib/webview/browser/pre/') with script ('https://devspaces.apps.ocp416.crw-qe.com/admin/ansible-demo-qlkb/3100/oss-dev/static/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=devspaces.apps.ocp416.crw-qe.com'): An SSL certificate error occurred when fetching the script..
Expected results:
OpenShift Welcome Page and Ansible content creator tab opened successfully.
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Definition of Done:
Build Details:
Tested with Dev Spaces 3.16.1.RC-devspaces-operator-bundle3.16-71 on OCP 4.16 deployed to PSI OSP, which is using self-signed TLS certificate.
VS Code Editor build details:
Red Hat OpenShift Dev Spaces with Microsoft Visual Studio Code - Open Source IDE Version: 1.93.0 Commit: Unknown Date: 2024-09-19T15:24:05.853Z (1 day ago) Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Additional info (Such as Logs, Screenshots, etc):
The error hasn't been reproduced on DevSandbox Staging. It is using public TLS certificate.
It seems to be related to the changes in DS 3.16.1: https://issues.redhat.com/browse/CRW-7247
*
- is related to
-
CRW-7247 Opening links doesn't work in the Che-Code editor
- Resolved