aws-samples / amazon-sagemaker-codeserver

Hosting code-server on Amazon SageMaker
MIT No Attribution
48 stars 17 forks source link

Error loading webview: Could not register service workers #4

Open athewsey opened 1 year ago

athewsey commented 1 year ago

Hi folks - nice solution! Generally seems to be working OK for me so far, at Code Server v4.8.0 and Firefox ESR v102 and SMStudio JupyterLab v3.

One issue I'm seeing though, is keep getting an error pop-up/toast in the lower right corner saying:

Error loading webview: Error: Could not register service workers: SecurityError: The operation is insecure..

General experience doesn't seem to be affected, but I think some of the e.g. new extension setup screens (like AWS Toolkit for example) might be missing some content? And if the app is failing to register workers it's probably also running slower (on client side) than it could.

Any known fixes for this? Has anybody else come across it? At first I thought (from this Mozilla bug) that it might be Firefox related, but it looks (from this Reddit thread) like others may have encountered this issue with Code in the past also...