We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I have detected a lack of configuration in nginx. When loading a lot of bookmarks, nginx stops responding and plays error: 504 Gateway Timeout.
504 Gateway Timeout
I have solved it by adding inside the server in the file /etc/nginx/nginx.conf:
server
/etc/nginx/nginx.conf
server { # Buffer configuration client_header_buffer_size 8k; large_client_header_buffers 4 32k; client_body_buffer_size 32K; keepalive_timeout 60; send_timeout 60; # timeout for reading a response proxy_read_timeout 600; proxy_connect_timeout 600; proxy_send_timeout 600; }
Best regards, Juan
The text was updated successfully, but these errors were encountered:
loading a lot of bookmarks
(This may be similar to #1854, optional timeout settings should probably be documented in https://shaarli.readthedocs.io/en/master/Reverse-proxy/)
Sorry, something went wrong.
Hi!
doc: troubleshooting: add note to adjust proxy timeouts or PHP max ex…
bbaddef
…ecution time if encountering timeouts - fixes shaarli#1910 - fixes shaarli#1854
a9acad9
Thanks for letting us know. I've added a hint that reverse proxy timeout settings might need to be adjusted for long-lasting operations (like importing a lot of bookmarks) in https://github.com/shaarli/Shaarli/pull/1938/files. Feel free to send a patch to improve the nginx-specific documentation in https://github.com/shaarli/Shaarli/blob/master/doc/md/Reverse-proxy.md#nginx.
By the way 200 bookmarks is not that many. By chance, is this on low-powered hardware/ARM board? That would explain why you're hitting the timeout.
Successfully merging a pull request may close this issue.
Hello,
I have detected a lack of configuration in nginx.
When loading a lot of bookmarks, nginx stops responding and plays error:
504 Gateway Timeout
.I have solved it by adding inside the
server
in the file/etc/nginx/nginx.conf
:Best regards, Juan
The text was updated successfully, but these errors were encountered: