Can not open or download any attachment

Added by Roman Fesenko about 1 year ago


rails --version
Rails 5.1.1

redmine-3.3.3]# RAILS_ENV=production bin/about

sh: hg: command not found
sh: cvs: command not found
sh: bzr: command not found
Redmine version 3.3.3.stable
Ruby version 2.2.3-p173 (2015-08-18) [x86_64-linux]
Rails version
Environment production
Database adapter Mysql2
Subversion 1.7.14
Darcs 2.8.4
Redmine plugins:
redmine_app__space 1.0.4
redmine_timesheet_plugin 0.7.0

OS: Centos 7
[root@mail fes]# uname -a
Linux .... 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan 25 22:07:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

So, the problem is that:...

I have installed Redmine 3.3.3.
When I try to open task attachment a "Zero sized reply" error I get while working through the Squid proxy-server (Screenshot is in attachment).
When I connect to the Redmine directly - I have an error "Connection was broken"

In the Redmine log-file I can see this:

Started GET "/attachments/download/6/Screen3.png" for <My IP> at 2017-07-08 09:52:57 -0400
Processing by AttachmentsController#download as HTML
Parameters: {"id"=>"6", "filename"=>"Screen3.png"}
Current user: admin (id=1)
Sent file /opt/redmine-3.3.3/files/2017/06/170626101016_Screen3.png (0.1ms)
Completed 200 OK in 10ms (ActiveRecord: 2.1ms)

Have anybody faced and solved such issue?