At least half of the time, when a client loads my Meteor app, it can't connect to the server.
If I run this in the console:
I can see that the client is connecting, disconnected, reconnecting repeatedly.
If I open the Network tab in Chrome's dev tools I can see that about every second or two, another WebSocket request is made.
What could be causing this?
Note: This question has been originally posted on Stack Overflow by johnny and is now sponsored by CodersClan.
Try disabling WebSockets.
Run your meteor app with following env variable.
By posting a reply on CodersClan you agree to our Terms & Conditions
Are you sure this solution solved your task?
It is recommended that you test the solution thoroughly before marking the task solved.
Now that your task is posted let the world know
Make your task famous
By taking this task you are committed to deliver results as soon as possible.
If this is not the case, please leave it to other coders as failure may harm your reputation.
Sorry, but the promo code you entered was already used.Please enter a new promo code or proceed without one.
Sorry, but the promo code you entered does not exist.Please enter a valid promo code or proceed without one.
Add tags of your areas of expertise and get notified when new tasks with these tags are posted.
By logging in to CodersClan you agree to our Terms & Conditions
By signing up to CodersClan you agree to our Terms & Conditions
Just type in your email and we'll send you a new password.
Recovery email is on its way. It may take a few minutes.
By signing in to CodersClan you agree to our Terms & Conditions
The world will remember this glorius day!
Tell your friends and invite them over