Notes/docs/User Guide/User Guide/Troubleshooting/Synchronization fails with 504.md
2025-04-18 16:10:44 +03:00

21 lines
673 B
Markdown
Vendored
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Synchronization fails with 504 Gateway Timeout
Synchronization can sometimes take a long amount of time in order to compute the items that require update. When running behind a reverse proxy, the request can time out.
The solution is to increase the timeout at proxy level.
## Nginx
Add the following to the configuration file:
```nginx
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
```
And restart the server.
See [Nginx Proxy Setup](../Installation%20%26%20Setup/Server%20Installation/2.%20Reverse%20proxy/Nginx.md) for more information about the Nginx setup.
If it still doesn't work, try increasing the timeout.