core icon indicating copy to clipboard operation
core copied to clipboard

使用Docker 镜像安装https 运行报错

Open hjue opened this issue 2 years ago • 2 comments

使用docker方式安装 运行后,https 访问主机端口,浏览器控制台报错如下图

image

错误信息如下: bundle.js:2 Mixed Content: The page at 'https://xxx/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://xxx/service'. This request has been blocked; this endpoint must be available over WSS.

如何设置opensumi 启用 wss ?

hjue avatar Jul 18 '22 09:07 hjue

@hjue 这里改一下就行了 https://github.com/opensumi/ide-startup/blob/9d02f578b35db2a76d32cb22335242d21d694090/src/browser/render-app.ts#L22 , 有一个 wsPath 的参数

erha19 avatar Jul 19 '22 03:07 erha19

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 12 '22 17:10 stale[bot]