Skip to content

Conversation

@eumel8
Copy link

@eumel8 eumel8 commented May 5, 2025

fixes: #58

I want to make fastcgi_read_timeout in Nginx configurable, so the user can set another value to prevent connection timeouts between Nginx and PHP.

background: I tried Wallabag and started to use the import function with a 1400 bookmark Json file from Firefox. What I've read so far, Wallabag was never build and tested for that use case, unfortunatelly I have it. With increase the timeout in Nginx and the Memory limit in PHP it works at the end.
Wallabag is running on Kubernetes cluster, the Ingress has proxy timeout parameter set. The web page returns Error 500 after a while, but when you follow the prod.log Wallabag proceed the bookmarks further in the background. Great!

eumel8 added 3 commits May 5, 2025 15:48
make `fastcgi_read_timeout` in nginx configurable to increase stream connection while import POST requests

Signed-off-by: Frank Kloeker <[email protected]>
@ccoenen
Copy link

ccoenen commented May 23, 2025

This config has brought me slightly closer to importing all my entries. I set mine to a ridiculous 3000s and I was able to exceed the ~6500 entries I could import without it. With this change I went to 8500 imported entries. I should note that somewhere else in nginx some timeout occurred (but the redis importers kept running for a good while after that).

I have used pocket since 2009 and have 32.000 items in there. I hope I can keep them.

@j0k3r j0k3r requested a review from Kdecherf May 23, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

504 Gateway Time-out on pocket import

2 participants