站点放在腾讯云,Socket服务放在机房,连接时需要使用域名,请问Socket服务应该怎么部署SSL。 Socket服务器不论如何配置,站点都无法连接成功。
[attach]1552[/attach]
Mixed Content: The page at 'https://www.***.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://..*.:8282/'. 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.
WebSocket connection to 'wss://www.***.com:4422/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
已解决
如何解决的?
Mixed Content: The page at 'https://www.***.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://..*.:8282/'. 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.
WebSocket connection to 'wss://www.***.com:4422/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
已解决
如何解决的?