We are working on restoration of backup in Confluence and while working on this we are getting “504 gateway timeout” error. Any solution on this?
This usually means Confluence is not running, so the proxy can't get pages from it. You will need to check if it is, and read the logs to find out why it is not starting or not serving
Hello Nic,
Thanks for your response. However, the logs contains below:
WARNING [http-nio-8090-exec-9] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/atlassian-bundled-plugins/confluence-edge-index-5.8.5.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache WARNING [http-nio-8090-exec-9] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/atlassian-bundled-plugins/doctheme-5.8.5.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache INFO [http-nio-8090-exec-1] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM' INFO [http-nio-8090-exec-2] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM' INFO [http-nio-8090-exec-3] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM'
Those are warnings, not an error telling you why confluence is not serving.
Have a look at both the application and server logs in more detail - <confluence home>/logs/atlassian-confluence.log and <confluence install>/log/catalina.out
hi @Nic Brough -Adaptavist-
I was opening a page in Wiki, I captured how much time It took around 40-45 sec to load the wiki page.Sometimes, I face this slowness. Not always.
And sometimes I get this.
504 Gateway Time-out
nginx
Could you please guide me on how to fix this issue?
You will need to do some debugging on the connections. A gateway timeout usually means that your computer is able to reach the proxy server (nginx) in a timely manner, but the proxy is not getting a response from the Confluence behind it.
It might be because Confluence is being too slow, or it might be because of the connection between Confluence and the proxy.
On the Confluence side, check the logs for errors, it should tell you if something times out. If there are no errors, you'll need to monitor Confluence for slowness and analyse what it is doing when it is timing out.
On the network side, you'll need to test the speeds between Confluence and nginx
It looks like you're new here. Sign in or register to get started.