国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

不安全的WebSocket連接可能無(wú)法從通過(guò)HTTPS加載的頁(yè)面啟動(dòng)

Mercury

問(wèn)題描述

Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS

使用https是出現(xiàn)這個(gè)錯(cuò)誤 嘗試了把ws改成wss報(bào)錯(cuò)沒(méi)有了但還是鏈接不上

程序代碼

        //鏈接WorkerMan
        ws = new WebSocket('ws://IP:7272/ws');

報(bào)錯(cuò)信息

Mixed Content: The page at 'https://域名' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://ip:7272/ws'. This request has been blocked; this endpoint must be available over WSS.

Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS

截圖報(bào)錯(cuò)信息里報(bào)錯(cuò)文件相關(guān)代碼

截圖

操作系統(tǒng)及workerman/webman等框架組件具體版本

workerman 4.1.10

6433 0 0
0個(gè)回答

年代過(guò)于久遠(yuǎn),無(wú)法發(fā)表回答
??