Solved
Custom servlet on publisher
I'm trying to set up a new servlet in AEM. It works on the AEM author but not the publisher. (I'm getting a 504 Gateway Timeout)
Is there a setting in OSGi that I need to configure? It shows the correct class when I check the Sling Servlet Resolver. Thanks.
i.e. /bin/checkStatus