V
V
vgrichina2011-01-26 01:07:19
Nginx
vgrichina, 2011-01-26 01:07:19

Nginx + Passenger truncates responses to requests (attached files in Redmine)

Large attached files are not returned completely, such an error pops up:

[ pid=11234 thr=3070954384 file=ext/nginx/HelperAgent.cpp:568 time=2010-11-23 16:05:29.414 ]: Couldn't forward the HTTP response back to the HTTP client: It seems the user clicked on the 'Stop' button in his browser.

Everything is configured like this:
1. There is a separate Nginx on which Passenger is enabled and Redmine is spinning.
2. There is a main Nginx configured as a reverse proxy to redmine.

Who knows what could be the matter?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
equand, 2011-01-26
@equand

Try it in the nginx settings (by the way, why did you spawn entities if it's not a secret? You can do everything in one...)
In http
client_max_body_size 128M;
client_body_buffer_size 4096k;
after proxy_pass
proxy_read_timeout 3600;
proxy_send_timeout 3600;
Customize as you like.

V
vgrichina, 2011-01-26
@vgrichina

They spawned because one was under the root (I don’t remember why under the root, I think we need to get rid of this too), and the other under the user needed for redmine.
Thanks for the info, I'll try it and let you know.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question