504 Gateway error

I run NXRM OSS 3.13 .I am hitting this error and cannot run more than 2 builds on the server which is a big trouble for me.

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project --------: Failed to deploy artifacts: Could not transfer artifact ------ from/to --------

Return code is: 504, ReasonPhrase: GATEWAY_TIMEOUT.

Any insight into this is much appreciated.
Thanks !

That error isn’t coming from Nexus, it’s coming from a reverse proxy running in front of Nexus. Check the reverse proxy error logs. And also be sure that you are following are recommendations for configuration of reverse proxy servers:


I am having similar issues. I have configured the Reverse Proxy on IIS.

code E504
npm ERR! 504 Gateway Timeout - PUT https://(nexus repo instance)/repository/vsnpm-private/npm-helloworld

Can you please help with the fix. Thanks

It is not a NEXUS issue that was causing this as stated above. The timeout was from the load balancer in AWS was the case with ours and after tweaking it we don;t have this issue any more. Hope this helps!