subscription could not connect to websocket endpoint wss://xxxxxx.com/graphql

Author: sokphaladamCreated Nov 15, 2019Updated Feb 26, 2025

subscription is okay when i test on localhost but when i deploy into CapRover the subscription error :

Could not connect to websocket endpoint wss://xxxxxx.xyz/graphql. Please check if the endpoint url is correct.

  • use apollo server
  • deploy with caprover

Source: graphql/graphql-playground