Coder Social home page Coder Social logo

Comments (5)

sse8-dev avatar sse8-dev commented on August 17, 2024

配置文件设置forceWss为true没有作用;
尝试手动设置自签名证书,npm设置https代理,提示服务器可以连接上了。
捕获

from cloud-clipboard.

TransparentLC avatar TransparentLC commented on August 17, 2024

forceWss 这个选项已经取消了(#24)不知道你用的是这里的 Dockerfile 还是 Docker Hub 上的版本?如果是前者的话修改它不会有影响,会根据访问前端页面使用的是 http 还是 https 来选择使用 ws 或 wss。

因为你用的是自签名证书,我觉得也许是因为默认不被信任所以建立 wss 连接的时候被浏览器掐掉了。如果可以的话请附上
浏览器开发者工具“网络”部分的截图。

from cloud-clipboard.

sse8-dev avatar sse8-dev commented on August 17, 2024

多谢解答。用自签名证书正常了,用http方式不正常。我用的是docker hub上的镜像。尝试用本站Dockerfile,出现如下提示:
捕获

from cloud-clipboard.

TransparentLC avatar TransparentLC commented on August 17, 2024

我试了一下,Dockerfile 是可以正常使用的。

from cloud-clipboard.

sse8-dev avatar sse8-dev commented on August 17, 2024

好的,多谢。先继续使用自签名证书。后面有机会用ubuntu测试一下。

from cloud-clipboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.