TristanToye / meteor-extension

Boilerplate for a Meteor.js Chrome Extension
44 stars 12 forks source link

MeteorDdp with Meteor build #1

Open stephane-r opened 8 years ago

stephane-r commented 8 years ago

Hi,

Is it possible to use your boilerplate with Meteor APP in production ?

Your starter kit work fine with localhost, but with my real domaine, it don't work :

var ddp = new MeteorDdp("ws://mydomaine.com/websocket");

When i run mydomaine.com/websocket, i've this message :

Not a valid websocket request

Any idea ? :)

Thank you !

TristanToye commented 8 years ago

Sorry for the slow reply. I honestly haven't worked with this project lately.

I would start by:

  1. looking at what your server is logging when you make this request.
  2. ensure you can connect to the server on the required ports/locations via loadbalancers (SSH might be causing issues).
  3. see if chrome is refusing connections due to it's own validations.

maybe it's time I updated this....