Unable to run sandboxed process when run as elevated under applocker
See original GitHub issue- VS Code Version: 1.56.0-insider (user setup)
- OS Version: Windows_NT x64 10.0.19042
- Electron: 12.0.4
- Chrome: 89.0.4389.114
- Node.js: 14.16.0
- V8: 8.9.255.24-electron.0
Steps to Reproduce:
- Open a markdown file, and click the “Open preview to the side” button
- The preview window is blank, and an error notification pops up in the bottom right:
Error loading webview: Error: Could not register service workers: TypeError: Failed to register a ServiceWorker for scope (‘vscode-webview://36f8a74c-37c6-4d60-9d4c-87414f69ebcc/’) with script (‘vscode-webview://36f8a74c-37c6-4d60-9d4c-87414f69ebcc/service-worker.js?platform=electron&id=36f8a74c-37c6-4d60-9d4c-87414f69ebcc&vscode-resource-origin=https%3A%2F%2F36f8a74c-37c6-4d60-9d4c-87414f69ebcc.vscode-webview-test.com’): ServiceWorker cannot be started.
The same thing happens for other WebViews, like opening an extension from the Extensions sidebar, or using the “Issue Reporter”.
Does this issue occur when all extensions are disabled?: Yes
Issue Analytics
- State:
- Created 2 years ago
- Reactions:80
- Comments:106 (29 by maintainers)
Top Results From Across the Web
AppLocker issue in Windows 10 - Google Groups
Hello,. I found an issue with Chromium sandbox when AppLocker is running, it's not something critical but maybe worth improving.
Read more >740132 - AppLocker incompatibility with Sandbox - Monorail
I found an issue with Chromium sandbox when AppLocker is running, it's not something critical but maybe worth improving.
Read more >[.06] Could not execute SandboxieRpcSs.exe - Page 2 - Sandboxie ...
I use default AppLocker rules. "Run As UAC Administrator" doesn't bypass AppLocker rules in v4.01.06, it doesn't prompt for elevation. With or without...
Read more >Sandboxing with Hyper-V and Windows Containers
How to perform sandboxing in a Windows environment using HYPER-V and ... You can use Hyper-V to create and run a virtual machine...
Read more >App Locker: admin user (non-admin token) unexpected run ...
As an administrative user with a filtered token (not choosing Run As Admin), when I double-click an .exe residing in a location that...
Read more >Top Related Medium Post
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
I killed existing related processes, this works again for me.
@eduncan911 and others who are facing the issue on linux, please open a separate issue as the root cause is unrelated. This issue only tracks the problem on windows due to chromium sandbox disallowing to start the service worker process when run as elevated.