-
Notifications
You must be signed in to change notification settings - Fork 80
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
DDP Connection Idle Disconnect #80
Comments
Do you know which side is disconnecting? Is it the Galaxy / Server-side that is initiating the disconnect? If so, that's a Galaxy question. This package generates events on disconnect that you can hook to automatically reconnect. That's why I recommended looking at the node.js worker sample code, as it contains some logic along those lines. https://github.com/vsivsi/meteor-job-collection-playground-worker |
Just noticed your comment on the other issue that you already looked at the playground worker... |
@vsivsi After careful monitoring, it looks like this isn't a node-ddp-client issue, but a Meteor Job Collection Issue. I'll file a question there and explain it further but basically I added an undefined catch that was needed (relative to our project) and the connection was sustained, however, after X amount of runs the job continues to stay running. Please check the meteor job collection package issue boards. |
Everything connects fine after viewing #79 until what seems like a Connection Idle Disconnect.
Currently using it in a node project hosted on DO in connection with a meteor app hosted on Galaxy but it seems like if the connection is idle and there are no processes happening, it will disconnect.
We have reconnect measures in place but it continues to disconnect anyway. Are there more ways to keep a sustained connection?
The text was updated successfully, but these errors were encountered: