I am getting this error on client side in browser web application.
This appears in a totally white blank page in browser on top left corner when I access my web application.
It appears occasionally. There is no error in the Meteor Server Console or in browser console. It can be reproduced either.
Whenever this error appears, non of my client apps (android, ios , web app) works, which are connected to this specific server. The server shows that its running but it does not. When I restart Meteor Server, then it starts working fine, I get this error once in about two weeks, I don’t know what is causing this error, or how to debug this. Any idea what is causing this issue? This is really critical, I have my Live Application running, and it should not crash like this. Please provide me some solution or a way to debug. Thanks
Also are there any logs on my Meteor App which I can check? Plus I am running this App on staging with --production flag.
--production flag is purely meant to simulate production minification, but does almost nothing else. This still watches source code files, exchanges data with package server and does a lot more than just running the app, leading to unnecessary computing resource wasting and security issues. Please don’t use --production flag to deploy!
Long story short - you’re probably just pushing your server to do unnecessary work for far longer that it should. The meteor command is for development only.