code-server icon indicating copy to clipboard operation
code-server copied to clipboard

[Bug]: Live preview extension does not work

Open Sparklingx opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS/Web Information

  • Web Browser: edge, chrome
  • Local OS: Windows 10
  • Remote OS: Ubuntu 22.04 LTS
  • Remote Architecture: Arm64(aarch64)
  • code-server --version: code-server 4.11.0 85e083580dec27ef19827ff42d3c9257d56ea7e

Steps to Reproduce

  1. Install this extension (https://open-vsx.org/extension/ms-vscode/live-server) (https://github.com/microsoft/vscode-livepreview)
  2. run a simple hello world html code
  3. Open the live preview extension, It will show the hello world but it will not work optimally, It will not auto refresh and it will show error saying (Failed to load message bundle. See console for details.)

image

Expected

It should automatically reload automatically our codes.

Actual

It doesnt reload automatically our codes and shows some error

Logs

No response

Screenshot/Video

image

Does this issue happen in VS Code or GitHub Codespaces?

  • [X] I cannot reproduce this in VS Code.
  • [X] I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • [X] I am using HTTPS.

Notes

In github codespaces it uses different version. but I do not see any error message there. This works flawlessly in vscode tho.

Sparklingx avatar Apr 21 '23 18:04 Sparklingx

I am not sure what causes this but I just wanted to post to say that I reproduced at least.

code-asher avatar May 11 '23 21:05 code-asher

I am not sure what causes this but I just wanted to post to say that I reproduced at least.

Looks like the coder team is not sure about the cause aswel

Sparklingx avatar Jul 15 '23 14:07 Sparklingx

This seems to work now. Although, the frame appears to be blocked by CSP. The same thing happens in Codespaces, so it does not appear to be a code-server bug at the moment.

code-asher avatar Jul 13 '24 00:07 code-asher