parse-server: Can not start live query server from cli

Parse Server: 2.3.6 Server: ubuntu 14.x I am using nginx

I am starting my Parse Server and Dashboard with pm2. The Parse Server and Dashboard work just fine. I have been trying to start a live query server but it will not start. I have tried "startLiveQueryServer": true and now I have been trying liveQueryServerOptions.

My config file that I am passing in looks like this

{
  "liveQueryServerOptions": {
    "appId": "appid",
    "masterKey": "xxxxx",
    "keyPairs": {
      "restAPIKey": "xxxxx",
      "clientKey": "xxxxx",
      "masterKey": "xxxxx"
    },
    "serverURL": "https://xxxx.com/xxxx",
    "websocketTimeout": 10000,
    "cacheTimeout": 360000,
    "logLevel": "VERBOSE"
  }
}

Everything else for parse server is being set with the env variables.

My logs show that the config and env variables are being read in but the live query server is never started.

Am I just missing something or what. Any help is greatly appreciated.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

Are you running the liveQuery server on it’s own or alongside parse-server?

we’re running in production with:

  "liveQuery": {
    "classNames":["partyInfo"]
  },
  "startLiveQueryServer": true,

And it’s working fine.