-
I get the following error for some extensions Error loading webview: Error: Could not register service worker: SecurityError: Failed to register a ServiceWorker: The provided scriptURL ('https://domain.com/stable-6f3d0a7e5ae5f6623e1963e96adabc3287386006/static/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=domain.com') violates the Content Security Policy.. This is my docker-compose.yml file version: '3.8' services: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This also happens with gitlens |
Beta Was this translation helpful? Give feedback.
-
This means your browser is rejecting your certificate. Is it self-signed? You will need to make your system trust the certificate, or add an exception in your browser's settings. |
Beta Was this translation helpful? Give feedback.
You generated me the doubt, so I validated the console and indeed it seems that it is a problem with a Kaspersky extension that generates that the code server extensions do not work correctly.
main.js?attr=Ad3f-BwOC0I6vuOFsJz7HnRy7QphZh3b6zZPy6NNW8lb8qPXGy1Pw6s7ax7NZNJEc3sONa8MjrDEDU9wzPj-wnAF7HVGZhCUXSDvnGf2epOQiDFEM0L0oJed5mmN1pEsdTrE1vSti8tCgs-SZcWHqlJY7BxlIcEoClNAmYWUNyJMfQuw-dVZgoAoEaEmMVtemzfvgUxksOlXfEEDYBYjw7tSQ1GkyI6jCTgFYNrj4Ns-D5tsRyHVKHl7O3hR2ebt-Q_Ddpo_MvNs9gr-CSLB9PD1czfcp8Im7-fv5MXjvBzRQ2zqaHUD62BsbQses_4D:526 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src-elem https://gc.kis.v2.scr.kaspersky-labs.com wss://gc.k…