Skip to content
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

Parse Server Crash when user Login. #4511

Closed
rs5173 opened this issue Jan 19, 2018 · 2 comments
Closed

Parse Server Crash when user Login. #4511

rs5173 opened this issue Jan 19, 2018 · 2 comments

Comments

@rs5173
Copy link

rs5173 commented Jan 19, 2018

Version : 2.7.1
System : Centos 7
SDK: android-1.15.8

===================================================================

I use login method to do a password authentication ,The first time,it work,Then,Parse Server will Carsh when I use login method again,

but.....Parse Server is work always When I execute a command ‘node app.js &’in Xshell and don't close the command window,.if I close the command window Parse Server will Carsh when I use login method again,

In v2.6.5,it work always.

===================================================================

my app.js:

var express = require('express');
var ParseServer = require('parse-server').ParseServer;
var app = express();

var api = new ParseServer({
  databaseURI: 'mongodb://admin:123456@localhost:27017/dict',
  cloud: '/root/parse-server/cloud/main.js',
  appId: '**********',
  masterKey: '************', 
  serverURL: 'http://localhost:1337/dict'
});

app.use('/dict', api);
app.listen(1337, function() {
  console.log('parse-server running on port 1337.');
});

@rs5173
Copy link
Author

rs5173 commented Jan 19, 2018

Parse Server will Carsh if usename/email dosen't exist or password is error,This is a bug?

@rs5173
Copy link
Author

rs5173 commented Jan 19, 2018

change command to 'nohup bash start.sh &',it work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant