strongloop/loopback-component-push

Server-2.0 doesn't work, throws timeout error

Closed this issue · 2 comments

I get the error below upon pulling this repo and setting up the server-2.0:

/home/skyserpent/sandbox/loopback-component-push/example/server-2.0/server/push-demo.js:64 throw err; ^ Error: Timeout in connecting after 5000 ms

It seems to be calling out this function in push-demo.js:

updateOrCreateApp(function (err, appModel) { if (err) { throw err; } console.log('Application id: %j', appModel.id); });

What could be causing this? I didn't change anything everything is kept stock except that I installed the Node modules and added my GCM key.

@skyserpent The sample server is using a MongoDB instance running in a cloud at demo.strongloop.com. Is there any firewall along your internet connection that may prevent you from accessing it?

Closing this due to inactivity. @skyserpent If you are still running into issues, feel free to reopen.