【问题标题】:Error when using ssl with websocket将 ssl 与 websocket 一起使用时出错
【发布时间】:2015-07-15 02:50:24
【问题描述】:

我正在使用 ssl 与 websocket 通信。 所以我在我的javascript代码中添加了安全通信,就像"wss://myip" 午餐时从我的页面与https://myip 进行 websocket 通信 我收到以下错误。

failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

我在一台 linux 机器上使用 lighttpd 服务器和 chrome navigator。

谁能帮帮我?提前谢谢

【问题讨论】:

    标签: javascript html ssl https websocket


    【解决方案1】:

    目前,lighttpd 似乎不支持此功能。以下链接建议使用 HAProxy 作为前端将流量代理到 websockets 应用程序:

    Redirecting websocket traffic on port 80 with lighttpd

    (实际上没有 lighttpd)

    【讨论】:

      猜你喜欢
      • 2010-10-23
      • 1970-01-01
      • 1970-01-01
      • 2017-01-17
      • 2020-10-08
      • 2021-09-16
      • 2016-06-09
      • 1970-01-01
      相关资源
      最近更新 更多