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

Refresh requires App restart #127

Open
ramezrafla opened this issue May 17, 2016 · 4 comments
Open

Refresh requires App restart #127

ramezrafla opened this issue May 17, 2016 · 4 comments

Comments

@ramezrafla
Copy link

Everything is working great with this library (well done btw, the code is super cool) -- well almost, hence this issue.

  • We are using in multi-core mode (not discovery-based, single server with many cores).
  • We are monitoring ourselves the worker assigned to a user, during server restart the client keeps reconnecting to get a new WS socket / worker.
  • However, when the app is not logged in, after server restart, we have to literally reload client in browser to be able to call Meteor methods. DDP connection is live, I even reconnected DDP to the server url, to no avail. Still need to reload the client app in browser.

Strange, no? Any insight would be appreciated.

@ramezrafla
Copy link
Author

If it may help in debugging, when calling Meteor methods on server, it runs fine (generating logs) but the return result never makes it to the client. So likely a DDP issue.

@Kostanos
Copy link

Hi, do you have solution for this? I'm planning to use this plugin with our mobile app, and don't want mobile app to be stacked because of this issue

thanks

@ramezrafla
Copy link
Author

We do have a solution, stay away from this library. After digging deeper it's a hack and not suitable for a production app. Check out my repos, we have setup for professional-grade deployment.

@kakadais
Copy link

@ramezrafla hello, the professional-grade you mentioned is one of the option for meteor-deployment repo? or have you got any better idea for this 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