open-learning-exchange / planet

🌍 Planet Learning - Angular application
https://hub.docker.com/r/treehouses/planet
GNU Affero General Public License v3.0
59 stars 38 forks source link

disable websockets when the streaming is not enabled? #7453

Closed Mutugiii closed 3 months ago

Mutugiii commented 4 months ago

image

  Could not connect to wss://planet.opmac.ole.org/ml/
  21:46:38
  Error: Unexpected server response: 200
  Handshake Details
  Request URL: https://planet.opmac.ole.org/ml/
  Request Method: GET
  Status Code: 200 OK
  Request Headers
  Sec-WebSocket-Version: 13
  Sec-WebSocket-Key: xpFBkQl+qi+s/6dgV2+EYQ==
  Connection: Upgrade
  Upgrade: websocket
  Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
  Host: planet.opmac.ole.org
  Response Headers
  Server: nginx
  Date: Fri, 26 Apr 2024 18:46:38 GMT
  Content-Type: application/json; charset=utf-8
  Content-Length: 53
  Connection: keep-alive
  Access-Control-Allow-Origin: *
  ETag: W/"35-PbTQplE5O7t68FEx0Xiaq6+h0Xg"
  Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
  X-Content-Type-Options: nosniff
  X-XSS-Protection: 1; mode=block