-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Can not start live query server from cli #3626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you running the liveQuery server on it's own or alongside parse-server? we're running in production with:
And it's working fine. |
I am trying to get the live query server to run alongside parse server right now. From what I can tell from the parse server definitions if I use |
Yes, you should need the startLiveQueryServer option, as well as liveQuery: classNames |
I updated my config file to look like this
My environment looks like this
I am most likely missing something but I just do not know what it is. |
can you post the startup logs? Also, does it work outside PM2? |
Here is my startup output. I have not tried it yet outside of PM2
|
The liveQuery server isn't started AFAICS |
Are there any other logs that would be outputted that would tell me why live query server is not starting |
you should see: |
Actually this is not required, liveQuery should start nonetheless. Can you make a connection from the client? |
I went into the parse-server.js in the cli folder and added two to more console logs. That is when a noticed that I have to set the I am writing a test client with the javascript SDK to see if I can connect to it. |
You should not need to, what makes you think your liveQuery server is not started? The liveQueryServer should be able to start with sharing the parse-server express server. Connecting from the client, you should use the |
You can easily test in chrome:
|
In the console of the inspector |
I am getting false returned |
I just ran it a minute ago to get that, tough to debug without more infos: is the port 1337 the right port, is /1 your mount path, what errors are spawn when trying to connect etc... From what I can see, it works with running outside PM2. |
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 tryingliveQueryServerOptions
.My config file that I am passing in looks like this
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.
The text was updated successfully, but these errors were encountered: