Skip to content
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

[BUG]插件支持在浏览器中使用https访问么 #358

Open
wss29 opened this issue Sep 23, 2024 · 1 comment
Open

[BUG]插件支持在浏览器中使用https访问么 #358

wss29 opened this issue Sep 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@wss29
Copy link

wss29 commented Sep 23, 2024

  • OS:
  • Extension Version:
    1.我们将该插件安装在eclipse thiea的web程序中,在chorme浏览器中访问
    2.通过localhost:3000可以正常打开浏览pdf,docx等相关文件
    3.通过本机ip如192.168.1.120:3000访问,无法打开pdf,docx等相关文件
    4.初步判断webview只能在secure contexts (i.e. HTTPS)下运行
    5.为程序增加了openssl证书使其通过https访问
    6.通过chrome浏览器仍然无法打开pdf,docx相关文件
    7.vsocde网页版本也存在相同问题
@wss29 wss29 added the bug Something isn't working label Sep 23, 2024
@Wing0v0
Copy link

Wing0v0 commented Dec 4, 2024

code-server 使用 自带插件的市场的这个插件 是能正常打开pdf文件的
不过打开时间可能比较长, 可能会发生错误导致打开不了pdf, 也可能我打开的pdf比较大 (几百M)
初步怀疑是网络的问题, 由于某些原因我有时候会直连打开, 有时候会使用中转服务器
直连的时候基本上都能打开, 中转的话有时候打开就会发生错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants