GeniusesOfSymfony / WebsocketAppDemo

Demo of GosWebSocketBundle
MIT License
40 stars 24 forks source link

Variable "gos_web_socket_server_host" does not exist. #15

Closed Lyro1 closed 3 years ago

Lyro1 commented 3 years ago

I just did the following:

  1. Clone the repository
  2. cd WebSocketAppDemo
  3. composer install
  4. symfony server:start, it's running on port 8000
  5. Open a new tab of my terminal
  6. php bin/console gos:websocket:server
  7. Open Safari, go to https://127.0.0.1:8000

I get the following error:

Capture d’écran 2020-11-18 à 15 37 06

It seems the variables required in the homepage template (line 12) are not set in Symfony. Did I do something wrong?

mbabker commented 3 years ago

I don't use the symfony binary, but after cloning the repo fresh on my newer computer I hit the same problem then after updating everything in the app to latest stable versions it's all working again.

(I really should make a "better" demo one day though)