![](/img/trans.png)
[英]Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR is thrown when trying establish and connect to a websocket server
[英]Error when using ssl with websocket
我正在使用websocket的ssl通信。 因此,當我在我的網頁上使用https://myip
午餐時,我在javascript代碼中添加了安全通信,例如"wss://myip"
,但出現以下錯誤。
failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR
我在Linux機器上使用lighttpd服務器和chrome導航器。
有人可以幫助我嗎?
目前,lighttpd似乎不支持此功能。 以下鏈接建議使用HAProxy作為前端將流量代理到websockets應用程序:
使用lighttpd重定向端口80上的websocket流量
(實際上沒有 lighttpd)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.