I have a rocket chat instance server with 4 instances setup/linked together for better performance. Rocket chat is built on meteor and nodejs. There is also a nodeJS script that contacts a 3rd party API to authenticate a login before passing it on to rocket chat. Many users who try to log in get a 504 error. I believe the 504 error happens for different reasons but I notice the nodejs script doesn't have proper error catching. I need these 504 errors solved, and for users to be able to login smoothly.