DO droplet running nodeJS and mongoDB suddenly started cutting out randomly.
The droplet running the latest version of node, mongo, and every node module it has installed. It is a small website, so it is no where near approaching the droplets limits. It routes through Cloudflare. This has never been an issue before, but suddenly has become very prominent. Approximately 1/3 times you try to access the website you get hit with the Cloudflare error 502 bad gateway page, which means the server was unreachable at that time. However, if you just click reload from this page it will load the site like nothing happened. The server doesn’t log any errors at this time, it says that it has been constantly running. I’ve spent approximately 6 hours troubleshooting this to no avail. Any help would be appreciated! thanks!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.