Skip to content

[Bug]: Can't preview markdown and plantuml through web #5139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
JWleo opened this issue Apr 28, 2022 · 6 comments
Closed
3 tasks done

[Bug]: Can't preview markdown and plantuml through web #5139

JWleo opened this issue Apr 28, 2022 · 6 comments
Labels
waiting-for-info Waiting for more information from submitter

Comments

@JWleo
Copy link

JWleo commented Apr 28, 2022

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Google Chrome 86.0.4240.198
  • Local OS: WIN10
  • Remote OS: LIUNX
  • Remote Architecture: CENTOS 8.2
  • code-server --version:4.3.0

Steps to Reproduce

  1. code-server

Expected

image

Actual

image
image
image

Logs

image

Screenshot/Video

No response

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

How can i use code-server easily without setting so much things???

@JWleo JWleo added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Apr 28, 2022
@ThunderingII
Copy link

This issue is same to #4421

Do you know which version of codeserver doesn't has this bug?

@jsjoeio
Copy link
Contributor

jsjoeio commented Apr 28, 2022

Did you disable service workers? I'm not sure why it's failing to register.

@jsjoeio jsjoeio added waiting-for-info Waiting for more information from submitter and removed bug Something isn't working triage This issue needs to be triaged by a maintainer labels Apr 28, 2022
@JWleo
Copy link
Author

JWleo commented Apr 29, 2022

solve this. It's the prolblem of https. just make mkcert to produce *.crt and *.pfx, and download to local to terify it.

@JWleo JWleo closed this as completed Apr 29, 2022
@JWleo
Copy link
Author

JWleo commented Apr 29, 2022

This issue is same to #4421

Do you know which version of codeserver doesn't has this bug?

NO,IT's your duty to slove your env. Maybe @jsjoeio could make it easily to use in the future version

@JWleo JWleo reopened this Apr 29, 2022
@JWleo JWleo closed this as completed Apr 29, 2022
@JWleo JWleo reopened this Apr 29, 2022
@JWleo JWleo closed this as completed Apr 29, 2022
@ThunderingII
Copy link

do you mean that this web app force us to use https?but sometimes we run it on local area network,so we don't use domain and only use ip like 192.168.1.x,when in this env,this feature looks like a bug

@jsjoeio
Copy link
Contributor

jsjoeio commented May 13, 2022

@ThunderingII unfortunately that's a limitation of the browsers. They only allow service workers in secure contexts (i.e. HTTPS/localhost). VS Code needs service workers enabled for most features so there isn't much we can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-info Waiting for more information from submitter
Projects
None yet
Development

No branches or pull requests

3 participants