Skip to content

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

@shebinhere

Description

@shebinhere

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions