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

Server crashes whenever i try to connect using iOS client #75

Open
shebinhere opened this issue Mar 5, 2018 · 0 comments
Open

Server crashes whenever i try to connect using iOS client #75

shebinhere opened this issue Mar 5, 2018 · 0 comments

Comments

@shebinhere
Copy link

Hi,
It started happening yesterday onwards. Whenever the app tried to connect to the room using room ID , server crashes . Port is no longer open and need to restart the Spika server . Here is the error we are getting
root@ip-:/Spika/web# setsid node src/server/main.js
root@ip-:
/Spika/web# Connecting mongoDB mongodb://localhost/simplemessenger
Server listening on port 9090!
Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html

SyntaxError: Unexpected token <
at Object.parse (native)
at Request._callback (/home/ubuntu/Spika/web/src/server/WebAPI/StickerListHandler.js:100:32)
at Request.self.callback (/home/ubuntu/Spika/web/node_modules/request/request.js:186:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/home/ubuntu/Spika/web/node_modules/request/request.js:1081:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage. (/home/ubuntu/Spika/web/node_modules/request/request.js:1001:12)
at IncomingMessage.g (events.js:180:16)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

However , there is no issue with the embedded web app. Able to connect to the room .
Please help

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