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

Connection to galaxy hosted meteor app from DO node server fails #79

Open
tyler-dunkel opened this issue Apr 12, 2016 · 3 comments
Open

Comments

@tyler-dunkel
Copy link

Hi,
I am trying to connect to my meteor application hosted on galaxy with a node server that is hosted on digital ocean Unbuntu 14.04. When I run my node server locally, it connects to the meteor server fine and runs the job. However, when i deploy the node server to DO and run it, standalone using node or with pm2, the connection times out. Is there any reason it would work fine on my local machine but not once it is deployed to DO?
Thanks!

@mayvn10
Copy link
Contributor

mayvn10 commented Apr 16, 2016

@vsivsi

We managed to connect via DDP w/ SSL enabled. The connection is fine and the jobs that we schedule run but after about 15-20 minutes, the connection drops and we see an error:

jobs-0 (err): JobQueue: Received error from getWork(): [Error: DDPClient: Disconnected from DDP server]

`
Are there other methods to keep a DPP connection open/sustained?

@vsivsi
Copy link
Member

vsivsi commented Apr 16, 2016

Have you looked at the sample worker app?

https://github.com/vsivsi/meteor-job-collection-playground-worker

@mayvn10
Copy link
Contributor

mayvn10 commented Apr 18, 2016

@vsivsi Yes we looked at the playground worker. We got it working to a point. I'm filing an issue with a similar topic but different issue.

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

3 participants