Configurar GosWeb Socket Bundle with SSL en servidor de producción.
$10-70 USD
Closed
Posted almost 3 years ago
$10-70 USD
Paid on delivery
He logrado configurar WebSocketBundle de manera satisfactoria en mi pc local ([login to view URL]) en mi pc con :
ubuntu server Ubuntu 20.04.2 LTS \n \l
con symfony 5.33
php 7.4
ssl
Pero ahora toca realizarlo en un server de producción en Ubuntu 20.04.2 LTS \n \l
con symfony 5.33
php 7.4
ssl
Necesito que se realize y que funcione como dunciona en mi pc y que sea documentado.
aquí puede ayudar esto :
[login to view URL](Production---Symfony-Application)-with-SSL
Cuando intento poner en producción me da el siguiente error:
[login to view URL] Mixed Content: The page at '[login to view URL]' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://xxx.xxx.xxx.xxx.:1337/'. This request has been blocked; this endpoint must be available over WSS.
a._construct @ [login to view URL]
[login to view URL] @ [login to view URL]
a._connect @ [login to view URL]
[login to view URL] @ [login to view URL]
e @ [login to view URL]
i @ [login to view URL]
e @ [login to view URL]
e @ [login to view URL]
(anonymous) @ default:14
[login to view URL] Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
Hi! I can help you to solve the problem
Apparently your website are workin over HTTP but the request are coming with HTTPS then your webserver can't can display the website coming of a insecure connection.
I worked as Linux Especialist in a Web Hosting of BlueHost
Let me know more about...