Configurar GosWeb Socket Bundle with SSL en servidor de producción.
Budget: $10 – $70 USD
He logrado configurar WebSocketBundle de manera satisfactoria en mi pc local (https://github.com/GeniusesOfSymfony/WebSocketBundle) 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 :
https://github.com/GeniusesOfSymfony/WebSocketBundle/wiki/Set-up-Gos-Web-Socket-Bundle-in-AWS-(Production---Symfony-Application)-with-SSL
Cuando intento poner en producción me da el siguiente error:
autobahn.min.js:62 Mixed Content: The page at 'https://xxxxxxxxxx.xxxxxxxx.xxx/api/v1/default' 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 @ autobahn.min.js:62
a.Session @ autobahn.min.js:63
a._connect @ autobahn.min.js:78
a.connect @ autobahn.min.js:83
e @ websocket.min.js:1
i @ websocket.min.js:1
e @ websocket.min.js:1
e @ websocket.min.js:1
(anonymous) @ default:14
autobahn.min.js:62 Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
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 :
https://github.com/GeniusesOfSymfony/WebSocketBundle/wiki/Set-up-Gos-Web-Socket-Bundle-in-AWS-(Production---Symfony-Application)-with-SSL
Cuando intento poner en producción me da el siguiente error:
autobahn.min.js:62 Mixed Content: The page at 'https://xxxxxxxxxx.xxxxxxxx.xxx/api/v1/default' 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 @ autobahn.min.js:62
a.Session @ autobahn.min.js:63
a._connect @ autobahn.min.js:78
a.connect @ autobahn.min.js:83
e @ websocket.min.js:1
i @ websocket.min.js:1
e @ websocket.min.js:1
e @ websocket.min.js:1
(anonymous) @ default:14
autobahn.min.js:62 Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.